lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I built a cross-compiler using binutils, gcc, and newlib
<http://sources.redhat.com/newlib/>, and then used it to compile the
lua program.  The program fails to link because it refers to the
time(2) library call.  This call is obsoleted by gettimeofday(2).  Why
not use it instead of time(2)?  Are there environments in which time
is available, but not gettimeofday?

John