Am 06.06.2011 12:08, schrieb Johan Tibell:
On Sun, Jun 5, 2011 at 2:38 PM, Ian Lynagh<[email protected]>  wrote:
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.

Running the OS X installers is a bit intrusive. Is there a way to get
a 32-bit version directly from source?

You need a 32-bit bootstrapping compiler as binary. The above binary-dist does not use the OS X installer (as it does not end in .pkg)

Cheers Christian


Cheers,
Johan

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to