You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2004/07/28 00:05:36 UTC
cvs commit: xml-xerces/c/src/xercesc Makefile.incl runConfigure
peiyongz 2004/07/27 15:05:36
Modified: c/src/xercesc Makefile.incl runConfigure
Log:
build on aix xlC_r v6 with v5 comptiable name mangling scheme
Revision Changes Path
1.58 +7 -3 xml-xerces/c/src/xercesc/Makefile.incl
Index: Makefile.incl
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/Makefile.incl,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- Makefile.incl 22 Jul 2004 21:55:54 -0000 1.57
+++ Makefile.incl 27 Jul 2004 22:05:36 -0000 1.58
@@ -253,8 +253,12 @@
ALLLIBS = ${LIBS} -L/usr/lpp/xlC/lib -licuuc30 -licudata30 -lXercesMessages25
endif
-PLATFORM_COMPILE_OPTIONS = -qnotempinc -D_THREAD_SAFE
-
+ifeq (${CXXVER}, v5compat)
+ PLATFORM_COMPILE_OPTIONS = -qnotempinc -D_THREAD_SAFE -qnamemangling=v5
+else
+ PLATFORM_COMPILE_OPTIONS = -qnotempinc -D_THREAD_SAFE -qnamemangling=ansi
+endif
+
ifeq (${BITSTOBUILD}, 64)
MAKE_SHARED = makeC++SharedLib_r -p 5000 ${LDFLAGS} -X64
MAKE_SHARED_C = makeC++SharedLib_r -p 5000 ${LDFLAGS} -X64
1.36 +8 -3 xml-xerces/c/src/xercesc/runConfigure
Index: runConfigure
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/runConfigure,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- runConfigure 9 Jul 2004 16:05:32 -0000 1.35
+++ runConfigure 27 Jul 2004 22:05:36 -0000 1.36
@@ -92,7 +92,7 @@
[required; no default]"
echo " -c <C compiler name> (e.g. gcc, cc, xlc_r, qcc, icc or ecc)
[default is make default; cc for gnu make]"
- echo " -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, QCC,
+ echo " -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, xlC_rv5compat, QCC,
icc or ecc) [default is make default; g++ for gnu make]"
echo " -d (specifies that you want to build debug version)
[default: no debug]"
@@ -661,10 +661,15 @@
#
case $cppcompiler in
+ xlC_rv5compat)
+ CXX="xlC_r"
+ CXXVER="v5compat"
+ ;;
+
xlC* | xlc* | g++ | c++ | cc | CC | aCC | icc | ICC | cxx | ecc | QCC )
CXX="$cppcompiler"
;;
-
+
aCC05)
CXX="aCC"
CXXVER="aCC05"
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org