New in newlib and porting

Sergio hardmaker@gmail.com
Fri Jan 7 21:23:00 GMT 2011


Hi list.
I'm new in newlib and I'm trying to port newlib 1.18 to specific
hardware (embbedded without operation system).
In google I find 2 alternatives:
1) Add syscalls.c to my project with my own version of some functions
like _sbrk.
2) Use libgloss to make the port.
Before reading about 2 alternatives, I think the correct options is
the number 2. But .... where can I read how?
I'm using gcc 4.4.4 on ARM, and compile newlib with standard options
and --disable-newlib-supplied-syscalls
Other question: I have my own linker script (for my specific board and
processor) what I need to add to make
newlib work?

Thank's a lot

Sergio



More information about the Newlib mailing list