mips-unknown-elf, newlib

Torsten Mohr tmohr@s.netic.de
Mon Jun 9 17:30:00 GMT 2003


Hi,

i'd like to build gcc-3.3 as a cross compiler for
target mips-unknown-elf.

I did (--target=mips-unknown-elf, --prefix=/opt/mips-unknown-elf)

binutils-2.13.2 (configure, make, make install)
gcc-3.3  (configure --with-gnu-as --enable-languages=c, make, install)
newlib-1.11.0 (configure, make, make install)
gcc-3.3:
  create a link named newlib in gcc to point to newlib-1.11.0
  configure --with-newlib --with-gnu-as --enable-sjlj-exceptions
    --enable-languages=c,c++
  make -> ERRORS

g++ builds fine, but can't compile conftest.c, there are always
several symbols missing, like hw_fail_hook.

I tried several versions of gcc (3.3, 3.2.1) and several
versions of newlib (1.11.0, 1.10.0), but there are always
symbols missing (always different ones!).

Is there a combination that is known to work?

Is there anything i can do to make gcc compile?


Best regards,
Torsten.



More information about the Gcc-help mailing list