Can't compile GHC 6.8.2

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Tue Nov 25 04:23:21 EST 2008


> The suggested remedy of commenting out the
> line reading "SRC_HC_OPTS += -fvia-C" in the Makefile won't work, as
> that line isn't there anyway.

In case it is not obvious from what other people have said, way back  
in the days of ghc-6.2, you got -fvia-C by default, whether it was  
specified on the command-line or not.  To override via-C, you needed  
to explicitly choose the opposite (-fasm).  With more recent versions  
of the compiler, the default flipped over to -fasm.

Regards,
     Malcolm



More information about the Glasgow-haskell-users mailing list