Thanks Ian!!
You were right. I was missing the --build option ...
~e
On Jul 7, 2008, at 3:16 PM, Ian Lance Taylor wrote:
Erik Peterson <epeterson@xxxxxxxxxx> writes:
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
It may or may not help to add "--build=i686-pc-linux-gnu".
What is genmodes
It reads the files mode-classes.def and machmodes.def and generates
the files insn-modes.c, insn-modes.h, and min-insn-modes.c. The
latter files are then compiled into gcc itself.
and should it be cross compiled?
No. It should be compiled to run on the build system.
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?
It's fairly unlikely to do the right thing.
Ian