Reducing git size by building libgit.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

The total compiled size of libexec/git-core is currently somewhere 
around 30 MB. This is largely due to a number of binaries linking 
statically against libgit.a. For some folks, every byte counts. I 
meddled with the Makefile briefly to make it build and use a libgit.so 
instead, which dropped package size down to 5MB.

Are there, beyond the ~20 ms in extra startup time and the slightly 
bigger hassle with DSO locations, reasons for the choice to link statically?

best,

Elmar





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux