2011年4月14日 星期四

ld: crti.o: No such file: No such file or directory

ld: crti.o: No such file: No such file or directory


Re: crt1.o: No such file: No such file or directory
http://gcc.gnu.org/ml/gcc-help/2005-10/msg00125.html

Did you notice that the 'specs' for the native GCC was produced with
the crosscompiler? This is the most common reason for a cross-made
native GCC to "not work" ! So just replace the :
[root@61 tmp]# gcc -v test.c
Reading specs from /usr/bin/../lib/gcc/powerpc-405-linux-gnu/3.4.4/specs
with one produced with the new GCC on the native platform via the:
gcc -dumpspecs > specs


Re: crti.o: No such file: No such file or directory
http://www.cygwin.com/ml/crossgcc/2006-12/msg00063.html
i have pass this error when i add --disable-shared for gcc configure.

沒有留言: