Out of curiosity, what is different in the ppc and intel headers for 1.2349? I see that both are available on the Source download page. -Randy
Hi Randy, Python and also the Tiff image library create header files tailored to the operating system and CPU when you compile them. Those machine specific header files say for instance that the PPC processor stores 4-byte integer or float values in one byte order while the Intel processor stores them in the opposite order (big-endian vs little-endian). Below are all the differences between the Mac PPC and Intel headers for 1.2349. Tom $ diff -r chimera-mac-ppc chimera-mac-intel diff -r chimera-mac-ppc/include/python2.4/pyconfig.h chimera-mac-intel/include/python2.4/pyconfig.h 139c139 < /* #undef HAVE_FSTATVFS */ ---
#define HAVE_FSTATVFS 1 151c151 < /* #undef HAVE_FTIME */
#define HAVE_FTIME 1 259c259 < /* #undef HAVE_LCHOWN */
#define HAVE_LCHOWN 1 370c370 < /* #undef HAVE_RL_CALLBACK */
#define HAVE_RL_CALLBACK 1 376c376 < /* #undef HAVE_RL_COMPLETION_APPEND_CHARACTER */
#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1 382c382 < /* #undef HAVE_RL_PRE_INPUT_HOOK */
#define HAVE_RL_PRE_INPUT_HOOK 1 445c445 < /* #undef HAVE_STATVFS */
#define HAVE_STATVFS 1 807c807 < #define WORDS_BIGENDIAN 1
/* #undef WORDS_BIGENDIAN */ 820c820 < /* #undef _FILE_OFFSET_BITS */
#define _FILE_OFFSET_BITS 64 826c826 < /* #undef _LARGEFILE_SOURCE */
#define _LARGEFILE_SOURCE 1 diff -r chimera-mac-ppc/include/tiffconf.h chimera-mac-intel/include/tiffconf.h 33c33 < #define HOST_FILLORDER FILLORDER_MSB2LSB
#define HOST_FILLORDER FILLORDER_LSB2MSB 37c37 < #define HOST_BIGENDIAN 1
#define HOST_BIGENDIAN 0 $
participants (2)
-
Randy Heiland
-
Tom Goddard