This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

=?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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]