This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Sun, May 31, 2009 at 11:56:12AM +0000, Marco Atzeri wrote:
>
>--- Sab 30/5/09, Christopher Faylor  ha scritto:
>
>> >Ok, I found it. 
>> >The order is also relevant
>> >
>> >cygoctinterp.dll requires 
>> >???cygcruft.dll and cygoctave.dll
>> >
>> >cygoctave.dll requires 
>> >? cygcruft.dll
>> >
>> >So the working way is :
>> >
>> >export LD_PRELOAD="$libcruft:$liboctave:$liboctinterp"
>> 
>> i.e., dependency order is important.? That isn't too
>> surprising is it?
>> 
>> cgf
>> 
>
>No of course.
>But it is the second difference from the other system, I will try to
>add a note on the cygwin user guide.

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.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]