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: Time functions in newlib


Hi Jeff,

> > >For clock(),you need a libgloss function:times(),
> >
> > Libgloss isn't supported on arm-unknown-elf, or at least the newlib
>
>will find the syscalls defined in newlib/libc/sys/arm/syscalls.c.  There 
>is an _times routine
>supplied which uses an SWI call.

Splendid!! Thanks a lot for this information, saved me considerable 
tracking down. Looks like I will have to modify that sbrk a bit, because my 
stack lives in a different section of RAM, which actually lies below the 
end of BSS.


-- Lewin A.R.W. Edwards
Embedded Engineer, Digi-Frame Inc.
Work: http://www.digi-frame.com/
Tel (914) 937-4090 9am-6:30pm M-F ET
Personal: http://www.larwe.com/ http://www.zws.com/


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