How to use newlib with gcc
Petar Penchev
ptr@melexis.com
Thu Jun 3 11:49:00 GMT 2004
On Thu, 3 Jun 2004 12:25:12 +0100, Jon Beniston <jon@beniston.com> wrote:
>
>> the command I am using is:
>>
>> abc-gcc sample1.c -lc -lgcc
>
> The functions you are missing (_write etc) are provided in libgloss.
> Have a look in newlib/libgloss/yourplatform.
>
> Cheers,
> JonB
>
>
There is a file named syscals.c where theese function are defined. Actialy
the organization of
look in newlib/libgloss/yourplatform is the same as m68hc11. My port is
based on it.
Am am supposed to split syscalls.c to different .c files for each function
?
Regards
Petar Penchev
More information about the Newlib
mailing list