User forums > Help

how to compile xerces-c using mingw32 ?

(1/2) > >>

hongxing:
I want to use C::B in windows and linux, the problem is my app use xerces-c as xml parsing.
I linux, I can using GNU make to compile xerces-c, when coming to Windows, I have to use mingw32.

my question is how to compile xerces-c using mingw32 in windows ? has anyone do that?

mandrav:

--- Quote ---my question is how to compile xerces-c using mingw32 in windows ? has anyone do that?
--- End quote ---

I have and it's not trivial...

rickg22:
I'd use TinyXML, but if you need a good parser, why not use libxml2?

hongxing:
It is not a new project, I am now porting it to windows 2000
====================
tinyXML can not support Unicode, so I can not use characters like Chinese, Korean.
============================
libxml2 is simple and high performance ? can it support Chinese/Korean characters? if is , why C::B not using it but tinyXML?
===============================
can libxml2 be compiled under mingw32?

takeshimiya:
tinyXML is used in C::B because of it's simplicity and little overhead, it's not even a library, in fact it's only 3 .h/.cpp straight files.

As for other XML libraries, it depends on your needings, but you might want to look here:
http://xmlbench.sourceforge.net/results/features200402/index.html
http://xmlbench.sourceforge.net/results/benchmark200402/index.html

Xerces doesn't seems to be bad, but the binary size is HUGE and it's rather slow.
If I have to choose, I would choose libxml2 as rickg22 suggests, because it's well-featured and with good performance and library size overall.

Navigation

[0] Message Index

[#] Next page

Go to full version