From subsecret
Jump to: navigation, search

zlib

tar xf zlib-1.2.8.tar.gz 
cd zlib-1.2.8

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.23.2.tar.gz 
cd binutils-2.23.2
./configure --with-build-sysroot=/tools --prefix=/tools
make -j 8
make install
cd ..

We are now ready for next step