This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
I'm getting confused about stubs...
- From: Logic Pein <logic dot pn at gmail dot com>
- To: newlib at sourceware dot org
- Date: Fri, 27 Apr 2012 15:31:52 +0800
- Subject: I'm getting confused about stubs...
- References: <CAJV+2YJtXZ-=wpM7E_nXq2V0qRfRr4828s+-d+ZoML3uFvR6iw@mail.gmail.com>
Hello everyone
? I am using newlib for the first time.The manual says I should write stubs
to implement the basic functions.What function should I write?take sbrk for
example,should I implement
caddr_t sbrk(int incr)
{ ...}
or
caddr_t _sbrk(int incr)
{...}
?I'm using Sourcery G++ for STM32 chips.
Any help would be greately appreciated.