This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build


exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1368428456 -28800
# Node ID 9075bc7ba894ee8e33ebcf6c943b43a8ec1e45ad
# Parent  374dfd876af2bd1beec0b9d513b68a82c42586c7
cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.

>From 4.8, g++ is used as the default compiler to build the toolchain.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

diff -r 374dfd876af2 -r 9075bc7ba894 scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh   Fri May 03 17:12:15 2013 +0000
+++ b/scripts/build/cc/gcc.sh   Mon May 13 15:00:56 2013 +0800
@@ -432,6 +432,7 @@
         # configurations.
         if [ "${CT_BARE_METAL},${CT_CANADIAN}" = "y,y" ]; then
             repair_cc="CC_FOR_BUILD=${CT_BUILD}-gcc \
+                       CXX_FOR_BUILD=${CT_BUILD}-g++ \
                        GCC_FOR_TARGET=${CT_TARGET}-gcc"
         else
             repair_cc=""

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]