Compiling differences?
Matias Bordese
bordese@hal.famaf.unc.edu.ar
Wed May 12 22:25:00 GMT 2004
I was using the setitimer function (libc 2.2.4) and according to the
options I compile with (with gcc 2.96), I got different behaviors
(besides, the binaries differ too):
gcc -o timer -Wall -ansi -pedantic timers.c
(I get the message: "Alarm clock", and the program finishes)
and
gcc -o timer2 timers.c
(I get the expected behavior)
Matias
PD.: The file is attached.
PD2.: Sorry for my poor English.
Attachment:
timers.c
Description: Text document
More information about the Gcc
mailing list