[Lunar-commits] r15874 - lunar/trunk/var/lib/lunar/compilers

Auke Kok sofar at lunar-linux.org
Mon Jul 25 12:13:21 UTC 2005


Author: sofar
Date: 2005-07-25 12:13:19 +0000 (Mon, 25 Jul 2005)
New Revision: 15874

Added:
   lunar/trunk/var/lib/lunar/compilers/ld
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
Log:
New wrappers: call /usr/bin/XXX directly and added a 'ld' wrapper for extra extra debugging support. Works with 'ccache' module so NOT heavily tested ;^)


Modified: lunar/trunk/var/lib/lunar/compilers/c++
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/c++	2005-07-25 10:13:17 UTC (rev 15873)
+++ lunar/trunk/var/lib/lunar/compilers/c++	2005-07-25 12:13:19 UTC (rev 15874)
@@ -1,10 +1,8 @@
 #!/bin/bash
 
-export PATH=${PATH/\/var\/lib\/lunar\/compilers:/}
-
 if [ -n "$LUNAR_DEBUG" ] ; then
   echo "++ $CXX_EXT g++ $CCOPT \"$@\"" >&2
 fi
 
-$CXX_EXT g++ $CCOPT "$@"
+$CXX_EXT /usr/bin/g++ $CCOPT "$@"
 

Modified: lunar/trunk/var/lib/lunar/compilers/cc
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/cc	2005-07-25 10:13:17 UTC (rev 15873)
+++ lunar/trunk/var/lib/lunar/compilers/cc	2005-07-25 12:13:19 UTC (rev 15874)
@@ -1,10 +1,8 @@
 #!/bin/bash
 
-export PATH=${PATH/\/var\/lib\/lunar\/compilers:/}
-
 if [ -n "$LUNAR_DEBUG" ] ; then
   echo "++ $CC_EXT gcc $COPT \"$@\"" >&2
 fi
   
-$CC_EXT gcc $COPT "$@"
+$CC_EXT /usr/bin/gcc $COPT "$@"
 

Modified: lunar/trunk/var/lib/lunar/compilers/g++
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/g++	2005-07-25 10:13:17 UTC (rev 15873)
+++ lunar/trunk/var/lib/lunar/compilers/g++	2005-07-25 12:13:19 UTC (rev 15874)
@@ -1,10 +1,8 @@
 #!/bin/bash
 
-export PATH=${PATH/\/var\/lib\/lunar\/compilers:/}
-
 if [ -n "$LUNAR_DEBUG" ] ; then
   echo "++ $CXX_EXT g++ $CCOPT \"$@\"" >&2
 fi
   
-$CXX_EXT g++ $CCOPT "$@"
+$CXX_EXT /usr/bin/g++ $CCOPT "$@"
 

Modified: lunar/trunk/var/lib/lunar/compilers/gcc
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/gcc	2005-07-25 10:13:17 UTC (rev 15873)
+++ lunar/trunk/var/lib/lunar/compilers/gcc	2005-07-25 12:13:19 UTC (rev 15874)
@@ -1,10 +1,8 @@
 #!/bin/bash
 
-export PATH=${PATH/\/var\/lib\/lunar\/compilers:/}
-
 if [ -n "$LUNAR_DEBUG" ] ; then
   echo "++ $CC_EXT gcc $COPT \"$@\"" >&2
 fi
   
-$CC_EXT gcc $COPT "$@"
+$CC_EXT /usr/bin/gcc $COPT "$@"
 

Added: lunar/trunk/var/lib/lunar/compilers/ld
===================================================================
--- lunar/trunk/var/lib/lunar/compilers/ld	2005-07-25 10:13:17 UTC (rev 15873)
+++ lunar/trunk/var/lib/lunar/compilers/ld	2005-07-25 12:13:19 UTC (rev 15874)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ -n "$LUNAR_DEBUG" ] ; then
+  echo "++ ld \"$@\"" >&2
+fi
+
+/usr/bin/ld "$@"
+


Property changes on: lunar/trunk/var/lib/lunar/compilers/ld
___________________________________________________________________
Name: svn:executable
   + *



More information about the Lunar-commits mailing list