[nhc-bugs] Trouble building nhc98 for AIX

John Goerzen jgoerzen at complete.org
Mon Oct 4 12:00:10 EDT 2004


On Monday 04 October 2004 04:38 am, Malcolm Wallace wrote:
> John Goerzen <jgoerzen at complete.org> writes:
> Now that you have managed to get ghc built on your machine, you may
> no longer be interested in nhc98, but I wondered if you have yet
>
> tried the same hack you needed for ghc:
> > Oh, BTW, I had to put a script named gcc on my path.  It says this:
> >     exec /usr/local/bin/gcc -mpowerpc -maix32 -mminimal-toc "$@"

I have tried it, and the same problem occurs with that.

> And it might also be interesting to see if you can now build nhc98
> with your fresh ghc.  A success would mean I didn't need to worry
> any further.

Now that is quite interesting.  It appears to have *worked* being built 
using ghc, but not being built using gcc.  The only change was to 
harch, changing /etc/lsattr to lsattr.

Seems odd to me.

Anyway, this is a build of the 1.17 snapshot and it seems to be working 
OK.  (Though some of the features I was used to in System.Posix from 
ghc are missing, but that seems to be not an AIX-specific issue).

I am presently uploading tarballs to my site.  When complete, you will 
be able to download the AIX 5.1L PowerPC binDist or built source tree 
from:

http://quux.org/devel/AIX/nhc98

Wait 1-2 hours before checking.  (Sorry, this connection is slow for 
uploading).  Feel free to copy or link to those files anywhere you 
like.

Thank you for all your help.  I appreciate it.

-- John


More information about the Nhc-bugs mailing list