Re: -dynamic: all or nothing?

2013-10-11 Thread Simon Marlow

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

___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: -dynamic: all or nothing?

2013-10-07 Thread Carter Schonwald
please share what you find out! I too, wonder if i can (ab)use dylibs as
static libs for the end executable


On Mon, Oct 7, 2013 at 4:22 PM, Andreas Voellmy
andreas.voel...@gmail.comwrote:

 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?

 -Andi

 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://www.haskell.org/mailman/listinfo/ghc-devs


___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs