ghc 6.6.1 -optl bug?

Bulat Ziganshin bulat.ziganshin at
Fri Jan 11 06:38:55 EST 2008

Hello GHC,

sorry, i'm still user of 6.6.1 version

the following command: ghc --make .... -optl-s

strips the executable while the following command

ghc --make .... -optl--strip-all

has no effect. i made some experiments and it seems that options
starting with "--" are not sent to ld at all (you can write
-optl--unexisting-option but not -optl-#)

Best regards,
 Bulat                          mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list