[Lunar-commits] r16041 - lunar/trunk/var/lib/lunar/compilers
Auke Kok
sofar at lunar-linux.org
Tue Aug 9 08:11:59 UTC 2005
Author: sofar
Date: 2005-08-09 08:11:57 +0000 (Tue, 09 Aug 2005)
New Revision: 16041
Modified:
lunar/trunk/var/lib/lunar/compilers/c++
lunar/trunk/var/lib/lunar/compilers/cc
lunar/trunk/var/lib/lunar/compilers/g++
lunar/trunk/var/lib/lunar/compilers/gcc
lunar/trunk/var/lib/lunar/compilers/ld
lunar/trunk/var/lib/lunar/compilers/make
Log:
Adding changeable COMPILER_PATH, LD_PATH and MAKE_PATH so the wrappers can call a crosscompiler or alternative compiler suite.
Modified: lunar/trunk/var/lib/lunar/compilers/c++
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/c++ 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/c++ 2005-08-09 08:11:57 UTC (rev 16041)
@@ -4,5 +4,5 @@
echo "++ $CXX_EXT g++ $CCOPT \"$@\"" >&2
fi
-$CXX_EXT /usr/bin/g++ $CCOPT "$@"
+$CXX_EXT ${COMPILER_PATH:-/usr/bin}/g++ $CCOPT "$@"
Modified: lunar/trunk/var/lib/lunar/compilers/cc
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/cc 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/cc 2005-08-09 08:11:57 UTC (rev 16041)
@@ -3,6 +3,6 @@
if [ -n "$LUNAR_DEBUG" ] ; then
echo "++ $CC_EXT gcc $COPT \"$@\"" >&2
fi
-
-$CC_EXT /usr/bin/gcc $COPT "$@"
+
+$CC_EXT ${COMPILER_PATH:-/usr/bin}/gcc $COPT "$@"
Modified: lunar/trunk/var/lib/lunar/compilers/g++
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/g++ 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/g++ 2005-08-09 08:11:57 UTC (rev 16041)
@@ -3,6 +3,6 @@
if [ -n "$LUNAR_DEBUG" ] ; then
echo "++ $CXX_EXT g++ $CCOPT \"$@\"" >&2
fi
-
-$CXX_EXT /usr/bin/g++ $CCOPT "$@"
+
+$CXX_EXT ${COMPILER_PATH:-/usr/bin}/g++ $CCOPT "$@"
Modified: lunar/trunk/var/lib/lunar/compilers/gcc
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/gcc 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/gcc 2005-08-09 08:11:57 UTC (rev 16041)
@@ -3,6 +3,6 @@
if [ -n "$LUNAR_DEBUG" ] ; then
echo "++ $CC_EXT gcc $COPT \"$@\"" >&2
fi
-
-$CC_EXT /usr/bin/gcc $COPT "$@"
+
+$CC_EXT ${COMPILER_PATH:-/usr/bin}/gcc $COPT "$@"
Modified: lunar/trunk/var/lib/lunar/compilers/ld
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/ld 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/ld 2005-08-09 08:11:57 UTC (rev 16041)
@@ -4,5 +4,5 @@
echo "++ ld \"$@\"" >&2
fi
-/usr/bin/ld "$@"
+${LD_PATH:-/usr/bin}/ld "$@"
Modified: lunar/trunk/var/lib/lunar/compilers/make
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/make 2005-08-09 08:09:06 UTC (rev 16040)
+++ lunar/trunk/var/lib/lunar/compilers/make 2005-08-09 08:11:57 UTC (rev 16041)
@@ -4,5 +4,5 @@
echo "++ $MAKE_EXT make ${MAKES:+-j$MAKES} \"$@\"" >&2
fi
-$MAKE_EXT /usr/bin/make ${MAKES:+-j$MAKES} "$@"
+$MAKE_EXT ${MAKE_PATH:-/usr/bin}/make ${MAKES:+-j$MAKES} "$@"
More information about the Lunar-commits
mailing list