anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Executable isn't stripped #152

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please add "-optl-s" option to ghc cmdline - it will strip debug info that
is 50% of executable now :)

What version of the product are you using? On what operating system?
pandoc.exe 1.2, windows installer

Original issue reported on code.google.com by bulat.zi...@gmail.com on 13 Jul 2009 at 3:14

GoogleCodeExporter commented 8 years ago
That executable was produced by cabal -- doesn't cabal automatically strip 
executables?
Just to be sure, I tried adding '-optl-s' to 'ghc-options', then installed again
(using cabal). The resulting executable was the same size.  What am I missing?

Original comment by fiddloso...@gmail.com on 14 Jul 2009 at 7:01

GoogleCodeExporter commented 8 years ago
i don't know. try asking cabal people, Don at least. i have stripped it to 3.6 
mb by
using mingw strip utility

Original comment by bulat.zi...@gmail.com on 14 Jul 2009 at 7:12

GoogleCodeExporter commented 8 years ago
You're right -- mingw's strip did the trick.  I'll use this for the next 
release.

Original comment by fiddloso...@gmail.com on 15 Jul 2009 at 7:07