Re: 1.3.22: (gcc) problem using gettimeofday with -mno-cygwin

2003-03-31 Thread Shankar Unni
Rob Siklos wrote: Does anyone know if Windows provides something similar? If so, how would I access it from my program? The best thing would be to visit http://msdn.microsoft.com and read the library (the Win32 SDK). There have also been various attempts to provide "very thin" (usually partial

Re: 1.3.22: (gcc) problem using gettimeofday with -mno-cygwin

2003-03-31 Thread Rob Siklos
lor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 10:41 AM Subject: Re: 1.3.22: (gcc) problem using gettimeofday with -mno-cygwin > On Mon, Mar 31, 2003 at 10:36:40AM -0500, Rolf Campbell wrote: > >Rob Siklos wrote: > >>Hello,

Re: 1.3.22: (gcc) problem using gettimeofday with -mno-cygwin

2003-03-31 Thread Christopher Faylor
On Mon, Mar 31, 2003 at 10:36:40AM -0500, Rolf Campbell wrote: >Rob Siklos wrote: >>Hello, >> >>I am trying to compile the following trivial program: >> >> >>#include >>#include >> >>int main() >>{ >> struct timeval tv; >> gettimeofday(&tv, NULL) ; >> printf("%ld %ld\n", tv.tv_sec, tv.tv_u

Re: 1.3.22: (gcc) problem using gettimeofday with -mno-cygwin

2003-03-31 Thread Rolf Campbell
Rob Siklos wrote: Hello, I am trying to compile the following trivial program: #include #include int main() { struct timeval tv; gettimeofday(&tv, NULL) ; printf("%ld %ld\n", tv.tv_sec, tv.tv_usec); return 0; } When I use gcc with no options, everything works fine. Howeve