Problems compiling GCC-3.3.1 - Pass 1, LFS 5.0, (Mandrake 9.1 Host)

Bryan K. Walton zxcvbnm at tds.net
Sat Apr 10 17:05:46 PDT 2004


Hi everybody,
	I am trying to build LFS 5.0 on a Dell Latitude laptop
currently running Mandrake 9.1.  I was able to build binutils 2.14,
pass 1, without difficulty.  I am following the LFS 5.0 instructions
exactly as they are written.  However, gcc-3.3.1, pass 1, won't
compile for me and has failed twice.  I have verified that I have all
of the dependencies listed for GCC installed on the host system.  And
I am not using any optimizations.  Here is a snippet of my error:

make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3.1/gcc
-I../../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config
-I../../gcc-3.3.1/gcc/../include ../../gcc-3.3.1/gcc/gengenrtl.c -o gengenrtl.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-DHAVE_CONFIG_H -DGENERATOR_FILE -static -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
/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 `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


Any ideas?

Thank you!!!
Bryan Walton



More information about the lfs-support mailing list