[nhc-bugs] Trouble building nhc98 for AIX

John Goerzen jgoerzen at excelhustler.com
Thu Sep 30 12:24:09 EDT 2004


On Thursday 30 September 2004 11:14 am, Malcolm Wallace wrote:
> John Goerzen <jgoerzen at excelhustler.com> 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


More information about the Nhc-bugs mailing list