Build your own toolchian for AllWinner A10

i686 GNU/Linux, Ubuntu 10.04.4 LTS Lucid

You can easily install Linaro arm cross-compiler on Ubuntu as follows:
sudo apt-get install gcc-arm-linux-gnueabihf
download it from

Install the build dependencies:
* sudo apt-get build-dep gcc binutils gdb
* sudo apt-get install lsb lsb-build-cc3 lsb-appchk3 ccache
* sudo apt-get install gcc-mingw32 gcc-4.1 g++-4.1 gcc-4.1-multilib g++-4.1-multilib
* sudo apt-get install texlive flip

Build Linaro
Get source crosstool-NG linaro
wget -c
wget -c
mkdir -p build-linaro; cd build-linaro
tar xvf crosstool-ng-linaro-1.13.1-2012.07-20120720.tar.bz2
tar xvf gcc-linaro-arm-linux-gnueabihf-2012.07-20120720_src.tar.bz2

cd crosstool-ng-linaro-1.13.1-2012.07-20120720
ln -sf ../gcc-linaro-arm-linux-gnueabihf-2012.07-20120720_src tarballs
make -f contrib/linaro/

Should be work, still building …

To be continue …


About xlcwu

Self-employed (One-man Company), Developer/Chief Designer/Consultant, Embedded Linux/NAS/Storage/Platform/Devices, Xcode/Cocos2D/Cocoa/Objective-C, at Joe’s Lab – Newland ESP (TM).
This entry was posted in Embedded, Linux, Ubuntu and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s