X-Recipient: archive-cygwin@delorie.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.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
References: <53624.52854.qm@web25008.mail.ukl.yahoo.com> <20090531225740.GA6358@ednor.casa.cgf.cx>
In-Reply-To: <20090531225740.GA6358@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

