[Haskell-cafe] Re: compiling 32 bits haskell program on 64 bits linux

2010-03-17 Thread Vincent Hanquez
On Tue, Mar 16, 2010 at 06:27:42PM +0100, Christian Maeder wrote: > I think you need to install the 32bit ghc first, because you'll need all > the 32bit haskell libs. At least I was able to use the 32bit ghc > (version 6.8.2) on a 64 bit linux by changing the script in the bin > directory from >

[Haskell-cafe] Re: compiling 32 bits haskell program on 64 bits linux

2010-03-16 Thread Christian Maeder
I think you need to install the 32bit ghc first, because you'll need all the 32bit haskell libs. At least I was able to use the 32bit ghc (version 6.8.2) on a 64 bit linux by changing the script in the bin directory from exec $GHCBIN $TOPDIROPT ${1+"$@"} to exec $GHCBIN -optc-m32 -opta-m32 -opt