Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ghc -o hello hello.hs
- $ strip -p --strip-unneeded --remove-section=.comment -o hello-small hello
- $ du hello hello-small
- 700 hello
- 476 hello-small
- $ ghc -dynamic -o hello hello.hs
- $ strip -p --strip-unneeded --remove-section=.comment -o hello-small hello
- $ du hello hello-small
- 24 hello
- 16 hello-small
- $ gcc hello.c -o hello
- $ strip -p --strip-unneeded --remove-section=.comment -o hello-small hello
- $ du hello hello-small
- 12 hello
- 8 hello-small
- strip -p --strip-unneeded --remove-section=.comment -o your_executable_small your_executable
- strip -p --strip-unneeded --remove-section=.comment -o your_executable_small your_executable
Add Comment
Please, Sign In to add comment