This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: crt1.o: No such file: No such file or directory
- From: Kai Ruottu <karuottu at mbnet dot fi>
- To: Hyunwoo Park <Hyunwoo dot Park at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Oct 2005 13:32:11 +0300
- Subject: Re: crt1.o: No such file: No such file or directory
- References: <435877B6.1080904@gmail.com>
- Reply-to: karuottu at mbnet dot fi
Hyunwoo Park wrote:
Hi all.
I made cross compiler for "powerpc-405-linux-gnu" from source. and,
glibc also.
after that, I made native gcc for powerpc-405 with the cross compiler.
but, the native compiler doesn`t work... :(
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
command...
If this doesn't make it work, maybe I should look at your long
logfile:-)