This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
How does newlib support ARM
- To: <newlib at sources dot redhat dot com>
- Subject: How does newlib support ARM
- From: "Chen Yang" <sunsetyang at 8848 dot net>
- Date: Sat, 28 Jul 2001 13:28:16 +0800
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.