Compiling 32-bit GHC on a 64-bit Mac
Johan Tibell
johan.tibell at gmail.com
Mon Jun 6 12:08:18 CEST 2011
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?
>
> 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?
Cheers,
Johan
More information about the Glasgow-haskell-users
mailing list