This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Just to add to this, I compiled the exact same program on b17.1 on Win95 and got a smooth compiled binary that run : C:\tmp>gcc test.c test.c: In function `main': test.c:5: warning: return type of `main' is not `int' C:\tmp>a Hello world!! Current time = 864984734.359000 s (I had to eventually revert back to b17.1 as gcc ran way too slowly on my project and the resulting binary doesn't even run.) Chin Chee-Kai Internet Email: cheekai@singapore.sterling.com Sterling Software Asia Pacific Group Tel: (65)-732-9996 Fax: (65)-733-4358 -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3i mQCNAzNQdfYAAAEEAOYCoROPNxjmfykpxfzCSzdZ9lHAiIIu2pwFjAtOxqXsgvq1 ZtBDjzDHl4ttFUSAjYHqRYaJ0P123ST0Tzt7YpKWjXf+tetcSGv45LX8JJDn25je WWFI8dM02dkfPaM8rWxyGcNKr6O6Nkois6Kjs02P/d3pSQ+aRESCVVXqJEytAAUX tCFDaGluIENoZWUtS2FpIDxjaGVla2FpQGdlbi5jby5qcD6JAJUDBRAzUHX2RIJV VeokTK0BAdEHBACSFXwEksBagVvmJp+wo6K5qrmCcTJUKaWqSnkjnHTcvNIy8VZ9 is50VHuCLcexul2YjqzAKFgLmCnnXNxKw4FPphgwLTxVlp5rQ+AzxxGSv/GInlCm rEzuQqIfkrmPTv2jIRSW3BO8DT7J+MpwJtflw/phCmJZH//cW0MbZ0/0NA== =cpCR -----END PGP PUBLIC KEY BLOCK----- On Thu, 29 May 1997, Lim Chu Cheow wrote: > Hi, > I just installed b18, and compiled a simple program > (given below). Compilation went through, but the > execution received some exception and died. Am I > missing something? Thanks in advance for any advice. > > ============ > #include <stdio.h> > #include <sys/time.h> > > void main(void) > { > struct timeval tp; > > fprintf(stdout,"Hello world!!\n"); > gettimeofday(&tp); > fprintf(stdout,"Current time = %lf s\n", > ((double)tp.tv_sec+tp.tv_usec*1.0e-6)); > } > > ============== > - Chu-Cheow > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |