[top]Download and unpack crosstool-NG

Code:
cd ~
wget http://ymorin.is-a-geek.org/download/crosstool-ng/crosstool-ng-1.7.1.tar.bz2
tar -xjf crosstool-ng-1.7.1.tar.bz2
cd crosstool-ng-1.7.1/


[top]Configure and install crosstool-NG

Code:
./configure --prefix=$HOME/ctng
make
make install
export PATH=$PATH:$HOME/ctng/bin


[top]Create temp folder for build cross toolchains

Code:
cd ~
mkdir toolchain-build
cd toolchain-build


[top]Copy config files for ARM

I use sample config for iPhone, but with uClibc
Code:
cp ../ctng/lib/ct-ng-1.7.1/samples/arm-iphone-linux-gnueabi/* .
mv crosstool.config .config
cp ../ctng/lib/ct-ng-1.7.1/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.2.config .


[top]Configure cross toolchains

Code:
ct-ng menuconfig
Paths and misc options -> Prifix directory -> '/opt/ctng'
Toolchains options -> Tuple's vendor string -> 'spica'
C-library -> C library -> uClibc
C-library -> uClibc version -> 0.9.30.2
C-library -> Configuration file -> '${HOME}/toolchain-build/uClibc-0.9.30.2.config'


Code:
ct-ng build.4
waiting...



Bookmarks

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments