From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26126 invoked by alias); 19 Sep 2012 03:43:37 -0000 Received: (qmail 26038 invoked by uid 22791); 19 Sep 2012 03:43:36 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 03:43:24 +0000 Received: by iaby26 with SMTP id y26so342453iab.0 for ; Tue, 18 Sep 2012 20:43:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:in-reply-to:references:user-agent:date :from:to:cc:x-gm-message-state; bh=bXgfFNpqYcGalgVPuTsE/4ujer2lVSqj5rcDZsUYS4I=; b=Is1t1BmFpNY8ekaTxyEzPM1B2oWU/1i6Bru52fJuvweUJ8Gjgx/ddKvD1eHdiirEai u2hoMZKHZelmt0ZO0BzN66ZYNpDTY6bijNi/nhKwMVj3S5ijDSnb+KvbL/8oHnuC1tGB NpUmq3VJzjQ2zwejEzDpZC6lTARd4vEl82haH4tkL093f/Lpq734UYSYDFyMqs4MpDDE nr11Hg4RZ31J282mwBtGk+Lw/2UlXd9v/pqLF947IGJmbC/J7KQdVOxNT2WaHE+CLR22 nWNvx9h8h6senxPXj1K9NJ8IN3NyfC2YFOaoYlSPXr3/Zp/ONjcFpH6TP1Q2jZIRLPGW Ky4g== Received: by 10.50.104.230 with SMTP id gh6mr1795720igb.50.1348026203569; Tue, 18 Sep 2012 20:43:23 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id aa4sm12254445igc.15.2012.09.18.20.43.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Sep 2012 20:43:23 -0700 (PDT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 2 of 2] config/target.in+scripts/glibc-eglibc.sh-common: Allow building multilib gcc without full c library X-Mercurial-Node: 24e33e3717f8a740f7c65a0d05a1bed51535c690 Message-Id: <24e33e3717f8a740f7c6.1348026169@localhost.localdomain> In-Reply-To: <95abeed3a485c4d5b02e.1348026168@localhost.localdomain> References: <95abeed3a485c4d5b02e.1348026168@localhost.localdomain> User-Agent: Mercurial-patchbomb/unknown Date: Wed, 19 Sep 2012 03:43:00 -0000 From: David Holsgrove To: "Yann E. Morin" Cc: crossgcc@sourceware.org X-Gm-Message-State: ALoCoQkKzk8cSneARLHYCby6KWaF3iYKVs4f4k/iquW06HZ82WAqagRIow7nRJGYndNccl0wHPYi 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: 2012-09/txt/msg00046.txt.bz2 # HG changeset patch # User David Holsgrove # Date 1348016531 -36000 # Node ID 24e33e3717f8a740f7c65a0d05a1bed51535c690 # Parent 95abeed3a485c4d5b02e4860fc554d6841e1cc41 config/target.in+scripts/glibc-eglibc.sh-common: Allow building multilib gcc without full c library Add option to enable building a multilib aware gcc, without building out all the multilib combos for the c library diff -r 95abeed3a485 -r 24e33e3717f8 config/target.in --- a/config/target.in Wed Sep 19 11:03:59 2012 +1000 +++ b/config/target.in Wed Sep 19 11:02:11 2012 +1000 @@ -60,6 +60,20 @@ in gcc, so it is not possible to say what variants to support, only whether hard-coded variants should be supported or not. +if MULTILIB + +config MULTILIB_GCC_ONLY + bool + prompt "Disable building multilib combos of c-library" + depends on EXPERIMENTAL + depends on MULTILIB + default n + help + If you say 'y' here, then gcc will be built with multi-lib support, + but the eglibc/glibc multilib combos won't + +endif # MULTILIB + #-------------------------------------- config ARCH_SUPPORTS_BOTH_MMU bool diff -r 95abeed3a485 -r 24e33e3717f8 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Wed Sep 19 11:03:59 2012 +1000 +++ b/scripts/build/libc/glibc-eglibc.sh-common Wed Sep 19 11:02:11 2012 +1000 @@ -103,7 +103,13 @@ # If gcc is not configured for multilib, it still prints # a single line for the default settings - multilibs=( $("${CT_TARGET}-gcc" -print-multi-lib 2>/dev/null) ) + if [ "${CT_MULTILIB_GCC_ONLY}" = "y" ]; then + CT_DoLog EXTRA "Building of multilib C library Disabled" + multilibs=".;" + else + multilibs=( $("${CT_TARGET}-gcc" -print-multi-lib 2>/dev/null) ) + fi + for multilib in "${multilibs[@]}"; do multi_dir="${multilib%%;*}" if [ "${multi_dir}" != "." ]; then -- For unsubscribe information see http://sourceware.org/lists.html#faq