From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10315 invoked by alias); 18 Jan 2012 05:36:32 -0000 Received: (qmail 10046 invoked by uid 22791); 18 Jan 2012 05:36:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_XG 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 05:36:18 +0000 Received: by wicr5 with SMTP id r5so4601011wic.0 for ; Tue, 17 Jan 2012 21:36:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.94.97 with SMTP id db1mr33937808wib.16.1326864977634; Tue, 17 Jan 2012 21:36:17 -0800 (PST) Received: by 10.216.89.204 with HTTP; Tue, 17 Jan 2012 21:36:17 -0800 (PST) Date: Wed, 18 Jan 2012 05:36:00 -0000 Message-ID: Subject: libstdc++ configure fail due to -EL option From: Zhenqiang Chen To: 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/msg00032.txt.bz2 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. xgcc: 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: LDFLAGS_FOR_TARGET="${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 -- For unsubscribe information see http://sourceware.org/lists.html#faq