[Haskell-beginners] strip --strip-unneeded on package libraries

robert voldermort at hotmail.com
Mon Dec 16 20:19:39 UTC 2013


I've noticed that installed packages all have a large .a archive which can
be shrunk by about 10% with strip --strip-unneeded. Is there any downside to
stripping, and if not, why isn't it done by GHC when the package is
installed? There's a (default) option for cabal-install to strip
executables, but it seems that package stripping has to be done manually,
each time.



More information about the Beginners mailing list