delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/27/17:06:47

From: drs AT inxpress DOT net (DRS)
Subject: Linker switches [ was: Re: API's that certainly do work. ]
27 Mar 1997 17:06:47 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <333AF0CD.4D7C.cygnus.gnu-win32@inxpress.net>
References: <01BC39EE DOT 1D621C60 AT gbird0>
Reply-To: drs AT inxpress DOT net
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (Win95; I)
Original-To: Colin Peters <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp>
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Colin Peters wrote:

> To summarize the summary: Don't link with -lkernel32 on your command
> line.

I guess my question is, why would you want to do this anyway? I have
been using -mwindows, which I thought was the recommended linker 
switch for compiling a GUI app. I don't claim to know anything 
about ld, except that it works for all the examples I have tried.

I have been unable to find any documentation about the
linker switch in question (-lkernel32) except that it appears 
to be mentioned in earlier versions of the distribution. 
If someone wants to explain the in's and outs of these 
various (win32 specific) switches and how they are supposed 
to work, I'm all ears. Do doubt this information would be 
of general interest.

Regards,
DRS
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019