[Expat-discuss] expat on the Mac

Giuliano Gavazzi dev@humph.com
Fri, 2 Feb 2001 11:17:06 +0000


At 6:10 pm -0500 2001/02/01, Dan Winkler wrote:
>I'm trying to port the source to the macintosh OSX.  Was wondering if anyone
>has done this before with metrowerks Codewarrior?  Any info on this would be
>appreciated.  Thanks


the list archives are very dodgy, they have completely erased traces 
of my message "expat on MacOS Classic and X" that I sent on the 18th 
of December.

Here is my old message (with some editing), note that I did not use 
codewarrior, but since I also have a CW Mac Classic project, the step 
to a multitarget project is small:

Hi all,

[...]
Well, expat_1.95.1 compiles fine and seems to run fine on X Beta as 
long as you install autoconf (required by the build process).
Just do:

autoconf
./configure
make
make install

I tested outline.c and it works fine on a couple of test xml.

I then wanted to see if it worked also on MacOS Classic (for the 
moment just PPC, but of course should also work on Carbon, as there 
should be no differences in standard C). [I tested a Carbon version 
too].
It compiles with some warnings and it produces a working library, 
again tested compiling outline.c.
This requires a few modifications as there is no Makefile involved (I 
used CodeWarrior).
Also outline.c required a few changes, mainly because I had no time 
to see how to make stdin to work properly in this particular case. I 
read the input from a file instead of stdin and the parsing worked as 
expected.
[...]

Thanks for the attention

Giuliano
-- 
H U M P H
    || |||
  software

development of:

Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/