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: Problem to build a Cross-Compiler for MIPS on X-86 machine


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


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