public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* adding little endian support
@ 2011-04-27 15:00 naga raj
  2011-04-27 16:05 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: naga raj @ 2011-04-27 15:00 UTC (permalink / raw)
  To: gcc-help

Hi,

  Can any one please guide me, how to add little endian support to an
embedded target
  please refer to any link that helps in adding the little endian support.

   I am using gcc-4.6.


Thanks in advance
Nagaraju M

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

* Re: adding little endian support
  2011-04-27 15:00 adding little endian support naga raj
@ 2011-04-27 16:05 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-04-27 16:05 UTC (permalink / raw)
  To: naga raj; +Cc: gcc-help

naga raj <gnuuser.raj@gmail.com> writes:

>   Can any one please guide me, how to add little endian support to an
> embedded target
>   please refer to any link that helps in adding the little endian support.

If you are very lucky then you just have to change the definition of
BYTES_BIG_ENDIAN in your gcc/config/CPU/CPU.h file.

This is described in the gcc internals manual.

Ian

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

end of thread, other threads:[~2011-04-27 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-27 15:00 adding little endian support naga raj
2011-04-27 16:05 ` Ian Lance Taylor

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