Problem to build a Cross-Compiler for MIPS on X-86 machine

Mohammad Qayum maqayum@gmail.com
Sun Feb 7 14:10:00 GMT 2010


Thanks Jie. The problem was with mips-elf-ar PATH and solved.

Qayum

On Sun, Feb 7, 2010 at 3:30 AM, Jie Zhang <jzhang918@gmail.com> wrote:
> On Sun, Feb 7, 2010 at 5:11 PM, Mohammad Qayum <maqayum@gmail.com> wrote:
>> Hi all,
>>
>> I am trying to build a Cross-compiler for MIPS on a x-86 linux
>> machine. I built binutils-1.16.1 first and then tried to compile GCC.
>> I tried several versions of GCC(4.4.0, 3.4.6, 3.44) to compile and
>> using following commands:
>> ../gcc-3.4.4/configure --target=$TARGET --prefix=$PREFIX \
>>  --enable-languages=c --without-headers \
>>  --with-gnu-ld --with-gnu-as \
>>  --disable-shared --disable-threads
>> make all
>> where target is mips-elf. I am getting same error always while make.
>> Can somebody give me a solution.
>>
> Check if mips-elf-ar was built and installed correctly. Check if it's
> in $PATH. And binutils-1.16.1 is too old. Why not use the latest
> release?
>
>
> Jie
>



More information about the Gcc-help mailing list