Cross compiler for MIPS on x86 Linux

Cross compiler for MIPS on x86 Linux

Post by B. Joshua Rose » Wed, 05 Jul 2000 04:00:00



I'm trying to build a cross compiler for an embedded MIPS R3000 on a
RedHat 6.2 system.
Myc configure line was

../gcc-2.95.2/configure mips-elf --prefix=/alt/tmp/mips_gcc
--enable-languages=c

I'm getting the following error:

/usr/bin/ld: cannot find -lmld
collect2: ld returned 1 exit status
make[1]: *** [cccp] Error 1
make[1]: Leaving directory `/alt/tmp/gcc/gcc'
make: *** [all-gcc] Error 2

What's lmld and where can I find it?

Thanks

Josh

 
 
 

Cross compiler for MIPS on x86 Linux

Post by Andreas Jaege » Thu, 06 Jul 2000 04:00:00


Quote:>>>>> B Joshua Rosen writes:

 > I'm trying to build a cross compiler for an embedded MIPS R3000 on a
 > RedHat 6.2 system.
 > Myc configure line was

 > ../gcc-2.95.2/configure mips-elf --prefix=/alt/tmp/mips_gcc
 > --enable-languages=c

Use --target=mips-elf instead of just mips-elf.  The INSTALL document
describes how to setup a cross compiler.

Andreas

 > I'm getting the following error:

 > /usr/bin/ld: cannot find -lmld
 > collect2: ld returned 1 exit status
 > make[1]: *** [cccp] Error 1
 > make[1]: Leaving directory `/alt/tmp/gcc/gcc'
 > make: *** [all-gcc] Error 2

 > What's lmld and where can I find it?

 > Thanks

 > Josh

--
 Andreas Jaeger