| delorie.com/archives/browse.cgi | search |
| From: | nik AT tiuk DOT ti DOT com (Nick Ing-Simmons) |
| Subject: | Re: Linking with .LIB files |
| 26 Mar 1997 14:07:04 -0800 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <199703260854.IAA22326.cygnus.gnu-win32@pluto.tiuk.ti.com> |
| References: | <Tue, 25 Mar 97 11:48:14 PST_6 AT ccm DOT jf DOT intel DOT com> |
| Original-To: | David_W_Palmer AT ccm DOT jf DOT intel DOT com |
| Original-Cc: | gnu-win32 AT cygnus DOT com |
| In-Reply-To: | <Tue, 25 Mar 97 11:48:14 PST_6@ccm.jf.intel.com> from David W |
| Palmer on Tue, 25 Mar 97 11: 46:00 PST | |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
David W Palmer <David_W_Palmer AT ccm DOT jf DOT intel DOT 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 AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |