This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16350] gcc only understands little endian ARM systems
- From: "mkl at pengutronix dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2012 23:23:56 +0000
- Subject: [Bug target/16350] gcc only understands little endian ARM systems
- Auto-submitted: auto-generated
- References: <bug-16350-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350
--- Comment #28 from Marc Kleine-Budde <mkl at pengutronix dot de> 2012-02-13 23:23:56 UTC ---
(In reply to comment #27)
> The precise scope of this bug is unclear to me.
It's linux specific.
> Big endian Linux targets _do_ seem to work now, and -mbig-endian generates
> correct code regardless; however, non-Linux big-endian targets do not seem to
> be recognized as big-endian by default (which means libgcc is built in little
> endian mode, etc.).
>
> See bug 52187 (which may be a dupe of this one, depending on how you interpret
> the scope of this bug).
As Richard sid (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187#c3) you can
activate multilib on non-linux target and have both big and little endian
libgcc.
regards, Marc