[Expat-discuss] Compiling using Metaware HighC compiler

Boris Kolpackov boris at codesynthesis.com
Tue May 29 21:06:20 CEST 2007


Hi Jeff,

JRancier at penntraffic.com writes:

> I need to use the parser on a platform which has zero GNU tools nor
> libraries.  Has any tried to compile expat using the Metaware HighC
> compiler?

While I haven't tried to build Expat with Metaware HighC, I have
built it for several embedded systems that don't have any GNU tools.
The idea is to create a config file for your platform and manually
compile xmlparse.c, xmlrole.c, and xmltok.c found in the expat-X.Y.Z/lib.
The winconfig.h is a good starting point for creating your own config
file. Also search for winconfig.h in the above C files for places where
you will need to plug in your custom config file.


hth,
-boris


-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding



More information about the Expat-discuss mailing list