[tlbuild] sharable format files

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun Sep 27 01:53:15 CEST 2009


> ... ...
> I don't understand why it worked on sparc-linux,

If some conditions are satisfied, WORDS_BIGENDIAN
is defined in texmfmp.h:

/* If we have these macros, use them, as they provide a better guide to
   the endianess when cross-compiling. */
#if defined (BYTE_ORDER) && defined (BIG_ENDIAN) && defined (LITTLE_ENDIAN)
#ifdef WORDS_BIGENDIAN
#undef WORDS_BIGENDIAN
#endif
#if BYTE_ORDER == BIG_ENDIAN
#define WORDS_BIGENDIAN
#endif
#endif
/* More of the same, but now NeXT-specific. */
#ifdef NeXT
#ifdef WORDS_BIGENDIAN
#undef WORDS_BIGENDIAN
#endif
#ifdef __BIG_ENDIAN__
#define WORDS_BIGENDIAN
#endif
#endif

Best regards,
Akira



More information about the tlbuild mailing list