I can't build a newlib for mips-tx39-elf target

mmxlee@263.net mmxlee@263.net
Sat Jul 20 08:26:00 GMT 2002


Hello,

This seems to be a old problem, I'm building tools chain for a mips-tx39-elf target.
The binutils(2.12) and bootstrap GCC(3.1) are ready done, and the newlib(1.10.0) is compiled smoothly, but when using the mips-tx39-elf-gcc to compile a simple "hello.c", I always get the following error:
\..\mips-tx39-elf\lib/libc.a(sbrkr.o): In function `_sbrk_r':
/Cygnus/gnupro98r2/build/mips-tx39-elf/newlib/libc/reent/../../../../../src/
newlib/libc/reent/sbrkr.c:61: undefined reference to `sbrk'

and some similar error with _read_r, _write_r ...

I have tried hard to get rid of it , but none worked.
I have successfully built a tools chain for ARM-ELF target with the same source files,Maybe these sources don't fit the tx39 target.I don't know.

best regards

Stewart




More information about the Gcc-help mailing list