From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10115 invoked by alias); 9 Apr 2010 19:33:27 -0000 Received: (qmail 9997 invoked by uid 22791); 9 Apr 2010 19:33:25 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.144) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 19:33:19 +0000 Received: by ey-out-1920.google.com with SMTP id 26so267255eyw.42 for ; Fri, 09 Apr 2010 12:33:16 -0700 (PDT) Received: by 10.213.55.9 with SMTP id s9mr640600ebg.58.1270841596541; Fri, 09 Apr 2010 12:33:16 -0700 (PDT) Received: from [192.168.2.133] (cp839525-a.venra1.lb.home.nl [84.30.233.133]) by mx.google.com with ESMTPS id 15sm965826ewy.0.2010.04.09.12.33.14 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 12:33:15 -0700 (PDT) Message-Id: <4bbf80fb.0f67f10a.6637.5f12@mx.google.com> References: <20100409190419.325379428@bohmer.net>> User-Agent: quilt/0.46-1 Date: Fri, 09 Apr 2010 19:33:00 -0000 From: Remy Bohmer To: "Yann E. MORIN" Cc: "Bart vdr. Meulen" , crossgcc@sourceware.org Subject: [CT-NG:patch 04/19] Update check for need of g++ Content-Disposition: inline; filename=update-check-for-g++.patch Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00052.txt.bz2 g++ is only needed when building additonal libs on the HOST, so check wheter g++ is available for the HOST compiler only Signed-off-by: Bart vdr. Meulen --- scripts/crosstool-NG.sh.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Index: crosstool-ng/scripts/crosstool-NG.sh.in =================================================================== --- crosstool-ng.orig/scripts/crosstool-NG.sh.in +++ crosstool-ng/scripts/crosstool-NG.sh.in @@ -416,11 +416,15 @@ if [ -z "${CT_RESTART}" ]; then else case "${tool}" in # We'll at least need some of them... - ar|as|gcc|g++|ld|nm|objcopy|objdump|ranlib) + ar|as|gcc|ld|nm|objcopy|objdump|ranlib) CT_Abort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" ;; # Some are conditionnally required # Add them in alphabetical (C locale) ordering + #g++ (needed for companion lib), only needed for HOST + g++) + CT_TestAndAbort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" "${m}" = "HOST" + ;; gcj) CT_TestAndAbort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" "${CT_CC_LANG_JAVA}" = "y" ;; -- -- For unsubscribe information see http://sourceware.org/lists.html#faq