This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mipsel-gcc configuration question


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' !


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]