This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How does newlib support ARM


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]