2.08 little bug

1997-10-10 Thread Justin Cormack

Just a minor thing in 2.08, install copies the driver to bin/ghc and sets
a symlink from ghc-2.08 to ghc rather than the other way round so it overwrites
the old copy...

  94 -rwxr-xr-x   1 jpc195903 Oct  9 17:56 ghc
   1 lrwxrwxrwx   1 jpc13 Oct  2 17:01 ghc-2.07 - ghc
   1 lrwxrwxrwx   1 jpc13 Oct  9 17:56 ghc-2.08 - ghc

totally painless install (from sparc solaris binary) otherwise.

justin




Re: 2.07 binary installation

1997-10-02 Thread Justin Cormack

 
 
 There's a tpyo in Makefile.in, change PACKAGE_LIBSCRIPTS to
 PACKAGE_LIB_SCRIPTS.
 
 --Sigbjorn
 

ok, so far so good, install was happy, then testing gives:

/homes/jpc1/bin/ghc: =2-space GC: not found
/homes/jpc1/bin/ghc: =dual-mode GC: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =-prof -fscc-profiling -DPROFILING -optc-DPROFILING: not found
/homes/jpc1/bin/ghc: =-fticky-ticky -DTICKY_TICKY -optc-DTICKY_TICKY: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =-concurrent -fstack-check -fconcurrent -D__CONCURRENT_HASKELL__ 
-optc-DCONCURRENT: not found
/homes/jpc1/bin/ghc: =-prof -concurrent -fstack-check -fconcurrent -fscc-profiling 
-D__CONCURRENT_HASKELL__ -DPROFILING -optc-DCONCURRENT -optc-DPROFILING: not found
/homes/jpc1/bin/ghc: =-ticky -concurrent -fstack-check -fconcurrent -fticky-ticky 
-D__CONCURRENT_HASKELL__ -DTICKY-TICKY -optc-DCONCURRENT -optc-DTICKY_TICKY: not found
/homes/jpc1/bin/ghc: =-parallel -fstack-check -fconcurrent -D__PARALLEL_HASKELL__ 
-optc-DPAR -optc-DCONCURRENT: not found
/homes/jpc1/bin/ghc: =-gransim -fstack-check -fconcurrent -fgransim -D__GRANSIM__ 
-D__CONCURRENT_HASKELL__ -optc-DCONCURRENT -optc-DGRAN: not found
/homes/jpc1/bin/ghc: =-1s -optc-DGC1s: not found
/homes/jpc1/bin/ghc: =-2s -optc-DGC2s: not found
/homes/jpc1/bin/ghc: =-du -optc-DGCdu: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: =: not found
/homes/jpc1/bin/ghc: syntax error at line 114: `=~' unexpected



installing 2.05 problem

1997-08-07 Thread Justin Cormack

Compiling 2.05 with 2.02 (SunOS) it gets most of the way until I get the
message below:


ghc-2.02 -cpp -fhaskell-1.3 -fglasgow-exts -DCOMPILING_GHC -Rghc-timing -I. -IcodeGen 
-InativeGen -Iparser -iutils -ibasicTypes -itypes -ihsSyn -iprelude -irename 
-itypecheck -ideSugar -icoreSyn -ispecialise -isimplCore -istranal -istgSyn -isimplStg 
-icodeGen -iabsCSyn -imain -ireader -iprofiling -iparser -inativeGen -recomp 
-DOMIT_DEFORESTER   -fvia-C '-#include"hspincl.h"'  -c parser/U_binding.hs -o 
parser/U_binding.o -osuf o
ld.so: warning: /usr/lib/libc.so.1.8.3 has older revision than expected 9
 
parser/U_binding.hs:6: Could not find valid interface file for `FastString'
 
parser/U_binding.hs:7: Could not find valid interface file for `UgenUtil'
 
parser/U_binding.hs:9: Could not find valid interface file for `U_constr'
 
parser/U_binding.hs:10: Could not find valid interface file for `U_list'
 
parser/U_binding.hs:11: Could not find valid interface file for `U_maybe'
 
parser/U_binding.hs:12: Could not find valid interface file for `U_qid'
 
parser/U_binding.hs:13: Could not find valid interface file for `U_ttype'


Compilation had errors
gmake[2]: *** [parser/U_binding.o] Error 1




parsing differences

1997-07-31 Thread Justin Cormack

Hugs will happily accept definitions such as:
(f `cross` g) (x, y) = (f x , g y)
while ghc gives
parse error on input: "cross"

It is not that ghc doesn't like any definition with `` on the left, as
x `op` y = x + y is fine, it just seems to be cases with brackets.

It is not entirely clear from the language spec whether or not this is valid,
but it does seem more consistent to allow this.

Justin Cormack



Haskell 1.4 Prelude bug

1997-07-23 Thread Justin Cormack

Is there an official place to send bug reports to?

There are several bugs in the lex function specified in the PreludeText
section of the Standard Prelude for Haskell 1.4. To start with the subsidiary
function lexLitChar is not defined. Also there is a typo isAlphaNum instead
of isAlphanum (this typo also appears on page 34 of the Standard Libraries
report). There are I suspect some further bugs too. Also Hugs does not lex
the backquote character as specified in the definition.

More generally, I wonder why this is in the Prelude rather than a library
where it would seem more appropriate?

Justin Cormack