
On 11 July 2010 07:46, John Meacham
On Sun, Jul 11, 2010 at 01:20:26AM -0500, Antoine Latter wrote:
Now compiling with jhc I end up with: hs.out_code.c:85:2: error: #error Could not determine Byte Order
Attached is a patch which fixes this for me, although I only have a Mac to test it on.
Interesting. can you send me some information on your system? like the output of 'uname -a' and 'gcc --version'?
FWIW I had the same problem. Mac OS X 10.6.4: """ $ uname -a Darwin REDACTED.ac.uk 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. """ Cheers, Max