This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 01 Jun 2009 01:57:26 +0100
- 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>
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/