RE: [xml] CYGWIN compile problems

Thanks for the patch; it allows me to compile and install libxml2. However,
I have to define LIBXML_STATIC to link my application with libxml2. libxslt
has the same problem. The patch is necessary, but I question if the test (in
xmlversion.h) for __CYGWIN__ is a reasonable indicator for dynamic linking.
BTW, should xmlversion.h be testing for _MSC_VER? Shouldn't MS compiles be
using xmlwin32version.h?

Charles Bozeman
(256) 961-2139

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Tuesday, January 15, 2002 11:51 AM
To: EXT-Bozeman, Charles H
Cc: 'xml gnome org'
Subject: Re: [xml] CYGWIN compile problems

On Tue, Jan 15, 2002 at 10:50:13AM -0600, EXT-Bozeman, Charles H wrote:
I cannot compile libxml2-2.4.13 from the sources unless I define IN_LIBXML
or LIBXML_STATIC. I am using cygwin which does not support dynamic
(at least mine doesn't); I thought you had to have MINGW for dynamic
libraries. I have tried:

Can you try the following patch and tell if this fixes it ?



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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