makefile - binary size of compiled git 4 times larger than installed one -


i compiled git first time because centos stucks @ 1.8.x. followed these instructions:

make configure ;# ./configure --prefix=/usr ;# make doc ;# make install install-doc install-html;# root 

the compilation worked well, looking @ binaries noticed of them larger installed ones rpm. i.e. centos7 git binary is:

  • by rpm (1.8.3.1) = 1,5mb
  • self compiled (2.9.3) = 9,3mb

i looked around didn't find switch compilation reduces size. comparing compiled binaries "ius community project" build (git 2.9.2.1 ~1,5mb), compiled ones 4 times larger.

thanks hint, making them smaller ;-)

the solution madscientist:

strip solution, wasn't aware debug information included default. windows compiler produces debug set flag.
it's 1,8 mb instead of 9,3


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -