|
|
按手册上选择configure选项,make提示:
make[2]: Entering directory `/mnt/lfs/usr/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 -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/../include /mnt/lfs/usr/sources/gcc-3.4.3/gcc/genmodes.c -o genmodes.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/../include /mnt/lfs/usr/sources/gcc-3.4.3/gcc/errors.c -o errors.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o genmodes \
genmodes.o errors.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[2]: Leaving directory `/mnt/lfs/usr/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/usr/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
请教什么地方不对? |
|