Re: Snow Leopard GHC

2009-09-24 Thread Barney Stratford
Only limited success with GHCi, I'm afraid. The problem seems to be that Snow Leopard is much stricter about security than Leopard was. (Caveat - I don't really know what I'm talking about.) In particular, I don't think it will let you execute code outside of the __TEXT segment, which is ex

Re: [Haskell-cafe] Status of GHC as a Cross Compiler

2009-09-24 Thread Ben Lippmeier
No, GHC won't be a native cross compiler in 6.12. There are #ifdefs through the code which control what target architecture GHC is being compiled for, and at the moment it doesn't support the host architecture being different from the target architecture. I did some work on the native cod

Re: Snow Leopard GHC

2009-09-24 Thread Simon Marlow
On 24/09/2009 09:55, Barney Stratford wrote: Latest update on getting GHC working 64-bit on Snow Leopard. I've been building 6.8.3, simply because it was the version I had running before so might give fewer problems. To get the compiler working, apply this patch (which I borrowed from the Darcs

Re: Snow Leopard GHC

2009-09-24 Thread Barney Stratford
Latest update on getting GHC working 64-bit on Snow Leopard. I've been building 6.8.3, simply because it was the version I had running before so might give fewer problems. To get the compiler working, apply this patch (which I borrowed from the Darcs repository): diff -uit a/compiler/cmm/