From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23233 invoked by alias); 16 Aug 2004 00:23:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23226 invoked by uid 48); 16 Aug 2004 00:23:39 -0000 Date: Mon, 16 Aug 2004 00:23:00 -0000 From: "peterc at gelato dot unsw dot edu dot au" To: gcc-bugs@gcc.gnu.org Message-ID: <20040816002338.17043.peterc@gelato.unsw.edu.au> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug driver/17043] New: Can't build a compiler that works for big and littleendian targets X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01485.txt.bz2 List-Id: arm-linux-gcc --mbigendian -c creates the correct format .o files, but when the linker is called by arm-linux-gcc, the little-endian version of libgcc is always used. Moreover, the big-endian version of libgcc isn't built by default, I suspect that collect2 needs to be passed different linker scripts depending on whether the target is big or little-endian, and needs to provide different paths to the different libgcc.a There's probably some specs-file magic to do this. -- Summary: Can't build a compiler that works for big and littleendian targets Product: gcc Version: 3.3.4 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: peterc at gelato dot unsw dot edu dot au CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ia64-linux GCC host triplet: ia64-unknown-linux GCC target triplet: arm-linux-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17043