From: Joachim Nilsson <jocke@vmlinux.org>
To: crossgcc@sourceware.org
Subject: Is it possible to build a cross compiler supporting both big & little endian?
Date: Sun, 06 Sep 2009 15:59:00 -0000 [thread overview]
Message-ID: <4AA3DC6A.6030709@vmlinux.org> (raw)
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
next reply other threads:[~2009-09-06 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-06 15:59 Joachim Nilsson [this message]
2009-09-06 16:14 ` Yann E. MORIN
2009-09-06 16:27 ` Joachim Nilsson
2009-09-06 16:20 ` Ralf Corsepius
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AA3DC6A.6030709@vmlinux.org \
--to=jocke@vmlinux.org \
--cc=crossgcc@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).