[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Some fixes for cygwin
From: |
Bob Friesenhahn |
Subject: |
RE: Some fixes for cygwin |
Date: |
Sun, 2 Jun 2002 21:14:31 -0500 (CDT) |
On Mon, 3 Jun 2002, Robert Collins wrote:
> > Perhaps. But that would need to be transparent to the user AND
> > developer: we don't want to force Joe Developer to change his code to
> > explicitly dlpreopen the modules...so it would have to be
> > some sort of
> > constructor thing...
>
> Exactly. The dlpreopen capability is transparent, the user thinks they
> are using dlopen... even when statically linked. I'll need to check the
Not all packages that use libltdl use the dlpreopen capability. For
example, ImageMagick removes libltdl from the picture if it is built
statically. There is more than one way to skin a cat.
> it would be 100% transparent. Gcc has an attribute for functions that
> makes them a constructor, they get called before main() :}.
Gcc is one compiler among many. Please don't assume that only gcc
will be used.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen