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
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
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
In the Xerces source folder:
./configure --disable-dependency-tracking --enable-netaccessor-cfurl \ --enable-transcoder-macosunicodeconverter --enable-msgloader-inmemory make sudo make install