----- Original Message ----- 
From: "Jon Berndt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 6:54 PM
Subject: RE: C++ XML Parser of choice
> I managed to build Xerces-C++ under Cygwin today.  Unfortunately, it built
a
> .dll.  Dohhh!  Do you know offhand if it is possible to build a .lib under
> Cygwin?  I suspect it is.

My experience has been with VC++6 only, so I don't know off the top of my
head.

I did a little bit of digging, and as near as I can tell the developer(s)
did not include the ability to automatically do this.

There are a number of threads in the Xerces-C-Dev mailing list about this:
http://marc.theaimsgroup.com/?l=xerces-c-dev

>From a Visual C++ point of view, it seems that some people have had success
with changing the definition of the PLATFORM_EXPORT and PLATFORM_IMPORT
preprocessor definitions src\xercesc\util\Compilers\VCPPDefs.hpp. The
standard approach for defining these (in my experience, anyway) is
documented for Xerces here:

http://tinyurl.com/vp8m
http://tinyurl.com/vp9y

As far as Cygwin is concerned, I haven't used it and gcc together enough to
remember exactly how they handle what Visual C++ and the OS do. It seems
that some people have been able to just use "ar" to archive the object
files:

http://tinyurl.com/vpbp

Sorry that I can't be of more help...

Jeremy Furtek
Delphi Research
mailto:[EMAIL PROTECTED]


Reply via email to