[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libltdl and Windows
From: |
Howard Chu |
Subject: |
Re: libltdl and Windows |
Date: |
Wed, 29 Sep 2004 14:38:55 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714 |
Bob Friesenhahn wrote:
Currently libltdl will attempt to load any file you request it to (and
some you did not) under Windows. Libltdl is currently trying to load
.dll.a files when it loads a .la file. This causes problems.
While there are valid reasons for *Windows* programmers to load .exe
files and possibly some other types, it doesn't seem to me that libtool
(the *portable* library/loader tool) should encourage loading anything
but DLLs so attempting to load anything but a DLL should fail. Does
anyone know of a reason that libtool should be willing to load anything
but DLLs?
Thinking out loud ... not all DLLs are saved with a ".DLL" suffix. But
as far as libltdl goes, processing the contents of a .la file, I think
it's perfectly reasonable to exclude anything with a ".a" suffix. When
asked to explicitly load a non-".la" file though, it should just load
whatever was requested.
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support