tags:

views:

14

answers:

0

Hello,
My goal is to create a cross compiler (mipsel-soclib-lol), and it's something completly new to me. (I'm following this tutorial: http://www.soclib.fr/trac/dev/wiki/CrossCompiler) So first I have to install few things: binutils, gcc, gdb, etc.

Most of them have been installed easily, but I have a problem for the installation of gcc. When I do:

../../../src/gcc-4.5.0/configure --prefix=/home/Nono/stage/crosscompiler/ \
  --target=mipsel-unknown-elf --program-prefix=mipsel-unknown-elf- \
  --disable-nls --disable-werror --enable-languages=c --disable-libssp \
  --disable-threads --without-headers

And then:

make

After few minutes I get: "configure: error: cannot compute suffix of object files: cannot compile".
And when I check the config.log, I have lots of things including:

conftest.c error: ppl_c.h no such file or directory

And

configure:4454: checking for suffix of executables configure:4461: gcc -o conftest conftest.c >&5
configure:4465: $? = 0
configure:4487: result:
configure:4493: checking for suffix of object files configure:4515: gcc -c conftest.c >&5 configure:4519: $? = 0 configure:4540: result: o

Have you any idea how can I solve this problem? Thanks!