|
|

楼主 |
发表于 2004-6-18 11:16:13
|
显示全部楼层
编译gcc-3.3.2如下的一些错误:
lfs:~/gcc-build$ ./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/lfs/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
lfs:~/gcc-build$ |
|