On Sun, Feb 7, 2010 at 5:11 PM, Mohammad Qayum <maqayum@xxxxxxxxx> 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