This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Linking under cygwin32
- To: help-gcc at gnu dot org
- Subject: Linking under cygwin32
- From: Adam Lundqvist <alundqvi at rcs dot sel dot de>
- Date: Tue, 26 Oct 1999 16:19:21 +0200
- Newsgroups: gnu.gcc.help
- Organization: Alcatel SEL AG
- Reply-To: alundqvi at rcs dot sel dot de
- Xref: wodc7nx0 gnu.gcc.help:1590
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