This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Time functions in newlib
- To: "Cliff Tsai" <clifftsai at axisoft dot com>, <newlib at sources dot redhat dot com>, "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Subject: Re: Time functions in newlib
- From: "Lewin A.R.W. Edwards" <ledwards at digi-frame dot com>
- Date: Wed, 11 Jul 2001 14:32:04 -0400
- References: <4.3.2.7.2.20010710171141.059f1e58@pop.registeredsite.com>
Hi Cliff,
> > I'm working with a custom ARM7 platform, and I'm basically linking with
> > newlib only to get access to a few math functions that are inserted
> > * time-based functions, e.g. clock()? Is there a global tick count
>variable
> > I can just increment in an ISR?
>
>For clock(),you need a libgloss function:times(),
>That is dependent on your hardware.
Libgloss isn't supported on arm-unknown-elf, or at least the newlib
configure script tells me it isn't.
> > functions. How do I tell newlib where its heap begins and ends? (In my
>
>Specify the heap begin and end in the linker script,
Er, but what are the names of the symbols? :)
I guess I will spend some time this weekend reading the sources. Thanks for
your response..
-- 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/