From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6424 invoked by alias); 18 Jan 2012 07:09:24 -0000 Received: (qmail 6415 invoked by uid 22791); 18 Jan 2012 07:09:23 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Jan 2012 07:09:11 +0000 Received: by wicr5 with SMTP id r5so4650435wic.0 for ; Tue, 17 Jan 2012 23:09:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.19.42 with SMTP id b10mr29249359wie.13.1326870549563; Tue, 17 Jan 2012 23:09:09 -0800 (PST) Received: by 10.216.89.204 with HTTP; Tue, 17 Jan 2012 23:09:09 -0800 (PST) In-Reply-To: References: Date: Wed, 18 Jan 2012 07:09:00 -0000 Message-ID: Subject: Re: libstdc++ configure fail due to -EL option From: Zhenqiang Chen To: Khem Raj Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00035.txt.bz2 > > -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() { # Set the endianness suffix, and the default endianness gcc option case "${CT_ARCH_ENDIAN}" in big) target_endian_eb=eb target_endian_el= CT_ARCH_ENDIAN_CFLAG="-mbig-endian" CT_ARCH_ENDIAN_LDFLAG="-EB" ;; little) target_endian_eb= target_endian_el=el CT_ARCH_ENDIAN_CFLAG="-mlittle-endian" CT_ARCH_ENDIAN_LDFLAG="-EL" ;; esac -- For unsubscribe information see http://sourceware.org/lists.html#faq