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:06:03 UTC

cvs commit: xml-xerces/c/tests Makefile.incl runConfigure

peiyongz    2004/07/27 15:06:03

  Modified:    c/tests  Makefile.incl runConfigure
  Log:
  build on aix xlC_r v6 with v5 comptiable name mangling scheme
  
  Revision  Changes    Path
  1.44      +8 -2      xml-xerces/c/tests/Makefile.incl
  
  Index: Makefile.incl
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/Makefile.incl,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- Makefile.incl	9 Jul 2004 16:33:49 -0000	1.43
  +++ Makefile.incl	27 Jul 2004 22:06:03 -0000	1.44
  @@ -155,7 +155,13 @@
   
   #================= AIX SPECIFIC OPTIONS ===========================
   ifeq (${PLATFORM}, AIX)
  -CMP= -c ${CXXFLAGS} -qnotempinc
  +
  +ifeq (${CXXVER}, v5compat)
  +   CMP= -c ${CXXFLAGS} -qnotempinc -qnamemangling=v5   
  +else
  +   CMP= -c ${CXXFLAGS} -qnotempinc -qnamemangling=ansi
  +endif
  +
   CC=${COMPILER} -D${PLATFORM}
   LINK =  ${COMPILER} ${LDFLAGS}
   # the compiler knows about this two
  
  
  
  1.36      +7 -2      xml-xerces/c/tests/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/runConfigure,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- runConfigure	9 Jul 2004 16:33:49 -0000	1.35
  +++ runConfigure	27 Jul 2004 22:06:03 -0000	1.36
  @@ -89,7 +89,7 @@
               [required: no default]"
       echo "       -c <C compiler name> (e.g. gcc, cc, xlc_r, icc or ecc)"
       echo "            [default is make default; cc for gnu make]"
  -    echo "       -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, icc or ecc)"
  +    echo "       -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, xlC_rv5compate, icc or ecc)"
       echo "            [default is make default; g++ for gnu make]"
       echo "       -d (specifies that you want to build debug version) [default: not debug]"
       echo "       -r <thread option> can be 'pthread' or 'dce'
  @@ -469,6 +469,11 @@
   # Set the C compiler and C++ compiler environment variables
   #
   case $cppcompiler in
  +   xlC_rv5compat)
  +      CXX="xlC_r"
  +      CXXVER="v5compat"
  +      ;;
  +      
      xlC* | xlc* | g++ | c++ | cc | CC | aCC | icc | ICC | cxx | ecc)
      CXX="$cppcompiler"
         ;;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org