This is the mail archive of the cygwin@cygwin.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]

Compileing under Cygwin


i just installed cygwin 1.1.8 on my Windows 98 (version 2).  
At the bash shell prompt, i tried to make
hello.exe program by following the example 4-1 in the "Cygwin user's Guide",
but got an error:
$ gcc hello.c -o hello.exe
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference
to `WinMain@16'
collect2: ld returned 1 exit status

Would you let me what is wrong with my cygwin configuration?

wayne


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]