How to directly strip ghc generated binaries

Bulat Ziganshin bulat.ziganshin at
Mon Sep 15 05:20:36 EDT 2008

Hello leledumbo,

Monday, September 15, 2008, 8:11:54 AM, you wrote:

> 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?

ghc -optl-s

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list