delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/24/12:26:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <492AE38C.4060201@users.sourceforge.net>
Date: Mon, 24 Nov 2008 11:25:32 -0600
From: "Yaakov (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [OT] Re: Opening a (cygwin-ised) DLL
References: <003a01c94e17$0d87fcc0$4001a8c0 AT mycomputer> <492AA69C DOT 2030806 AT byu DOT net> <001401c94e3d$18093d00$4001a8c0 AT mycomputer> <003601c94e3f$39a6aae0$4001a8c0 AT mycomputer>
In-Reply-To: <003601c94e3f$39a6aae0$4001a8c0@mycomputer>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

John Emmas wrote:
> Oops, I meant to ask another question (almost a variation on the same
> theme).  Does Cygwin itself (or more correctly, its linker) link
> automatically to any of the standard Windows libs (such as kernel32.lib,
> user32.lib etc).

kernel32 is added by default because libcygwin.a depends on it.  If you
pass -mwindows to gcc during linking, then gdi32 is added as well.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkq44wACgkQpiWmPGlmQSP/mACfd9ErbZHtvxmqghR0VNsly0iA
2CIAoPjbQKlJk8vbuhUGsyznqpKPRJPN
=lv0f
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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