|
|
执行完
$../gcc-3.3.1/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 /mnt/lfs/sources/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 -02 conftest.c' failed.
***You must set the environment variable CC to a working compiler.
$
请问是怎么回事?往下我该怎么办? |
|