I get to this point and I am stuck.
I am compiling gcc-3.3.3 in the directory /lfs/gcc-build/gcc-3.3.3. This works fine:
in the /lfs/gcc-build-gcc-3.3.3 directory......
./configure --prefix=/tools \
--with-local-prefix=/tools \
--disable-nls --enable-shared \
--enable-languages=c
It seems to be fine, here are the last several lines:
Links are now set up to build a native compiler for i686-pc-linux-gnu
updating cache ../config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating fixinc/Makefile
creating gccbug
creating mklibgcc
creating mkheaders
creating auto-host.h
This is where I have my problems.
bash-2.05b$ make BOOT_LDFLAGS="-static" bootstrap
The last few lines are:
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/lfs/gcc-build/gcc-3.3.3/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/lfs/gcc-build/gcc-3.3.3/gcc'
make: *** [bootstrap] Error 2
I am stuck.
Also the instructions tell me to do this"../gcc-3.3.3/configure --prefix=/tools \"
What I do instead is cd into the directory and ./configure. Is this wrong?
Thanks
Webwolf LFS
