unprincipled skulduggery with GHC 6.12 + dylibs on Mac OS X 2
Mac OS X needed a bit of love to get GHC HEAD to build on it, but it does seem possible.
The secret sauce:
first, apply this patch
It's not very polished and almost certainly breaks the Linux build, but it'll work ok for Mac.
Then, create a file "build.mk" in the root ghc directory, with the content
SplitObjs=NO GhcLibWays=v dynfinally, GMP seems to resent being ignored: it needs a special flag passed to GCC, namely -read_only_relocs suppress. I assume there's a good way to tell GHC to use the flag: I cheated, and used make -v to get the gcc line that was failing, copy-pasted it and added the flags. Inelegant, but it seemed to work. Anyway, this is as far as i've got so far - the make step works, but then 'make install' complains about the package 'rts' not having an 'inplace' suffix. Bizarre, but I'll keep digging.

This is exactly the kind of problems I ran into when playing with Ruby/Haskell before, GHC just doesn’t play very nicely with OSX. If you ever want to bounce ideas off me, ping me on IRC (cschneid on freenode).
ah, and unbroken again with this patch. Let it never be said that following GHC dev isn’t a fun-packed rollercoaster ride.