[Rcpp-commits] r691 - pkg
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 16 16:40:56 CET 2010
Author: edd
Date: 2010-02-16 16:40:56 +0100 (Tue, 16 Feb 2010)
New Revision: 691
Modified:
pkg/configure.win
Log:
applied correction by Brian Ripley
Modified: pkg/configure.win
===================================================================
--- pkg/configure.win 2010-02-16 15:38:53 UTC (rev 690)
+++ pkg/configure.win 2010-02-16 15:40:56 UTC (rev 691)
@@ -1,6 +1,10 @@
# simple check
-gxx_version=`g++ -v 2>&1 | grep "^g.*version" | sed -e 's/^.*g.. version *//'`
+if test ${R_ARCH} = "/x64"; then
+ gxx_version=`x86_64-w64-mingw32-g++ -v 2>&1 | grep "^g.*version" | sed -e 's/^.*g.. version *//'`
+else
+ gxx_version=`g++ -v 2>&1 | grep "^g.*version" | sed -e 's/^.*g.. version *//'`
+fi
echo "Seeing g++ version ${gxx_version}"
case ${gxx_version} in
More information about the Rcpp-commits
mailing list