From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14522 invoked by alias); 6 Sep 2009 15:59:53 -0000 Received: (qmail 14512 invoked by uid 22791); 6 Sep 2009 15:59:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from vmlinux.org (HELO vmlinux.org) (193.41.214.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Sep 2009 15:59:43 +0000 Received: from localhost (localhost [127.0.0.1]) by vmlinux.org (Postfix) with ESMTP id 2CFE81DDA27D for ; Sun, 6 Sep 2009 17:59:45 +0200 (CEST) Received: from vmlinux.org ([127.0.0.1]) by localhost (vmlinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zbNPBPvRfNct for ; Sun, 6 Sep 2009 17:59:42 +0200 (CEST) Received: from [192.168.1.124] (90-224-113-214-no111.tbcn.telia.com [90.224.113.214]) by vmlinux.org (Postfix) with ESMTPSA id BC3EB1DDA0C7 for ; Sun, 6 Sep 2009 17:59:42 +0200 (CEST) Message-ID: <4AA3DC6A.6030709@vmlinux.org> Date: Sun, 06 Sep 2009 15:59:00 -0000 From: Joachim Nilsson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090715 Lightning/1.0pre Thunderbird/3.0b3 MIME-Version: 1.0 To: crossgcc@sourceware.org Subject: Is it possible to build a cross compiler supporting both big & little endian? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-09/txt/msg00022.txt.bz2 Hi! We run both little and big endian Arm targets at work. Currently both are Arm9 so naturally I started thinking about creating one single toolchain to bind them all... I put together a standard arm-unknown-linux-uclibc with crosstool and building the kernel worked fine using "-mbig-endian -mcpu=xscale -mtune=xscale -msoft-float", but when I reached userspace the first effort at linking with libgcc of course failed. So I wonder, is it even possible to maintain one toolchain supporting different endians? Regards /Jocke -- For unsubscribe information see http://sourceware.org/lists.html#faq