This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
mips-unknown-elf, newlib
- From: Torsten Mohr <tmohr at s dot netic dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 9 Jun 2003 19:21:46 +0200
- Subject: mips-unknown-elf, newlib
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.