Compiling 32-bit GHC on a 64-bit Mac

Ian Lynagh igloo at earth.li
Sun Jun 5 14:38:31 CEST 2011


On Sun, Jun 05, 2011 at 02:10:39PM +0200, Johan Tibell wrote:
> 
> I need to reproduce a bug that only appears on 32-bit machines. I
> don't own such a machine but I was hoping I could compile a 32-bit GHC
> on my Mac and debug using that. What changes do I need to make (e.g.
> to build/mk) to build a 32-bit GHC?

Install
    http://www.haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-apple-darwin.tar.bz2
and make sure its ghc is first in your path.

Then build as normal.


Thanks
Ian




More information about the Glasgow-haskell-users mailing list