From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31460 invoked by alias); 26 Feb 2014 20:05:49 -0000 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 Received: (qmail 31405 invoked by uid 89); 26 Feb 2014 20:05:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f42.google.com Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 26 Feb 2014 20:05:47 +0000 Received: by mail-wg0-f42.google.com with SMTP id x13so2072960wgg.13 for ; Wed, 26 Feb 2014 12:05:43 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.21.193 with SMTP id x1mr3983266wje.33.1393445143865; Wed, 26 Feb 2014 12:05:43 -0800 (PST) Received: by 10.227.206.2 with HTTP; Wed, 26 Feb 2014 12:05:43 -0800 (PST) In-Reply-To: <530E45F5.1040404@linaro.org> References: <530E2237.50603@linaro.org> <530E45F5.1040404@linaro.org> Date: Wed, 26 Feb 2014 20:05:00 -0000 Message-ID: Subject: Re: multilib-list From: Ray Donnelly To: Trevor Woerner Cc: "crossgcc@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00074.txt.bz2 On Wed, Feb 26, 2014 at 7:52 PM, Trevor Woerner wrote: > Hello Ray, > > On 02/26/14 13:33, Ray Donnelly wrote: >> AFAIK --with-multilib-list is only supported on intel and sh and in >> GCC 4.9 it's also supported for arm. > > Specifically I have been working with the gcc-arm-embedded code from > https://launchpad.net/gcc-arm-embedded (and I've noticed some of the > contributors to that project are also subscribed to this list). I assume > it is this work which will eventually be the gcc-4.9 you mention? AFAIK, Bryan Hundven was going to exclude --with-multilib-list for arm if gcc < 4.9, and exclude it altogether for all arches other than Intel, arm and sh. crosstool-ng had limited broken multilib support and this series attempts to fix that. > >> If you're interested in multilib support, a few of us have been >> contributing to the following patch queue: >> >> https://bitbucket.org/bhundven/crosstool-ng-multilib > > Any chance you could point me to some information on how to use a second > remote patch queue with mercurial? I would like to work with these > patches, but I'm rather new to mercurial, never mind its queue add-on. > I'm also quite new to mercurial, so someone may need to correct me. Tutorial: http://mercurial.selenic.com/wiki/MqTutorial Some useful commands to get started (I grabbed these from my bash history). To clone: hg qclone -p https://bitbucket.org/bhundven/crosstool-ng-multilib http://crosstool-ng.org/hg/crosstool-ng crosstool-ng-multilib To list the patches in-order: hg qseries To see where you are in the list: hg qapplied (I think hg log will also do this, I do hg log | less as otherwise it's a bit spew happy) To push (apply) all patches: hg qpush -a To pop (un-apply) all patches: hg qpush -a (you can use a name from the series instead of -a to push / pop to that point) To change the patch you're currently at with your working tree hg qrefresh To change the message of the patch hg qrefresh -e > Why not just have a patch that allows the user to specify the list > themselves? > > diff -r 043b9b789b7d config/target.in > --- a/config/target.in Wed Feb 26 13:53:25 2014 -0500 > +++ b/config/target.in Wed Feb 26 14:45:22 2014 -0500 > @@ -77,6 +77,15 @@ > NOTE: The multilib feature in crosstool-NG is not well-tested. > Use at your own risk, and report success and/or failure. > > +config MULTILIB_LIST > + string > + prompt "Additional multilib architectures to support" > + depends on MULTILIB > + default "" > + help > + Provide GCC with a comma-separated list of additional > architectures for > + which to build multilib support. > + > #-------------------------------------- > config ARCH_SUPPORTS_BOTH_MMU > bool > diff -r 043b9b789b7d scripts/build/cc/gcc.sh > --- a/scripts/build/cc/gcc.sh Wed Feb 26 13:53:25 2014 -0500 > +++ b/scripts/build/cc/gcc.sh Wed Feb 26 14:45:22 2014 -0500 > @@ -377,6 +377,9 @@ > > if [ "${CT_MULTILIB}" = "y" ]; then > extra_config+=("--enable-multilib") > + if [ -n "${CT_MULTILIB_LIST}" ]; then > + extra_config+=("--with-multilib-list=${CT_MULTILIB_LIST}") > + fi > else > extra_config+=("--disable-multilib") > fi > -- For unsubscribe information see http://sourceware.org/lists.html#faq