This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
sbrk
- To: "newlib" <newlib at sourceware dot cygnus dot com>
- Subject: sbrk
- From: "Gerwyn Davies" <gerwyn at tommoll dot freeserve dot co dot uk>
- Date: Fri, 28 Jul 2000 08:33:19 +0100
I'm having a hard time trying to get rid of the unresolved reference:-
C:\CYGNUS\GNUPRO~1\BIN\..\lib\gcc-lib\mips-tx39-elf\2.9-gnupro-98r2\..\..\..
\..\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'
After browsing through the archives for this list, I gather that I may have
to write my own sbrk(). Is this true?
If so, any suggestions what I should put in it, I've not had to do this sort
of thing before.
My target is a Toshiba TX3927 demo system.
Many thanks