Re: Trouble building nhc98 for AIX

John Goerzen <[email protected]> Thu, 30 Sep 2004 11:24:09 -0500
Newsgroups gmane.comp.lang.haskell.nhc.bugs
Message-ID <[email protected]>
On Thursday 30 September 2004 11:14 am, Malcolm Wallace wrote:
> John Goerzen <[email protected]> writes:
> > >    
> > > ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/nhc98src-1.17.tar.gz
> >
> > Got it, but build crashed with the same error:
>
> OK, so we are definitely stuck now.  Out of interest, does your
> machine have a 64-bit processor?  Currently nhc98 only works for
> 32-bit machines.

Yes.  However, from the gcc docs:

`-maix64'
`-maix32'
     Enable 64-bit AIX ABI and calling convention: 64-bit pointers,
     64-bit `long' type, and the infrastructure needed to support them.
     Specifying `-maix64' implies `-mpowerpc64' and `-mpowerpc', while
     `-maix32' disables the 64-bit ABI and implies `-mno-powerpc64'.
     GCC defaults to `-maix32'.

In other words, the system is dual-mode and runs in 32-bit mode by 
default.

-- 
John Goerzen