How does newlib support ARM

J. Johnston jjohnstn@cygnus.com
Mon Jul 30 13:03:00 GMT 2001


Chen Yang wrote:
> 
> I'm building newlib for ARM under cygwin.
> In the lib/sys/arm/syscall.c,I can see two
> conditional compiler switch:
> #ifdef ARM_RDI_MONITOR
> or else.
>  With newlib,the application uses
> ARM_RDI_MONITOR,the whole
> thing is done by
>   do_AngelSWI .
>  all the functions such as open,close,exit are
> inplemented by do_AngelSWI,
> But in Linux,this should be done by syscalls:
>  such as "swi syscall_no".
> How is it done?
> Thanks.

Newlib does not currently support an arm-linux configuration.  The only linux configuration
currently supported is i[3456]86-pc-linux-gnu which does use linux syscalls as you would expect.

-- Jeff J.



More information about the Newlib mailing list