commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10460 - gnuradio/trunk


From: eb
Subject: [Commit-gnuradio] r10460 - gnuradio/trunk
Date: Tue, 17 Feb 2009 20:06:00 -0700 (MST)

Author: eb
Date: 2009-02-17 20:05:58 -0700 (Tue, 17 Feb 2009)
New Revision: 10460

Modified:
   gnuradio/trunk/configure-cell-cross
Log:
use 4.3 versions of ppu cross-compilers if we've got them

Modified: gnuradio/trunk/configure-cell-cross
===================================================================
--- gnuradio/trunk/configure-cell-cross 2009-02-18 03:04:20 UTC (rev 10459)
+++ gnuradio/trunk/configure-cell-cross 2009-02-18 03:05:58 UTC (rev 10460)
@@ -33,9 +33,22 @@
 python_version=2.5
 compiler_includes="-isystem ${cell_root}/usr/include"
 
+# check for 4.3 versions of cross-compilers and use them if we've got them
+if which ppu32-gcc43 >/dev/null 2>&1; then
+  ppu32_gcc=ppu32-gcc43
+else
+  ppu32_gcc=ppu32-gcc
+fi
+
+if which ppu32-g++43 >/dev/null 2>&1; then
+  ppu32_gxx=ppu32-g++43
+else
+  ppu32_gxx=ppu32-g++
+fi
+
 $scriptdir/configure                       \
-    CC=${arch}32-gcc                        \
-    CXX=${arch}32-g++                       \
+    CC=${ppu32_gcc}                         \
+    CXX=${ppu32_gxx}                        \
     AR=${arch}-ar                           \
     NM=${arch}-nm                           \
     RANLIB=${arch}-ranlib                   \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]