Re: Compiling using Metaware HighC compiler

Boris Kolpackov <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi Jeff,

[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.