This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Linking with .LIB files
- To: David_W_Palmer at ccm dot jf dot intel dot com
- Subject: Re: Linking with .LIB files
- From: Nick Ing-Simmons <nik at tiuk dot ti dot com>
- Date: Wed, 26 Mar 1997 08:54:59 GMT
- Cc: gnu-win32 at cygnus dot com
- Organization: via, but not speaking for : Texas Instruments Ltd.
- References: <Tue, 25 Mar 97 11:48:14 PST_6@ccm.jf.intel.com>
David W Palmer <David_W_Palmer@ccm.jf.intel.com> writes:
>
> link simple.o libuser32.a glu32.lib opengl32.lib libgdi32.a
> /subsystem:windows /machine:i386
>
> And of course, I get the following:
>
> Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
> Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
>
> LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
> simple.exe : fatal error LNK1120: 1 unresolved externals
> make: *** [simple.exe] Error 25
>
> No .EXE is generated. And the answer is... what?
link /entry:whatever_it_is_forGNU
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".