From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29374 invoked by alias); 18 Jan 2012 05:52:07 -0000 Received: (qmail 29365 invoked by uid 22791); 18 Jan 2012 05:52:05 -0000 X-SWARE-Spam-Status: No, hits=-2.3 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-lpp01m010-f41.google.com (HELO mail-lpp01m010-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Jan 2012 05:51:52 +0000 Received: by lagw12 with SMTP id w12so966265lag.0 for ; Tue, 17 Jan 2012 21:51:51 -0800 (PST) Received: by 10.152.111.200 with SMTP id ik8mr9656248lab.43.1326865911384; Tue, 17 Jan 2012 21:51:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.161 with HTTP; Tue, 17 Jan 2012 21:51:20 -0800 (PST) In-Reply-To: References: From: Khem Raj Date: Wed, 18 Jan 2012 05:52:00 -0000 Message-ID: Subject: Re: libstdc++ configure fail due to -EL option To: Zhenqiang Chen Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 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/msg00034.txt.bz2 On Tue, Jan 17, 2012 at 9:36 PM, Zhenqiang Chen wrote: > I try to build gcc trunk from crosstool-ng for arm-linux-gnueabi. But > xgcc reports error when configuring libstdc++ due to "-EL" option. > > =C2=A0xgcc: error: unrecognized command line option '-EL' > -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. -- For unsubscribe information see http://sourceware.org/lists.html#faq