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/08/28 13:52:08 UTC
svn commit: r570389 - in /xerces/c/branches/xerces-2.7: samples/runConfigure
src/xercesc/runConfigure tests/runConfigure
Author: cargilld
Date: Tue Aug 28 04:52:07 2007
New Revision: 570389
URL: http://svn.apache.org/viewvc?rev=570389&view=rev
Log:
adding -m32/-m64 not safe for all versions of gcc
Modified:
xerces/c/branches/xerces-2.7/samples/runConfigure
xerces/c/branches/xerces-2.7/src/xercesc/runConfigure
xerces/c/branches/xerces-2.7/tests/runConfigure
Modified: xerces/c/branches/xerces-2.7/samples/runConfigure
URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2.7/samples/runConfigure?rev=570389&r1=570388&r2=570389&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/runConfigure (original)
+++ xerces/c/branches/xerces-2.7/samples/runConfigure Tue Aug 28 04:52:07 2007
@@ -411,15 +411,16 @@
xlC*)
bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 "
bitstobuildLink=" -q64 " ;;
- *)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m64 "
- bitstobuildLink=" -m64 " ;;
- *)
- ;;
- esac
+ *)
+ # following doesn't work for all versions of gcc
+ #linux_version=`./config.guess`
+ #case $linux_version in
+ # powerpc*)
+ # bitstobuildDefines=" $bitstobuildDefines -m64 "
+ # bitstobuildLink=" -m64 " ;;
+ # *)
+ # ;;
+ #esac
;;
esac
fi ;;
@@ -430,21 +431,22 @@
elif test $bitsToBuild = 32; then
bitstobuildDefines=" "
bitstobuildLink=" "
- if test $platform; then
- case $platform in
- linux)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m32 "
- bitstobuildLink=" -m32 " ;;
- *)
- ;;
- esac ;;
- *)
- ;;
- esac
- fi
+# following doesn't work for all versions of gcc
+# if test $platform; then
+# case $platform in
+# linux)
+# linux_version=`./config.guess`
+# case $linux_version in
+# powerpc*)
+# bitstobuildDefines=" $bitstobuildDefines -m32 "
+# bitstobuildLink=" -m32 " ;;
+# *)
+# ;;
+# esac ;;
+# *)
+# ;;
+# esac
+# fi
else
echo "I do not recognize the bitsToBuild '$bitsToBuild'. Please type '${0} -h' for help."
exit ${ERROR_EXIT_CODE};
Modified: xerces/c/branches/xerces-2.7/src/xercesc/runConfigure
URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2.7/src/xercesc/runConfigure?rev=570389&r1=570388&r2=570389&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/runConfigure (original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/runConfigure Tue Aug 28 04:52:07 2007
@@ -500,14 +500,15 @@
bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 "
bitstobuildLink=" -q64 " ;;
*)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m64 "
- bitstobuildLink=" -m64 " ;;
- *)
- ;;
- esac
+ # following doesn't work for all versions of gcc
+ #linux_version=`./config.guess`
+ #case $linux_version in
+ # powerpc*)
+ # bitstobuildDefines=" $bitstobuildDefines -m64 "
+ # bitstobuildLink=" -m64 " ;;
+ # *)
+ # ;;
+ #esac
;;
esac
fi ;;
@@ -518,21 +519,22 @@
elif test $bitsToBuild = 32; then
bitstobuildDefines=" "
bitstobuildLink=" "
- if test $platform; then
- case $platform in
- linux)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m32 "
- bitstobuildLink=" -m32 " ;;
- *)
- ;;
- esac ;;
- *)
- ;;
- esac
- fi
+# following doesn't work for all versions of gcc
+# if test $platform; then
+# case $platform in
+# linux)
+# linux_version=`./config.guess`
+# case $linux_version in
+# powerpc*)
+# bitstobuildDefines=" $bitstobuildDefines -m32 "
+# bitstobuildLink=" -m32 " ;;
+# *)
+# ;;
+# esac ;;
+# *)
+# ;;
+# esac
+# fi
else
echo "I do not recognize the bitsToBuild '$bitsToBuild'. Please type '${0} -h' for help."
exit ${ERROR_EXIT_CODE};
Modified: xerces/c/branches/xerces-2.7/tests/runConfigure
URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-2.7/tests/runConfigure?rev=570389&r1=570388&r2=570389&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/tests/runConfigure (original)
+++ xerces/c/branches/xerces-2.7/tests/runConfigure Tue Aug 28 04:52:07 2007
@@ -411,14 +411,15 @@
bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 "
bitstobuildLink=" -q64 " ;;
*)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m64 "
- bitstobuildLink=" -m64 " ;;
- *)
- ;;
- esac
+ # following doesn't work for all versions of gcc
+ #linux_version=`./config.guess`
+ #case $linux_version in
+ # powerpc*)
+ # bitstobuildDefines=" $bitstobuildDefines -m64 "
+ # bitstobuildLink=" -m64 " ;;
+ # *)
+ # ;;
+ #esac
;;
esac
fi ;;
@@ -429,21 +430,22 @@
elif test $bitsToBuild = 32; then
bitstobuildDefines=" "
bitstobuildLink=" "
- if test $platform; then
- case $platform in
- linux)
- linux_version=`./config.guess`
- case $linux_version in
- powerpc*)
- bitstobuildDefines=" $bitstobuildDefines -m32 "
- bitstobuildLink=" -m32 " ;;
- *)
- ;;
- esac ;;
- *)
- ;;
- esac
- fi
+# following doesn't work for all versions of gcc
+# if test $platform; then
+# case $platform in
+# linux)
+# linux_version=`./config.guess`
+# case $linux_version in
+# powerpc*)
+# bitstobuildDefines=" $bitstobuildDefines -m32 "
+# bitstobuildLink=" -m32 " ;;
+# *)
+# ;;
+# esac ;;
+# *)
+# ;;
+# esac
+# fi
else
echo "I do not recognize the bitsToBuild '$bitsToBuild'. Please type '${0} -h' for help."
exit ${ERROR_EXIT_CODE};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org