[rtems-source-builder commit] Avoid hard coded GCC binary paths
Sebastian Huber
sebh at rtems.org
Thu Feb 1 06:14:41 UTC 2018
Module: rtems-source-builder
Branch: master
Commit: 2a5c9da4898242750dcb295e48636b9f0f0d9e2e
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=2a5c9da4898242750dcb295e48636b9f0f0d9e2e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jan 31 09:21:58 2018 +0100
Avoid hard coded GCC binary paths
In order to build a tool chain with Ada support a native GCC with Ada
support of the same version as the cross compiler is required. The RSB
used hard coded paths for the gcc and g++ programs. This forced the RSB
user to change the main GCC installation of the machine to build a
particular RTEMS tool chain. This is undesired/infeasible in most
situations.
Close #3284.
---
source-builder/defaults.mc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source-builder/defaults.mc b/source-builder/defaults.mc
index 85fd9aa..3f9ff9f 100644
--- a/source-builder/defaults.mc
+++ b/source-builder/defaults.mc
@@ -138,7 +138,7 @@ __bash: exe, optional, '/bin/bash'
__bison: exe, required, '/usr/bin/bison'
__bzip2: exe, required, '/usr/bin/bzip2'
__cat: exe, required, '/bin/cat'
-__cc: exe, required, '/usr/bin/gcc'
+__cc: exe, required, 'gcc'
__chgrp: exe, required, '/usr/bin/chgrp'
__chmod: exe, required, '/bin/chmod'
__chown: exe, required, '/usr/sbin/chown'
@@ -146,7 +146,7 @@ __cp: exe, required, '/bin/cp'
__cpp: exe, none, '%{__cc} -E'
__cvs: exe, optional, '/usr/bin/cvs'
__cvs_z: none, none, '%{__cvs} -z 9'
-__cxx: exe, required, '/usr/bin/g++'
+__cxx: exe, required, 'g++'
__flex: exe, required, '/usr/bin/flex'
__git: exe, required, '/usr/bin/git'
__grep: exe, required, '/usr/bin/grep'
More information about the vc
mailing list