From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7331 invoked by alias); 18 Jan 2012 07:10:59 -0000 Received: (qmail 7323 invoked by uid 22791); 18 Jan 2012 07:10:58 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Jan 2012 07:10:45 +0000 Received: by pbcc4 with SMTP id c4so4013066pbc.0 for ; Tue, 17 Jan 2012 23:10:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.115.108 with SMTP id jn12mr41793970pbb.54.1326870645348; Tue, 17 Jan 2012 23:10:45 -0800 (PST) Received: by 10.143.7.4 with HTTP; Tue, 17 Jan 2012 23:10:45 -0800 (PST) In-Reply-To: References: Date: Wed, 18 Jan 2012 07:10:00 -0000 Message-ID: Subject: Re: libstdc++ configure fail due to -EL option From: Bryan Hundven To: Zhenqiang Chen Cc: Khem Raj , crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-01/txt/msg00036.txt.bz2 On Tue, Jan 17, 2012 at 11:09 PM, Zhenqiang Chen wrote: >> >> -EL is only valid for mips gcc as far as ct-ng is concerned. It should >> not be used for arm configurations since arm is little endian by >> default pluis this is an invalid option you need >> -mlittle-endian for arm if you really want to specify it explicitly. > > -EL/-EB is added in crosstool-ng automatically. Here is the code > segment in scripts/functions > > CT_DoBuildTargetTuple() { > =A0 =A0# Set the endianness suffix, and the default endianness gcc option > =A0 =A0case "${CT_ARCH_ENDIAN}" in > =A0 =A0 =A0 =A0big) > =A0 =A0 =A0 =A0 =A0 =A0target_endian_eb=3Deb > =A0 =A0 =A0 =A0 =A0 =A0target_endian_el=3D > =A0 =A0 =A0 =A0 =A0 =A0CT_ARCH_ENDIAN_CFLAG=3D"-mbig-endian" > =A0 =A0 =A0 =A0 =A0 =A0CT_ARCH_ENDIAN_LDFLAG=3D"-EB" > =A0 =A0 =A0 =A0 =A0 =A0;; > =A0 =A0 =A0 =A0little) > =A0 =A0 =A0 =A0 =A0 =A0target_endian_eb=3D > =A0 =A0 =A0 =A0 =A0 =A0target_endian_el=3Del > =A0 =A0 =A0 =A0 =A0 =A0CT_ARCH_ENDIAN_CFLAG=3D"-mlittle-endian" > =A0 =A0 =A0 =A0 =A0 =A0CT_ARCH_ENDIAN_LDFLAG=3D"-EL" > =A0 =A0 =A0 =A0 =A0 =A0;; > =A0 =A0esac I was just about to respond with the same thing ;) I would still like to see the .config and build.log, please. -- For unsubscribe information see http://sourceware.org/lists.html#faq