This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: mipsel-gcc configuration question
- From: Kai Ruottu <kai dot ruottu at wippies dot com>
- To: Kövesdi György <kgy at deverto dot hu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Mar 2009 14:08:45 +0200
- Subject: Re: mipsel-gcc configuration question
- References: <200903101616.33928.kgy@deverto.hu>
Kövesdi György wrote:
> Configured with: ../gcc-3.4.6/configure --build=i386-pc-linux-gnu
> --host=mipsel-linux-uclibc --target=mipsel-linux-uclibc
> --prefix=/opt --disable-nls --disable-static
>
/opt/bin/ld: crt1.o: No such file: No such file or directory
In verbose mode I see that the crt1.o is passed without full path to collect2
(the output is attached), and probably that's why it is not found.
The crt1.o is installed at /opt/mipsel-linux/lib/crt1.o. I tried to put it in
other common places (/usr/lib, /usr/local/lib), but it didn't help.
Your configure options were :
--target=mipsel-linux-uclibc --prefix=/opt
So how on earth you calculated your $tooldir aka $prefix/$target
being the '/opt/mipsel-linux' ? Of course your custom 'crt1.o'
should be seen in '/opt/mipsel-linux-uclibc/lib' !