http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53456
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-23 09:35:29 UTC --- For some reasons, the time() and clock() functions of POSIX do not seem to be listed at http://www-ad.fnal.gov/controls/micro_p/manuals/vxworks_application_programmers_guide_6.7.pdf and http://www-ad.fnal.gov/controls/micro_p/manuals/vxworks_kernel_api_reference_vol1_6.4.pdf Those references only list the clockLib with the POSIX functions such as clock_gettime. I wonder whether clockLib is linked by default while ansiTime (which has clock() and time() isn't)? If so, we should really think of using clockLib and, thus, clock_gettime.