Regarding my complaints about seg-v's with multi-dimensional arrays
(not reproducible at Glasgow), I think I have been suffering from
version-mismatches. I had several version of ghc installed, some in
their own tree, some in /usr/local, with and without version
suffixes/symlinks. Since I cleaned up the mess, the problem has gone.
I was definitely importing ghc-2.05 imports when compiling with
ghc-3.01 !
It is disturbingly easy to do.
But I would have thought ghc could do some version checking on imports
and libraries (I know about -link-chk). Is it possible to check that the
interface and library have the same version ?
green-card-2.0 compiled fine (I think) with ghc-3.01, but there are
still a couple of problems:
(i) I had to remove a ^G from the start of green-card/lib/ghc/Makefile
(ii) make all has problems at this point:
make[2]: Entering directory `/usr/local/build/green-card-2.0/lib/ghc'
green-card --target ghc StdDIS.gc
Fail: lexer error on line: 173
make[2]: *** [StdDIS.hs] Error 1
This is presumably just a test, but it implies that green-card-2.0 is
not going to work with ghc as things stand.
make then continues into lib/hugs which goes okay. Then make happily
finishes up without reporting an error at the end!
Also, green-card-2.0 has no install target in its Makefiles.
Tim
--
----------------------------------------------------------------------
T.R.BARBOUR Email : [EMAIL PROTECTED]
----------------------------------------------------------------------
Department of Computer Science
The University of Melbourne
Parkville, Victoria 3052
Australia
----------------------------------------------------------------------