public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Is it possible to build a cross compiler supporting both big & little  endian?
@ 2009-09-06 15:59 Joachim Nilsson
  2009-09-06 16:14 ` Yann E. MORIN
  2009-09-06 16:20 ` Ralf Corsepius
  0 siblings, 2 replies; 4+ messages in thread
From: Joachim Nilsson @ 2009-09-06 15:59 UTC (permalink / raw)
  To: crossgcc

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

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

end of thread, other threads:[~2009-09-06 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-06 15:59 Is it possible to build a cross compiler supporting both big & little endian? Joachim Nilsson
2009-09-06 16:14 ` Yann E. MORIN
2009-09-06 16:27   ` Joachim Nilsson
2009-09-06 16:20 ` Ralf Corsepius

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).