From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14972 invoked by alias); 18 May 2004 14:11:27 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14954 invoked from network); 18 May 2004 14:11:26 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by sourceware.org with SMTP; 18 May 2004 14:11:26 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.12.10/8.12.10) with ESMTP id i4IEBNS7028724; Tue, 18 May 2004 16:11:23 +0200 (CEST) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.12.5+Sun/8.12.5/ImagV2.1.pm) with ESMTP id i4IEBMEL013693; Tue, 18 May 2004 16:11:22 +0200 (CEST) Message-ID: <40AA1A03.C24308D8@imag.fr> Date: Tue, 18 May 2004 14:11:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Arm and big endian Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information X-SW-Source: 2004-05/txt/msg00208.txt.bz2 Having browsed the archive of the list, I know that a lot of questions around this subject were posted in the past, but I did not found any clear answer to the problem I am faced to : I want to compile gcc and newlib so that big endian code is generated for newlib (this is for teaching purpose). Though I understand that multilib is activated by default, I do not need the multilib option since I want 32 bits and big endian code only. The configure doc. (in INSTALL dir.) says that there is an option for disabling biendian (BTW, does here "bi" mean "big" or "bi-" ?...), but nothing for enabling it. I tried --enable-biendian : configure does not complain about it but apparently does not take it in account. So my question is : What configure option I have to set up for gcc in order to get newlib being cross-compiled to big endian code ? Has someone succeeded in doing that (with or without multilib support) ? Thanks a lot in advance for any help ! Pierre -- Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex