This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
=?gb2312?B?SSBjYW4ndCBidWlsZCBhIG5ld2xpYiBmb3IgbWlwcy10eDM5LWVsZiB0YXJnZXQ=?=
- From: mmxlee at 263 dot net
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 20 Jul 2002 14:34:33 +0800 (CST)
- Subject: =?gb2312?B?SSBjYW4ndCBidWlsZCBhIG5ld2xpYiBmb3IgbWlwcy10eDM5LWVsZiB0YXJnZXQ=?=
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