|
|
-bash-3.00$ ../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 -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Configure通不过,主系统GCC版本为3.4.2.是GCC版本引起的么?
如果要安装GCC3.3.1,该怎么先卸载GCC3.4.2呢?另外,有没有兄弟在Fedora3上通过的? |
|