-optl-s (strip) by default

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Sep 12 20:42:52 EDT 2008

On Fri, 2008-09-12 at 13:06 +0400, Bulat Ziganshin wrote:
> Hello Don,
> Friday, September 12, 2008, 12:54:22 PM, you wrote:
> > You can also achieve this by making sure your deployed programs build
> > with Cabal,
> *my* programs are built using these opts, how about other haskellers?

Cabal automatically strips executables on installation and has the
option --disable-executable-stripping to disable that.

So packages authors do not have to do anything, indeed they should not
try to add any flags to force stripping as that would
prevent --disable-executable-stripping from working. Hackage checks for


More information about the Glasgow-haskell-users mailing list