diff options
author | eb | 2009-02-18 03:05:58 +0000 |
---|---|---|
committer | eb | 2009-02-18 03:05:58 +0000 |
commit | 14e59a3bedfdbd2835c3053cb0be26131bafb9d1 (patch) | |
tree | 289018db2fc472e5d9bb2b2cf4c1b435a4a984eb | |
parent | 01b6697b18e1e04ce0a8709f82c170f2076e4cda (diff) | |
download | gnuradio-14e59a3bedfdbd2835c3053cb0be26131bafb9d1.tar.gz gnuradio-14e59a3bedfdbd2835c3053cb0be26131bafb9d1.tar.bz2 gnuradio-14e59a3bedfdbd2835c3053cb0be26131bafb9d1.zip |
use 4.3 versions of ppu cross-compilers if we've got them
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10460 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-x | configure-cell-cross | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/configure-cell-cross b/configure-cell-cross index 6b65982bb..ea4d1e724 100755 --- a/configure-cell-cross +++ b/configure-cell-cross @@ -33,9 +33,22 @@ cell_root=/mnt/cell-root 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 \ |