Re: GHC on Snow Leopard: best practices?

2009-10-07 Thread Barney Stratford
I'm back in Cambridge now. Snowdonia was great, and just as wet as  
expected.


As far as I'm aware, nobody's got a fully functioning Snow Leopard GHC  
yet. Just before going away, I tried to use my partly-functioning 64- 
bit GHC to build 6.10, but found that the stage 1 compiler segfaulted.


My plan now is to get 6.8.3 fully working so that we all have  
something, if a little old, that works. (This is because I need it for  
another project.) Once I've managed this, I'll post a full set of  
instructions to get everyone else going too. Then I plan to attempt to  
get 6.12 working, and provide a binary that can be used for  
bootstrapping. (I may need some pointers for this.)


Incidentally, 6.12 doesn't appear to be in http://www.haskell.org/ghc/dist/ 
 , only in the Darcs repo. Was that intentional?


So far, the sticking point has been getting the interactive linker to  
work. Snow Leopard has much tighter security than its predecessors, so  
we have to use mmap. Unfortunately, the mmap version of GHC's linker  
also requires mremap, which is a Linux-only extension that Snow  
Leopard doesn't have.


See you,
Barney.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Snow Leopard GHC

2009-10-07 Thread Barney Stratford
I am happy to take care of funnelling Barney's changes into the main  
repo.  However, I think there was at least one more mentioned in  
another email.
The other change is already in the repo. That's where I borrowed it  
from in the first place.


Barney.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users