ghc-2.03 and green-card

1997-05-25 Thread trb
I have just built ghc-2.03 with green-card 0.9. Whereas green-card used to work fine with ghc-2.02, I now get: ghc: consistency warning: minor version not 1: 080525b0 t cc.StdDis.lhs.36.0.. ghc: consistency error: major version not 32: 080537fd t hsc.StdDis.lhs.31.0.. when linking with -lHSgc .

ghc-2.03 and green-card

1997-05-25 Thread trb
I have just built ghc-2.03 with green-card 0.9. green-card processes %#include directives and generates {-# OPTIONS -#include #-} lines in its output. Unfortunately it does not put them at the top. According to the documentation ghc-2.03 requires that any such pragmas be the first lines in th

profiling optimised code

1997-09-07 Thread trb
When I compile the following program with -O -prof using ghc-2.05 on a 686 linux box : module Main ( main ) where f :: Int f = length [1..100] main = print (f + f + f + f) I get : Main.o(.text+0x9c): undefined reference to `PrelBase_Z36g3J_fast3' I am trying to determine to what exte

Error messages give filename not pathname

2000-04-07 Thread trb
Hi, Please send a copy of your reply to my email address, since I'm not subscribed to the bugs list. When ghc reports an error, it omits the directory part of the filename e.g. Foo.hs: blah blah when compiling "src/Foo.hs". This causes problems for emacs' compilation mode when it attempts to f

green-card in fptools-4.08

2000-07-16 Thread trb
Hi, I've built fptools-4.08 from the cvs sources on my x86 linux box. But green-card would not build. I fiddled with its src/Makefile as below: # SRC_HC_OPTS+= -fvia-C -fglasgow-exts -syslib text -syslib data -syslib util -recomp -Rghc-timing -O SRC_HC_OPTS+= -fvia-C -fglasgow-exts -pac

Re: green-card in fptools-4.08

2000-07-18 Thread trb
Reuben Thomas writes: > What version of ghc are you using to build GreenCard? trb@elysium:/usr/local/src/fptools-build-4.08/green-card> ghc --version The Glorious Glasgow Haskell Compilation System, version 4.08 (from the fptools-4.08 I mentioned building from the CVS sources) >