How to directly strip ghc generated binaries

Don Stewart dons at galois.com
Mon Sep 15 00:17:34 EDT 2008


leledumbo_cool:
> 
> Sometimes it's annoying to call strip --strip-all <program name> everytime
> after compilation. Is there anything like gcc's -s so that debugging symbols
> aren't included?

Use cabal to build your application. It strips the applications for you,
in a portable manner.


More information about the Glasgow-haskell-users mailing list