delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/31/20:45:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A232776.6040300@gmail.com>
Date: Mon, 01 Jun 2009 01:57:26 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
References: <53624 DOT 52854 DOT qm AT web25008 DOT mail DOT ukl DOT yahoo DOT com> <20090531225740 DOT GA6358 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20090531225740.GA6358@ednor.casa.cgf.cx>
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

Christopher Faylor wrote:

> This isn't a Cygwin-specific thing.  That's the way Windows works.
> Order is dependent here for the same reason that you can't do:
> 
> gcc -Lfoo program-that-uses-foo.o
> 
> on Windows.

  I'm at least a little bit surprised.  My first thought was "Calling
LoadLibrary pulls in all dependent DLLs for you automatically".  (But I didn't
stop to figure out how that works with import libs yet.)

    cheers,
      DaveK

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