Monday, December 2, 2013

Question about vim installation

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#

As you can notice, the installed binary file is much smaller than the file in the source directory. I have compiled it with mzscheme. I thought: It cannot be that small. It must be using a dynamic library, or something similar. Then I made a copy of /usr/local/bin/vimx, and uninstalled Vim.

~$ cp /usr/local/bin/vim vimx
~$ cd vim
~/vim$ make uninstall

I checked the copy. It is working. Besides this, mzscheme is working inside it;

~/vim

:mzscheme (* 3 4 5)

My question: All I need to run vim with mzscheme is that 5M file? Nothing else? Is there something I am missing?





--
--
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.

No comments: