I've built Xerces-C 1.1.0 and run most of the samples in the bin directory,
under Compaq's Tru64 UNIX V4.0f with DEC C++ V6.2. I will append a summary
of the changes I made to the configuration and makefiles. I understand that
Gary Gale [EMAIL PROTECTED] has done a similar port.
Regards,
Richard Readings
Principal Software Engineer
Compaq Computer Limited
Tel: +44 (0)118 920 4101
Fax: +44 (0)118 920 4146
[EMAIL PROTECTED]
XML4C++/Xerces-C port to Tru64 UNIX V4.0F (alpha)
The following files were modified:
./src/runConfigure
./src/configure
./src/config.sub
./src/Makefile.incl
./src/util/Compilers/Makefile.in
./src/util/Platforms/Makefile.in
./src/util/XML4CDefs.hpp
./src/util/AutoSense.hpp
./samples/config.sub
./samples/configure
./samples/Makefile.incl
src:
---
runConfigure:
add platform alpha
configure:
add "platform=ALPHA" in case "${host}"
config.sub:
add "| alphaev6-* | alphaev67-*" in case $basic_machine
Makefile.incl:
add
#=============== ALPHA SPECIFIC OPTIONS ============================
ifeq (${PLATFORM}, ALPHA)
PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -D_REENTRANT -ptr
${XERCESCROOT}/src/cxx_repository
OBJ_OUT=${XERCESCROOT}/obj/
MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -ptr
${XERCESCROOT}/src/cxx_repository
MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared
SHLIBSUFFIX=.so
ALLLIBS = -lm
endif
src/util:
--------
AutoSense.hpp:
add
#elif defined(__alpha)
#define XML_ALPHA
#define XML_UNIX
XML4CDefs.hpp:
add
#if defined(XML_ALPHA)
#include <util/Platforms/ALPHA/ALPHADefs.hpp>
#endif
#if defined(XML_ALPHA)
#include <util/Compilers/AlphaDefs.hpp>
#endif
src/util/Platforms:
------------------
Makefile.in:
add
ifeq (${PLATFORM}, ALPHA)
SUBMODULE = Platforms/ALPHA
CPP_PUBHEADERS = ALPHA/ALPHADefs.hpp
CPP_OBJECTS = ALPHA/ALPHAPlatformUtils.$(TO)
CXXFLAGS += -D_BSD
endif
src/util/Platforms/ALPHA:
------------------------
Additional directory containing:
ALPHADefs.hpp
ALPHAPlatformUtils.cpp
src/util/Compilers:
------------------
Makefile.in:
add to the CPP_PUBHEADERS macro definition
AlphaDefs.hpp \
and at the end add
ifeq (${CXX},cxx)
ifeq (${PLATFORM},ALPHA)
CPP_OBJECTS = AlphaDefs.$(TO)
endif
endif
Add the following files:
AlphaDefs.cpp
AlphaDefs.hpp
samples:
-------
(very similar to src)
configure:
add "platform=ALPHA" in case "${host}"
config.sub:
add "| alphaev6-* | alphaev67-*" in case $basic_machine
Makefile.incl:
add
#================= ALPHA SPECIFIC OPTIONS ===========================
ifeq (${PLATFORM}, ALPHA)
CMP= -c ${CXXFLAGS}
CC= cxx -D${PLATFORM}
LINK = ${CC}
PLATFORM_LIB_LINK_OPTIONS=
EXTRA_LINK_OPTIONS=
SHLIBSUFFIX=.so
endif