[Haskell-cafe] installing ghc-6.8.2

Ian Lynagh igloo at earth.li
Wed Apr 2 19:50:46 EDT 2008


On Wed, Apr 02, 2008 at 07:12:16PM -0400, michael at schmong.org wrote:
> 
> so it's this line that seems of the most interesting
> 
> cc1: error: unrecognized option `-fno-unit-at-a-time'

It looks like your version of ghc isn't designed to be used with the
version of gcc you have.

Putting this in mk/build.mk ought to let the build go through:

SRC_HC_OPTS     = -fasm
GhcStage1HcOpts = -fasm


Thanks
Ian



More information about the Haskell-Cafe mailing list