On Mon, Dec 02, 2013 at 06:23:44AM -0800, Ed Kostas wrote:
> I wonder how vim building and installation works. After building Vim, I checket the src directory to see how large was the exec file. Thus:
> ~/vim# ls src/vim -lia
> 35097123 -rwxr-xr-x 1 ed ed 15941469 Dez 2 12:05 src/vim
> [2]+ Done gvim
> ~/vim#
> There it is. It occupies about 15M. Then I checked the file in /usr/local/bin:
> ~/vim# ls /usr/local/bin/vim -lia
> 6703140 -rwxr-xr-x 1 root root 5598176 Dez 2 12:05 /usr/local/bin/vim
> ~/vim#
I hope you understand part of the installation process is to strip debug
info from the executable -- in every case the installed binary is much
smaller than the one on the src/ tree
Mon 11:10 ~/.build/vim/vim: cd src
Mon 11:10 ~/.build/vim/vim/src: l vim
-rwxr-xr-x 1 9778273 Nov 28 20:35 vim
Mon 11:10 ~/.build/vim/vim/src: cd /usr/local/bin
Mon 11:10 /usr/local/bin: l vim
-rwxr-xr-x 1 2279280 Nov 28 20:35 vim
--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Monday, December 2, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment