Dynamic only GHC

Austin Seipp austin at well-typed.com
Mon Oct 20 14:56:30 UTC 2014


(Sorry for resend; also hitting the list this time).

GhcDynamic is really a variable set by the build system which is
propagated and used to control various other 'things that happen'
during the build, in the case GHC is dynamically linked.

On the other hand, DYNAMIC_GHC_PROGRAMS and DYNAMIC_BY_DEFAULT are the
actual options you may set in your build configuration to control what
happens. In other words, these two variables actually control what
will occur; GhcDynamic is just a detail of the build system to push
some information around, in the case you choose an option where GHC is
dynamically linked (you can certainly choose NO for both of these
options, which means 'GhcDynamic' will be false).


On Mon, Oct 20, 2014 at 9:44 AM, Jeremy <voldermort at hotmail.com> wrote:
> So out of GhcDynamic, DYNAMIC_GHC_PROGRAMS, and DYNAMIC_BY_DEFAULT, which is
> broken, and what's the difference between GhcDynamic and
> DYNAMIC_GHC_PROGRAMS? This is getting somewhat confusing.
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the Glasgow-haskell-users mailing list