This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
_write, _read replacement
- From: rekisum at web dot de
- To: newlib at sources dot redhat dot com
- Date: Tue, 10 Jan 2006 16:57:40 +0100
- Subject: _write, _read replacement
Hi,
searching this list, I found I have do replace _read and _write
from syscalls.c with my own implementation to get printf to work on my chip.
So do I have to rebuild the whole library or how to replace this functions?
In syscalls.c these functions are not labeled with attribute 'weak' so
overwriting with linker doesn't work.
A complete rebuild under Windows seems quite complicated.
Regards,
Joerg
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193