newlib sw architecture vision on bare-metal

Rob Savoye rob.savoye@linaro.org
Mon Jun 10 14:54:00 GMT 2013


On 06/10/2013 02:10 AM, Riccardo Manfrin wrote:
> I'd like to call myself a newlib newbie, although I've been relying on
> newlib for some time now already. Anyhow, after having googled around
> for undefined references to _exit, _kill, _getpid and _sbrk and having
> found the most bizarre answers to these kind of issues, I realized
> that I'm probably not understanding very well the software
> architecture that newlib is supposed to be framed within.
  Usually these functions exist in the Board Support Package (BSP),
which for Newlib is 'libgloss'. That should be in the same source tree.
Someplace on the net there is a doc on porting libgloss, but there are
plenty of existing code examples as well.

    - rob -



More information about the Newlib mailing list