On Thu, Oct 03, 2002 at 08:36:36PM +0200, Jan Gacnik wrote: > Okay, I was able to link using '-flat_namespace -undefined suppress' > linker flags.
Great! How did you figure this out? > Shouldn't config.h automatically recognize my machine to be big endian? Yes, it should. Here's patch to fix it: *** \c50\config.h Fri Aug 30 18:59:32 2002 --- config.h Thu Oct 3 15:08:58 2002 *************** *** 4,10 **** // ***************** Important Settings ******************** // define this if running on a big-endian CPU ! #if !defined(IS_LITTLE_ENDIAN) && (defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__PPC__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) # define IS_BIG_ENDIAN #endif --- 4,10 ---- // ***************** Important Settings ******************** // define this if running on a big-endian CPU ! #if !defined(IS_LITTLE_ENDIAN) && (defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__ppc__) || defined(__PPC__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) # define IS_BIG_ENDIAN #endif
