|
|
我编译了gcc-4.0.1完后,运行了gcc-config切换成gcc-4.0.1的编译环境,并且执行source /etc/profile,完成前述工作后成功编译了glibc-2.3.5-20050722,可是这时我想重新emerge gcc,出现错误,得到如下提示:
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -Wl,-O1) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
!!! ERROR: sys-devel/gcc-4.0.1 failed.
!!! Function gcc_do_configure, Line 1128, Exitcode 1
!!! failed to run configure
!!! If you need support, post the topmost build error, NOT this status message.
无法编译下去,编译其它软件也出现同样的错误,请问我少作了哪些步子?
切换回原来的环境也出现类似的错误,我该如何恢复?
谢谢!
:thank :thank :thank |
|