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

gettimeofday on cris-1.25 distribution



I get the following messages when I try to build a program containing a call
to gettimeofday:

Build:
/usr/local/cris/cris-gcc -o clocktest_cris clocktest.c
/usr/local/cris/lib/gcc-lib/cris/2.96/libc.a(sysgettod.o): In function
`gettimeofday':
/usr/src/redhat/BUILD/cris-dist-1.25/./gnu-toplev/newlib/libc/syscalls/sysge
ttod.c:20: warning: _gettimeofday is not implemented and will always fail

Program:
#include <sys/time.h>
int main(int argc, char** argv) {
  struct timeval tv;
  int res = gettimeofday(&tv, NULL);
  return 0;
}

I am using 'cris-dist-1.25-1.i386.rpm' from your download page. I think I
might miss some assumption you make regarding the build process. Could you
please help me out.

/Mathias