This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
New in newlib and porting
- From: Sergio <hardmaker at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Fri, 7 Jan 2011 18:23:27 -0300
- Subject: New in newlib and porting
- References: <AANLkTikQL19bo=topka5scV2wuP+7vc+WzWN-PaXMb+x@mail.gmail.com>
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