Building a Toolchain with Busybox and uClibc

From wiki.network-crawler.de
Jump to: navigation, search

Make sure to have Subversion installed.

First we have to download buildroot to easily build our toolchain:

svn co svn://uclibc.org/trunk/buildroot

At the time i did this the actual version was:

Checked out revision 16306.

In this version Busybox is included. After you have downloaded the files, cd in the buildroot directory and run make. You will get a nice menuconfig. make your choices and run make again. Thats it!

To use your new toolchain you could do:

export PATH=$PATH:/toolchains/uclibc/buildroot/build_i386/staging_dir/bin

Or whatever your path is. to compile s.th. just run gcc like this:

i386-linux-uclibc-gcc