-dynamic: all or nothing?

Simon Marlow marlowsd
Fri Oct 11 10:51:51 UTC 2013


On 07/10/13 21:22, Andreas Voellmy wrote:
> Hi all,
>
>  From what I gather, using "-dynamic" with "ghc --make" compiles an
> executable using dynamic linking for ALL dependent Haskell libraries. Is
> it possible to choose to link some dependent libraries to link
> statically and some to link dynamically? If so, how can I do this?

It's certainly all-or-nothing in GHC at the moment.  Whether it must be 
that way or not, I don't remember - but I suspect it depends on the 
platform.

Cheers,
	Simon




More information about the ghc-devs mailing list