You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/11/03 20:01:16 UTC

svn commit: r710130 - /xalan/c/trunk/runConfigure

Author: dbertoni
Date: Mon Nov  3 11:01:16 2008
New Revision: 710130

URL: http://svn.apache.org/viewvc?rev=710130&view=rev
Log:
Use GCC as the default compiler.  Bump optimization level to 3 for GCC and the HP compiler.

Modified:
    xalan/c/trunk/runConfigure

Modified: xalan/c/trunk/runConfigure
URL: http://svn.apache.org/viewvc/xalan/c/trunk/runConfigure?rev=710130&r1=710129&r2=710130&view=diff
==============================================================================
--- xalan/c/trunk/runConfigure (original)
+++ xalan/c/trunk/runConfigure Mon Nov  3 11:01:16 2008
@@ -192,6 +192,8 @@
 fi
 
 # Set up the default values for each parameter
+ccompiler=gcc            # Use GCC as the default compiler
+cppcompiler=g++          # Use GCC as the default compiler
 debug=off                # by default debug is off
 bitsToBuild=32           # by default 32 bit build assumed
 transcoder=default       # by default use default transcoder
@@ -361,11 +363,9 @@
     elif test $platform = "os390"; then
         debugflag="-DNDEBUG";
     elif test $platform = "linux"; then
-        if test $cppcompiler = "icpc"; then
-            debugflag="-O3 -DNDEBUG";
-        else
-            debugflag="-O2 -DNDEBUG";
-        fi
+        debugflag="-O3 -DNDEBUG";
+    elif test $cppcompiler = "aCC"; then
+        debugflag="+O3 -DNDEBUG";
     else
         debugflag="-O -DNDEBUG";
     fi



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