Is GHC 6.8.2 on solaris 32 bits or 64 bits

Christian Maeder Christian.Maeder at dfki.de
Mon Feb 4 05:04:55 EST 2008


Simon Marlow wrote:
> hsing-chou chen wrote:
>> Thank you for porting GHC 6.8.2 to solaris, I am assigned a
>>
>> job to make sure GHC run 64 bits on solaris. Is your
>>
>> solaris port 64 bits. Or it only 32 BITS. I know 32 bits
>>
>> GHC can still run on 64 bits solaris. However company want
>>
>> to run really 64 bits GHC on solaris. Thanks a lot if you
> 
> You want to look at the porting instructions:
> 
> http://hackage.haskell.org/trac/ghc/wiki/Building/Porting
> 
> Start from GHC 6.6.1 (6.8.2 doesn't bootstrap from .hc files yet).
> 
> This won't be easy, you'll need to know details of the processor
> architecture, and be prepared to learn about GHC internals.  But it'll
> be fun, if you like that sort of thing :)

That's too much for me. I'll wait until ghc-6.8 (or ghc-6.10) can be
bootstrapped from C-sources.

One (maybe minor) problem under Solaris (and MacOS I think) is that
already configure decides by default to be under i386, i.e. in 32bit
mode (through "arch" or "uname -p").

Only extending the call to gcc with "-m64" will create 64Bit code.

You have done it under Linux. Maybe you find an easy path from 32Bit to
64Bit under Linux that one may also try under Solaris and Macs.

Cheers Christian



More information about the Glasgow-haskell-users mailing list