RE: Robust detection of endianness at compile time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Detecting endianness at compile time - IIRC, some CPUs (MIPS and Alpha come to mind) 
are configurable to support either.  Does anyone have any links for details on this?
(I quickly googled for it but came up short.)  I don't know if it is hardware or software
configurable, and, if it is the latter, if it's on a per-thread basis, and/or if it
can be configured by non-supervisor code.  Anyway, depending on these details, it may
be "dangerous" to assume an endianness at compile-time - or am I really missing the
mark here?
Thanks,
   Mike 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux