|
|
发表于 2005-4-20 10:18:52
|
显示全部楼层
使用emerge glibc成功,但是再编译其他软件时出现如下错误
checking whether the C compiler (gcc -march=pentium4 -O2 -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
!!! ERROR: sys-devel/gcc-4.0.0_beta20050416 failed.
!!! Function gcc_do_configure, Line 1048, Exitcode 1
!!! failed to run configure
!!! If you need support, post the topmost build error, NOT this status message.
[PHP]parrot ~ #gcc tt.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../libc.so:5: syntax error
collect2: ld returned 1 exit status
parrot ~ # gcc tt.c -c -o tt.o
parrot ~ # ld tt.o
parrot ~ # ld tt.o
ld: warning: cannot find entry symbol _start; defaulting to 00000000080480b4[/PHP] |
|