A few Questions on OS X ghc-6.4.3 fix

Peter Tanski peter_tanski at cox.net
Sat Oct 21 17:56:30 EDT 2006


Simon,

Sorry for yet another typo:
#pragma options align=4

should have been:
#pragma options align=power

A definition might be:

#if powerpc_HOST_ARCH
#define ALIGN_POWER "#pragma options align=power"
#define ALIGN_POWER_RESET "#pragma options align=reset"
#else
#define ALIGN_POWER
#define ALIGN_POWER_RESET
#endif

I will try this out and see if the resulting code is any cleaner.

Cheers,
Pete



More information about the Cvs-ghc mailing list