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]

Problem with libcygwin


I am new to gcc under win95 and I have a problem when linking:
gcc   -o test ptest.o libtest.a 
D:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libcygwin.a(libcmain.o):
In function `main':
/pizza/mushroom/noer/beta17/src/winsup/libcmain.cc:30: undefined
reference to `WinMain@16'

the library libtest.a is built without problems; what is this WinMain?
thanks for any help

Hubert
hubert.fauque@wanadoo.fr



-
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]