2015-12-22 7:23 GMT+03:00 Tony Mechelynck <[email protected]>:

> P.S. Vim without Cream is 8.6 MB. My Huge gvim with GTK2 and is only
> 2.7 MB. I can't believe the difference is only due to the difference
> between W32 and L64, especially since "Vim without Cream" has
> +gettext/dyn +lua/dyn +multi_byte_ime/dyn +perl/dyn +python/dyn
> +python3/dyn +ruby/dyn -tcl while I have +gettext +lua
> +multi_byte+perl +python -python3 +ruby +tcl +xim all linked
> statically.
>

​libpython2.7.so (2.7.10) is 1.8 MiB, libperl.so.5.20.2 is 1.7 MiB,
libruby19.so.1.9.1 is 2.1 MiB, not to mention gtk which occupies 4.4 MiB
(gtk-x11, 2.24.28), all with debug information stripped away. You can’t
have this linked statically and ​have 2.7 MB binary, even though when using
static linking some optimizations may be performed to strip sizes down
compared to dynamic libraries.

Also 8.6 MB is not very much. My huge vim with GTK2 with +python{,3}/dyn,
+ruby, +tcl, +perl, +lua/dyn occupies 33 MiB totally according to `du`,
which is 6.4 MiB inside a .tar.xz archive (just `tar tJvf`, without
changing compression level) and 11 MiB inside .zip (compressed with 7z (
http://p7zip.sourceforge.net/), -mx=9, version 9.20.1). Note that “Vim
without cream” installer contains *runtime* files, I do not believe you
will have very different size from me if you count them as well. The
gvim.exe executable itself occupies only 1.0 MiB compressed and 2.7 MiB
uncompressed in the installer: just slightly more then 0.1 MiB bigger then
your executable.



>
> Best regards,
> Tony.
>
> --
> --
> You received this message from the "vim_dev" 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_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui