批处理之家's Archiver

codegay 发表于 2017-9-11 16:17

用strip这个工具来减少EXE文件体积真的是666

我刚刚从这篇文章《 Nim binary size from 160 KB to 150 Bytes 》
[url]https://hookrace.net//blog/nim-binary-size[/url]

知道strip这个工具。nim程序编译后比 c 的程序编译出来的可执行文件大。进一步用strip 脱一下之后EXE文件体积明显减小。

bathome.net的 bcn 早已经收录了strip这个工具。如果你愿意装一下bcn 配置好后,直接执行命令bcn gt strip 下载。以后需要下载其它命令工具,也会非常地方便哦。
以我的环境为例:win7 x64 nim0.17.2 x64
所以需要下载64位版的strip[code]bcn gt strip64
[/code]脱~[code]strip64 -s xxx.exe
[/code]参考:
linux中的strip命令简介------给文件脱衣服 [url]http://blog.csdn.net/stpeace/article/details/47090255[/url]
[url]http://batch-cn.qiniudn.com/s/tool/index.html?key=strip[/url]

happy886rr 发表于 2017-9-11 19:15

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=202949&ptid=45384]1#[/url] [i]codegay[/i] [/b]
棒,果然不一般。

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.