[Barrelfish-users] gettimeofday
Zeus Gómez Marmolejo
zeus.gomez at bsc.es
Mon Mar 12 23:06:56 CET 2012
Yes, in my case I have to always remove the _exit.c file from posixcompat
in order to not get name clashes when linking...
2012/3/12 Kornilios Kourtis <kornilios.kourtis at inf.ethz.ch>
> Hi Georgios,
>
> On Mon, Mar 12, 2012 at 01:11:32PM +0000, Georgios Varisteas wrote:
> > I have a benchmark ported which uses the gettimeofday system call. In
> > the new library that translates to _gettimeofday_r() which in turn
> > calls _gettimeofday()
> > (lib/newlib/newlib/libc/reent/gettimeofdayr.c:71). The first problem is
> > that gettimeofdayr.c is excluded from the corresponding library
> > (reent). The real problem is that I can't find any implementation to
> > that last function call (_gettimeofday). Clues? Is there a doc anywhere
> > of this and other common calls that are not yet implemented in the new
> > library?
>
> There is a bit of overlap between posixcompat and newlib. We didn't want
> to introduce a dependency of newlib to posixcompat, so we excluded things
> like gettimeofday() from newlib. You should be able to use the
> gettimeofday() that is provided by posixcompat instead.
>
> cheers,
> Kornilios.
>
> --
> Kornilios Kourtis
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
--
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120312/a7d724d0/attachment.html
More information about the Barrelfish-users
mailing list