This is the mail archive of the
mailing list for the Cygwin project.
Re: Problem with Cygwin's fdopen and Windows handles
On 5/30/2011 5:12 PM, Juanjo wrote:
> It seems I did not express myself properly. Code is compiled on the fly.
> DLLs do not survive beyond program execution. This is a dynamic language
> (Common Lisp btw) and functions are compiled and run and consumed
> quickly. Calling rebase for each invocation is overkill (it will scan the
> whole system!) and I would not even know how to start assigning
> fixed addresses to libraries myself.
Well, one workaround is to use the --enable-auto-image-base flag when
linking your ephemeral DLL. This generates a custom image base address
based on a hash of the pathname of the DLL. There's no guarantee this
doesn't clash with stuff, but at least it'll be *different* for dlls
that have different names.
Dunno of any solutions or recommendations related to the rest of your
email, tho -- sorry.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple