You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2007/07/23 20:40:08 UTC
svn commit: r558827 - /xerces/c/trunk/scripts/packageBinaries.pl
Author: cargilld
Date: Mon Jul 23 11:40:07 2007
New Revision: 558827
URL: http://svn.apache.org/viewvc?view=rev&rev=558827
Log:
Build script updates for building on solaris.
Modified:
xerces/c/trunk/scripts/packageBinaries.pl
Modified: xerces/c/trunk/scripts/packageBinaries.pl
URL: http://svn.apache.org/viewvc/xerces/c/trunk/scripts/packageBinaries.pl?view=diff&rev=558827&r1=558826&r2=558827
==============================================================================
--- xerces/c/trunk/scripts/packageBinaries.pl (original)
+++ xerces/c/trunk/scripts/packageBinaries.pl Mon Jul 23 11:40:07 2007
@@ -613,19 +613,23 @@
$icu_cxxflags = '"-w -O3"';
$icu_cflags = '"-w -xO3"';
}
- else {
- $icu_cxxflags = '"-w -O3 -xarch=v9"';
- $icu_cflags = '"-w -xO3 -xarch=v9"';
+ else {
+ # Solaris on AMD 64 doesn't use -xarch=v9
+ #$icu_cxxflags = '"-w -O3 -xarch=v9"';
+ #$icu_cflags = '"-w -xO3 -xarch=v9"';
+ $icu_cxxflags = '"-w -O3"';
+ $icu_cflags = '"-w -xO3"';
}
if ($opt_x eq "CC") {
$ENV{'PATH'}="/usr/ccs/bin:/usr/ucb:$ENV{'PATH'}";
$xercesc_linkflags = '"-z muldefs"';
- if ($opt_b eq "64") {
- $xercesc_64bit_cxxflags = '"-xarch=v9"';
- $xercesc_64bit_cflags = '"-xarch=v9"';
- $xercesc_64bit_linkflags = '"-xarch=v9"';
- }
+ # Solaris on AMD 64 doesn't use -xarch=v9
+ #if ($opt_b eq "64") {
+ # $xercesc_64bit_cxxflags = '"-xarch=v9"';
+ # $xercesc_64bit_cflags = '"-xarch=v9"';
+ # $xercesc_64bit_linkflags = '"-xarch=v9"';
+ #}
}
psystem ("echo LD_LIBRARY_PATH=$ENV{'LD_LIBRARY_PATH'}");
@@ -802,6 +806,9 @@
psystem ("$MAKE clean"); # May want to comment this line out to speed up
psystem ("$MAKE");
+ print "\nMAKE finished, config.log is:\n";
+ psystem ("cat config.log");
+
# build the tests
print("\n\nBuild the tests ...\n");
psystem ("$MAKE check");
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org