I have built binutils 2.22.51 

../configure --target=arm-unknown-linux-gnueabi \
--prefix=/usr/local/arm-bq-reader --with-gnu-as --with-gnu-ld \
--disable-werror --disable-shared --disable-multilib

I then built the first-stage gcc cross compiler 

../configure --target=arm-unknown-linux-gnueabi \
--prefix=/usr/local/arm-bq-reader \
--disable-multilib --enable-languages="c" --disable-threads --disable-shared \
--disable-libspp --without-ppl --disable-libgomp --disable-libmudflap \
--disable-decimal-float --disable-libquadmath --with-gnu-as --with-gnu-ld \
--disable-werror 

I then linked libgcc_eh.a to libgcc.a

ln -vs libgcc.a `arm-unknown-linux-gnueabi-gcc -print-libgcc-file-name | \
    sed 's/libgcc/&_eh/'`

compiled and installed libgcc.a

make all-target-libgcc
sudo make install-target-libgcc

Set up the Linux headers and proceeded to build glibc

CC=arm-unknown-linux-gnueabi-gcc ../configure \
--host=arm-unknown-linux-gnueabi \
--prefix=/usr/local/arm-bq-reader --enable-addons --disable-profile \
--enable-kernel=2.6.21 --with-headers=/usr/local/arm-bq-reader/include \
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes

I let this run for a couple of days but no dice. gawk shows 90-100% CPU 
utilization and there are couple of gmake instances running and not doing 
anything, their time stuck at 16s or so according to top.

What am I doing wrong?

    Thanks, Joel

---
http://twitter.com/wagerlabs


Reply via email to