From subsecret
Jump to: navigation, search

zlib

tar xf zlib-1.2.7.tar.gz 
cd zlib-1.2.7

Edit configure and replace "shared=0" with "shared=1" near the place where the following is written: "echo No shared library support."

./configure --prefix=/tools
make
make install
cd ..

binutils

tar xf binutils-2.21.tar.gz 
cd binutils-2.21
./configure --with-build-sysroot=/tools --prefix=/tools
make -j 12
make install
cd ..

We are now ready for next step