Problem with Gcc (LFS Chapter 5)

Bernd weirdtux at freenet.de
Wed Mar 17 09:22:57 PST 2004


When I execute the command make "BOOT_LDFLAGS="-static" bootstrap" I get 
the following Error:

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/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc'
make: *** [bootstrap] Error 2

Can somebody help me plz?




More information about the lfs-support mailing list