Kyng Chaos
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.”
- the wisdom of Tarzan
Table of Contents

Xerces Build

version: 3.0.0
source: apache.org

Starting with v3.0, a universal 32+64bit build is possible and easy. The following method uses OSX services for the transcoder and netaccessor. An alternate configuration is to use use Unix curl and iconv (substituted in the configuration):

--enable-netaccessor-curl --enable-transcoder-iconv

Leopard

In the Xerces source folder:

export MACOSX_DEPLOYMENT_TARGET=10.5
./configure --disable-dependency-tracking --enable-netaccessor-cfurl \
--enable-transcoder-macosunicodeconverter --enable-msgloader-inmemory \
CFLAGS="-Os -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXXFLAGS="-Os -arch i386 -arch x86_64 -arch ppc -arch ppc64"
make
sudo make install

Tiger

In the Xerces source folder:

export MACOSX_DEPLOYMENT_TARGET=10.4
./configure --disable-dependency-tracking --enable-netaccessor-cfurl \
--enable-transcoder-macosunicodeconverter --enable-msgloader-inmemory \
CFLAGS="-Os -arch i386 -arch ppc" CXXFLAGS="-Os -arch i386 -arch ppc"
make
sudo make install

Panther

In the Xerces source folder:

./configure --disable-dependency-tracking --enable-netaccessor-cfurl \
--enable-transcoder-macosunicodeconverter --enable-msgloader-inmemory
make
sudo make install
macosx/build/xerces.txt (1070 views) · Last modified: 2008/11/29 10:54 by kyngchaos
Copyright © 2004-2009 William Kyngesburye Driven by DokuWiki Recent changes RSS feed