[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW & library_names
From: |
Albert Chin |
Subject: |
Re: MinGW & library_names |
Date: |
Wed, 29 Sep 2004 14:20:27 -0500 |
User-agent: |
Mutt/1.5.6i |
On Wed, Sep 29, 2004 at 01:52:03PM -0500, Bob Friesenhahn wrote:
> For MinGW (and probably Cygwin), libtool includes .dll.a file names in
> the library_names definition in .la files associated with DLLs.
> These files are only valuable for linking. However, libltdl invokes
> LoadLibrary on all files listed in library_names as well as for all
> other libtool libraries which are depended on. This means that
> Windows is attempting to load a non-loadable file.
>
> Apparently this is not noticed under Cygwin since Cywin has altered
> Windows error handling. I have successfully altered Windows error
> handling as well in my copy of ltdl.c. This approach is "cheating"
> and might effect the dependent application.
>
> It does not appear that the .dll.a names can be removed from the .la
> files, so it seems like libltdl should be doing some filtering on the
> names so that only .dll files are loaded under Windows. Does this
> seem reasonable?
If *.dll.a is still needed in library_names in the .la file, I guess
there is no choice. Seems icky though.
--
albert chin (address@hidden)
- MinGW & library_names, Bob Friesenhahn, 2004/09/29
- Re: MinGW & library_names,
Albert Chin <=
- Re: MinGW & library_names, Charles Wilson, 2004/09/29
- Re: MinGW & library_names, Albert Chin, 2004/09/29
- Re: MinGW & library_names, Bob Friesenhahn, 2004/09/29
- Re: MinGW & library_names, Peter O'Gorman, 2004/09/30
- Re: MinGW & library_names, Bob Friesenhahn, 2004/09/30
- Re: MinGW & library_names, Peter O'Gorman, 2004/09/30
- Re: MinGW & library_names, Bob Friesenhahn, 2004/09/30
- Re: MinGW & library_names, Howard Chu, 2004/09/29
Re: MinGW & library_names, Charles Wilson, 2004/09/29