From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10666 invoked by alias); 12 Apr 2010 12:35:21 -0000 Received: (qmail 10657 invoked by uid 22791); 12 Apr 2010 12:35:21 -0000 X-SWARE-Spam-Status: No, hits=4.0 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-bw0-f225.google.com (HELO mail-bw0-f225.google.com) (209.85.218.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Apr 2010 12:35:13 +0000 Received: by bwz25 with SMTP id 25so4591018bwz.8 for ; Mon, 12 Apr 2010 05:35:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.142.5 with HTTP; Mon, 12 Apr 2010 05:35:10 -0700 (PDT) In-Reply-To: References: <20100409190419.325379428@bohmer.net> <4bbf80f8.0d67f10a.75bb.5f51@mx.google.com> <201004111540.45021.yann.morin.1998@anciens.enib.fr> Date: Mon, 12 Apr 2010 12:35:00 -0000 Received: by 10.239.153.71 with SMTP id y7mr319372hbb.99.1271075710880; Mon, 12 Apr 2010 05:35:10 -0700 (PDT) Message-ID: Subject: Re: [CT-NG:patch 03/19] Build candian baremetal compiler From: Bart van der Meulen To: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00093.txt.bz2 Yann, All 2010/4/11 Yann E. MORIN : > Remy, Bart, All, > > On Friday 09 April 2010 21:04:22 Remy Bohmer wrote: >> Previous addition of the canadian cross compiler did not allow >> to build a baremetal only variant, no reason why this is not >> allowed >> >> Signed-off-by: Bart vdr. Meulen >> --- >> scripts/build/cc/gcc.sh | 29 ++++++++++------------------- >> 1 file changed, 10 insertions(+), 19 deletions(-) >> >> Index: crosstool-ng/scripts/build/cc/gcc.sh >> =================================================================== >> --- crosstool-ng.orig/scripts/build/cc/gcc.sh >> +++ crosstool-ng/scripts/build/cc/gcc.sh > [--SNIP--] >> @@ -233,11 +229,6 @@ do_cc_core() { >> install_rules="install-gcc" >> fi # ! build libgcc >> >> - if [ "${CT_CANADIAN}" = "y" ]; then >> - CT_DoLog EXTRA "Building libiberty" >> - CT_DoExecLog ALL make ${PARALLELMFLAGS} all-build-libiberty >> - fi >> - > > This chunk seems unrelated. > You're right. This chunk should have been placed in a separate patch. One of the first patches that added the canadian build option added this piece of code, which is incorrect. I think I made the mistake myself by copy/pasting some canadian specific code from the final gcc step to the core build step When building the core_cc compiler there is no need for building libiberty, (and before the changes to build a canadian baremetal compiler, this code would never be called). Bart -- For unsubscribe information see http://sourceware.org/lists.html#faq