This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to link "gettimeofday" with arm-elf-gcc?
> I got an error that linker cannot find "gettimeofday" as follows:
gettimeofday was added the posix only recently, so eCos does not yet
implement it as part of libc.
Either use ctime(time()) or include the snmp stack which does have
gettimeofday().
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss