George Russell wrote:
>
> "Sigbjorn Finne (Intl Vendor)" wrote:
> >
> > Untested, but changing the occurrence of '-syslib exts'
> > to '-fglasgow-exts' in the first setting of
> > SRC_HC_OPTS in src/Makefile may just take you past this
> > one..
> In that case I get another error message:
> ------------------------------------------------------------------------
> ===fptools== Recursively making `all' in src lib examples doc ...
> PWD = /export/ger/fptools/hdirect
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> ==fptools== gmake all -r;
> in /export/ger/fptools/hdirect/src
> ------------------------------------------------------------------------
> ../../ghc/driver/ghc -fglasgow-exts -Rghc-timing -H16m -W -recomp -O -O2-for-C
>-H30m -c Utils.lhs -o Utils.o -osuf o
> ghc: ignoring heap-size-setting option (-H16m)...not the largest seen
> Utils.lhs:22: parse error on input `(#'
>
> Compilation had errors
. . . but if (as well as Sigborn's change to the Makefile) I
replace "(#)" by "( # )" on line 22 of Utils.lhs, it goes through!