From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26811 invoked by alias); 18 Jan 2012 05:43:28 -0000 Received: (qmail 26798 invoked by uid 22791); 18 Jan 2012 05:43:27 -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,TW_XG X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Jan 2012 05:43:14 +0000 Received: by dang27 with SMTP id g27so586828dan.0 for ; Tue, 17 Jan 2012 21:43:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.190.67 with SMTP id go3mr36188654pbc.105.1326865393863; Tue, 17 Jan 2012 21:43:13 -0800 (PST) Received: by 10.143.7.4 with HTTP; Tue, 17 Jan 2012 21:43:13 -0800 (PST) In-Reply-To: References: Date: Wed, 18 Jan 2012 05:43:00 -0000 Message-ID: Subject: Re: libstdc++ configure fail due to -EL option From: Bryan Hundven To: Zhenqiang Chen Cc: 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/msg00033.txt.bz2 On Tue, Jan 17, 2012 at 9:36 PM, Zhenqiang Chen wrote: > Hi all, > > I try to build gcc trunk from crosstool-ng for arm-linux-gnueabi. But > xgcc reports error when configuring libstdc++ due to "-EL" option. > > =A0xgcc: error: unrecognized command line option '-EL' > > "-EL" is added to CT_ARCH_ENDIAN_LDFLAG since my .config uses little > endian. CT_ARCH_ENDIAN_LDFLAG is part of CT_ARCH_TARGET_LDFLAGS, which > is part of CT_TARGET_LDFLAGS. > In ./build/cc/gcc.sh: =A0 =A0LDFLAGS_FOR_TARGET=3D"${CT_TARGET_LDFLAGS}. > Then, at the end "-EL" is used to compile libstdc++. > > The build passes when I remove the "-EL". > > Is it a bug? Which gcc supports -EL/-EB option? > > Thanks! > -Zhenqiang Could you post your .config and build.log to pastebin or a file server? I don't have this problem with my arm configs. -Bryan -- For unsubscribe information see http://sourceware.org/lists.html#faq