Compiling 32-bit GHC on a 64-bit Mac
Christian.Maeder at dfki.de
Mon Jun 6 13:20:50 CEST 2011
Am 06.06.2011 12:08, schrieb Johan Tibell:
> On Sun, Jun 5, 2011 at 2:38 PM, Ian Lynagh<igloo at earth.li> 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?
>> 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)
More information about the Glasgow-haskell-users