R: [1.7] does LD_PRELOAD support more than 1 dll ?

Dave Korn dave.korn.cygwin@googlemail.com
Mon Jun 1 00:45:00 GMT 2009


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/



More information about the Cygwin mailing list