This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Linking under cygwin32


Hello

I have recently installed cygwin under Win 95B, it works quite alright
but I have one important problem which I cant solve:

When I try to compile a file with gcc on a network drive it doesnt
work... gcc starts compiling but when he gets to linking the objects I
get an error message like

BASH.EXE-2.02$ gcc HELLO.C
\cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\

..\..\i586-cygwin32\lib/libcygwin.a(libcmain.o): In function `main':
/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
reference to
 `WinMain@16'
collect2: ld returned 1 exit status
BASH.EXE-2.02$

Does anybody know whats wrong? Or even better, can anybody help me?
Adam


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