Nmap Development mailing list archives
Re: Like to build a static, small basic nmap
From: Dirk Loss <lists () dirk-loss de>
Date: Thu, 09 Nov 2006 19:22:37 +0100
Fyodor wrote:
As for making a static version, that conflicts with your goal of reducing the binary size. But you can try "make clean; ./configure --without-openssl; make static". And stripping it cuts the size in half: -rwx------ 1 fyodor fyodor 1434416 Nov 7 14:16 nmap*
Compressing the resulting binary with UPX (http://upx.sf.net) reduces the size even more -- in my case the executable was about 60% smaller: $ upx -9 nmap Filesize Ratio Format Name ------------------- ------ ----------- ----------- 1189196 -> 496792 41.78% linux/elf386 nmap Regards, Dirk _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Like to build a static, small basic nmap Dominik (Nov 07)
- Re: Like to build a static, small basic nmap Hans Nilsson (Nov 07)
- Re: Like to build a static, small basic nmap Fyodor (Nov 07)
- Re: Like to build a static, small basic nmap Dirk Loss (Nov 09)