public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/17043] New: Can't build a compiler that works for big and littleendian targets
@ 2004-08-16  0:23 peterc at gelato dot unsw dot edu dot au
  2004-08-16  0:26 ` [Bug target/17043] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: peterc at gelato dot unsw dot edu dot au @ 2004-08-16  0:23 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-03 17:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-16  0:23 [Bug driver/17043] New: Can't build a compiler that works for big and littleendian targets peterc at gelato dot unsw dot edu dot au
2004-08-16  0:26 ` [Bug target/17043] " pinskia at gcc dot gnu dot org
2004-08-16  0:44 ` peter at chubb dot wattle dot id dot au
2004-08-16  4:22 ` NitinY at KPITCummins dot com
2004-08-16 23:20 ` wilson at specifixinc dot com
2004-10-02  4:24 ` pinskia at gcc dot gnu dot org
2004-10-03 17:55 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).