how to compile non-dynamic ghc-7.8.2 ?

Bertram Felgenhauer bertram.felgenhauer at googlemail.com
Fri Apr 25 12:36:24 UTC 2014


John Lato wrote:
> I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit
> linux).  I downloaded the source tarball, added
> 
> DYNAMIC_GHC_PROGRAMS = NO

I've had success with setting both

DYNAMIC_BY_DEFAULT   = NO
DYNAMIC_GHC_PROGRAMS = NO

and removing the 'dyn' way altogether from GhcLibWays by setting
GhcLibWays = v explicitely. I expect that the latter is optional;
my goal was only to speed up the build.

(The lines were copied from the perf-cross settings.)

Cheers,

Bertram


More information about the Glasgow-haskell-users mailing list