libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MinGW & library_names


From: Bob Friesenhahn
Subject: Re: MinGW & library_names
Date: Wed, 29 Sep 2004 18:08:28 -0500 (CDT)

On Wed, 29 Sep 2004, Albert Chin wrote:

On Wed, Sep 29, 2004 at 04:17:36PM -0400, Charles Wilson wrote:
Albert Chin wrote:

If *.dll.a is still needed in library_names in the .la file, I guess
there is no choice. Seems icky though.


It's because library_names is used for multiple purposes by the libtool
machinery and by libltdl.  One is the names that can be linked against
(.a, .dll.a, and .dll), while the other is the names that can be
dlopen/LoadLibrary'ed (.a, .dll).

On (all?) other platforms, those two sets are identical; on
cygwin/windows, they are not.

Then how about we add dlopen_library_names to .la files on systems
where it is needed?

It does seem like a good idea to separate the two purposes, but libltdl will still need to be able to deal with existing .la files which don't observe the new scheme.

We can also take the easy way out, which is to simply filter the names in libltdl. Filtering the names is quite easy, particularly when it is done at the lowest level (just before the LoadLibrary call) so the filtering is platform-specific.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]