Re: [xml] libxml as DLL?



On Mon, Aug 12, 2002 at 11:10:56AM -0500, Bob Friesenhahn wrote:
ImageMagick uses libxml.  The copy we are using has a most recent
changelog entry of Mar 25, 2002 and appears to be version 2.4.19.

For Windows, we prefer to build libraries like libxml as DLLs.
Unfortunately, I discovered that libxml does not include adequate
provisions for applying dllimport and dllexport to library functions.
I had to hack the library to dllexport the functions that ImageMagick
uses in order to build libxml as a DLL.

Is there any interest in providing a "DLLEXPORT" style define as part
of all libxml extern functions so that libxml may more easily be built
as a DLL using compilers that require this nonsense?

  I don't understand why the existing Windows support is not adequate.
Apparently Igor and Cygwin are shipping libxml2 on Windows as shared library
so where is the problem ?

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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