summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-08 17:44:59 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-08 17:44:59 (GMT)
commit1f16f7a6f75786ccc89c268d389d624a826a2e48 (patch)
treef6ff34259645c0b7f26257fc1cb7a59535d52237 /scripts/build
parente4491e87ad3bdf6e7834636f69cfee11cffe0937 (diff)
Add a utility to populate a root directory with libraries from the toolchain.
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/cc_gcc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh
index dc427cf..bbb7e37 100644
--- a/scripts/build/cc_gcc.sh
+++ b/scripts/build/cc_gcc.sh
@@ -137,5 +137,9 @@ do_cc() {
# ;;
#esac
+ # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
+ # to call the C compiler with the same, somewhat canonical name.
+ ln -s "${CT_TARGET}-gcc" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-cc"
+
CT_EndStep
}