[nhc-bugs] Install Problems: IRIX6.5/gcc3.0.1

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Thu, 11 Oct 2001 17:45:51 +0100


Jim,

After playing around for a bit on IRIX 6.5, I still haven't managed
any significant progress on making nhc98 compile correctly there.

However, I did get it to bootstrap correctly on an IRIX 5.3 machine.
I recall in the past being able to use an executable on 6.x that had
been compiled on 5.x, so I tried that here, and it kind of works.
That is to say, the bootstrapped compiler runs and produces correct
code, but the 6.x linker refuses to link the 6.x object file with
the 5.x libraries we built earlier.  The error message is:

ld32: FATAL   12 : Expecting n32 objects:
                      /grp/haskell/lib/nhc98/mips-IRIX6/main.o is o32.

Can you shed any light what this might mean?  Am I inadvertently using
an SGI-linker rather than the Gnu one?  In any case, I suspect that
the linker is the underlying cause of our failure to produce a working
nhc98 on 6.x in the first place.

Regards,
    Malcolm