This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: How does newlib support ARM
- To: Chen Yang <sunsetyang at 8848 dot net>
- Subject: Re: How does newlib support ARM
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Mon, 30 Jul 2001 16:03:19 -0400
- CC: newlib at sources dot redhat dot com
- Organization: Red Hat Inc.
- References: <003101c11726$1c318cd0$0700a8c0@avamax.com.cn>
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.