[Haskell-cafe] Executables got bigger using dynamic link.

dag.odenhall at gmail.com dag.odenhall at gmail.com
Tue Nov 27 05:07:48 CET 2012


You also need to enable executable-dynamic.


On Mon, Oct 29, 2012 at 7:13 AM, Magicloud Magiclouds <
magicloud.magiclouds at gmail.com> wrote:

> Sorry, I left the profiling option on, which seems to suppress the
> dynamic options.
>
> On Mon, Oct 29, 2012 at 1:29 PM, Magicloud Magiclouds
> <magicloud.magiclouds at gmail.com> wrote:
> > Hi,
> >   I set "shared: True" in ~/.cabal/config, and using ghc 7.6.1. Then
> > clear user space hackages and reinstall them.
> >   First of all, I think comparing to static link, dynamic linked
> > executables file should be smaller. And the libraries (.so) could
> > benefits from caching to save memory usage.
> >
> >   Well, I installed cabal-install and alex. I got this:
> > cabal 9.9M -> 24M
> > alex 2.7M -> 5.1M
> >   Is this correct?
> > --
> > 竹密岂妨流水过
> > 山高哪阻野云飞
> >
> > And for G+, please use magiclouds#gmail.com.
>
>
>
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>
> And for G+, please use magiclouds#gmail.com.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121127/1617284d/attachment.htm>


More information about the Haskell-Cafe mailing list