delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/25/03:16:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Trace: 111821814/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.66.11.8/None/johne53 AT tiscali DOT co DOT uk
X-SBRS: None
X-RemoteIP: 79.66.11.8
X-IP-MAIL-FROM: johne53 AT tiscali DOT co DOT uk
X-MUA: Microsoft Outlook Express 6.00.2900.2180Produced By Microsoft MimeOLE V6.00.2900.2180
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEAB9CK0lPQgsI/2dsb2JhbACEElnMWoJ8
X-IronPort-AV: E=Sophos;i="4.33,663,1220223600"; d="scan'208";a="111821814"
Message-ID: <00d101c94ed5$e8c7d260$4001a8c0@mycomputer>
From: "John Emmas" <johne53 AT tiscali DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
References: <003a01c94e17$0d87fcc0$4001a8c0 AT mycomputer> <492AA69C DOT 2030806 AT byu DOT net> <001401c94e3d$18093d00$4001a8c0 AT mycomputer> <003601c94e3f$39a6aae0$4001a8c0 AT mycomputer> <492AE38C DOT 4060201 AT users DOT sourceforge DOT net> <492AF8F1 DOT 872411D4 AT dessent DOT net>
Subject: Re: [OT] Re: Opening a (cygwin-ised) DLL
Date: Tue, 25 Nov 2008 08:14:59 -0000
MIME-Version: 1.0
X-IsSubscribed: yes
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

----- Original Message ----- 
Sent: 24 November 2008 18:56
Subject: Re: [OT] Re: Opening a (cygwin-ised) DLL
>> 
>> "Yaakov (Cygwin Ports)" wrote:
>> 
>> 
>> 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.
>>

From: "Brian Dessent"
> 
> It's not only kernel32:
> 
> [...]
> 
> This means that by default -luser32 -lkernel32 -ladvapi32 -lshell32 are
> added to every link, as well as -lgdi32 -lcomdlg32 if using -mwindows.
> 
> Brian
> 
Thanks for the info guys.

John

--
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