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

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Mon Oct 29 07:13:45 CET 2012


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.



More information about the Haskell-Cafe mailing list