Where to find documentation on pre-defined macros

Brian Dessent brian@dessent.net
Wed Jul 25 23:10:00 GMT 2007


Lee Rhodes wrote:

>   Nonetheless, if I had to write low-level code that depended on ENDIANess,
> what is the most robust/platform-independent way to make that determination
> (and not pay run-time execution costs)?

Autoconf has the AC_C_BIGENDIAN macro that will determine the
endian-ness of the target at configure time.

Brian



More information about the Gcc-help mailing list