Hello,
I am currently attempting to cross compile gcc-4.2.2 for mips64-octeon-
linux-gnu on an i686 linux box. The cross compiler I am using is :
mips64-octeon-linux-gnu-gcc (GCC) 4.1.2 (Cavium Networks Version:
1_7_2, build 50)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
I would like to use the resulting compiler natively on the mips
target. I have configured with the following :
../configure --host=mips64-octeon-linux-gnu --prefix=/opt/OCTEON-SDK/
mocana/tools/gcc-3.4.0/target --enable-languages=c --target=mips64-
octeon-linux-gnu
My questions are:
What is genmodes and should it be cross compiled? It looks like the
build system is trying to invoke it on the host it was cross
compiled. Is it feasible to build it myself natively and patch up the
makefile.in or am I clearly doing something wrong here?
One note: I did have to manually change some of the configure scripts
from
cross_compiling=no
to
cross_compiling=yes
Could this be a problem?
kind regards,
~erik