This is the mail archive of the
mailing list for the Cygwin project.
Re: is LD_PRELOAD available in cygwin?
Christopher Faylor wrote:
> Sorry, Brian, but this isn't correct. LD_PRELOAD has been available for
> Cygwin for a while.
> It's not 100% like linux but it is close. You can only override cygwin
> functions with it but that should work for open(). If this isn't working
> under cygwin, I'd suspect function decorations are not right, i.e., the
> open() function name being trapped doesn't look the same as the open in
> ...either that or LD_PRELOAD is broken. I haven't played with it for a
Oh, excellent. I knew there were some cases of the LD_* things being
supported (e.g. LD_LIBRARY_PATH in the context of dlopen) but I didn't
know this was one of them as well.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html