From 7025a0386dcd5d22ec3021e17fb1f95c2df86d88 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 7 Feb 2008 00:26:02 +0000 Subject: [PATCH] Added cc and c++ wrapper scripts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23903 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/HaikuImage | 3 +++ src/bin/Jamfile | 3 +++ src/bin/c++ | 2 ++ src/bin/cc | 2 ++ 4 files changed, 10 insertions(+) create mode 100755 src/bin/c++ create mode 100755 src/bin/cc diff --git a/build/jam/HaikuImage b/build/jam/HaikuImage index 7c30d9d925..00a2c7b351 100644 --- a/build/jam/HaikuImage +++ b/build/jam/HaikuImage @@ -492,6 +492,9 @@ if [ IsOptionalHaikuImagePackageAdded Development ] $(BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES) libglut.so { AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ; } + + # cc and c++ wrapper scripts + AddFilesToHaikuImage beos bin : cc c++ ; } # Vision diff --git a/src/bin/Jamfile b/src/bin/Jamfile index ca9d08594f..d3a43b93a8 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -152,6 +152,9 @@ StdBinCommands filepanel.cpp : be tracker : $(haiku-utils_rsrc) ; +# cc and c++ wrapper scripts +SEARCH on cc c++ = $(SUBDIR) ; + SubInclude HAIKU_TOP src bin addattr ; SubInclude HAIKU_TOP src bin bash ; SubInclude HAIKU_TOP src bin bc ; diff --git a/src/bin/c++ b/src/bin/c++ new file mode 100755 index 0000000000..4ad54cc814 --- /dev/null +++ b/src/bin/c++ @@ -0,0 +1,2 @@ +#!/bin/sh +exec $BE_CPLUS_COMPILER $BE_DEFAULT_C_FLAGS $BE_DEFAULT_CPLUS_FLAGS $* diff --git a/src/bin/cc b/src/bin/cc new file mode 100755 index 0000000000..442d78c6d0 --- /dev/null +++ b/src/bin/cc @@ -0,0 +1,2 @@ +#!/bin/sh +exec $BE_C_COMPILER $BE_DEFAULT_C_FLAGS $*