git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git binary size...

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jan 11, 2006, 19:39 UTC
Message-ID
<43C55EE4.9010103@zytor.com>
In-Reply-To
<43C558FB.3030102@op5.se>
Andreas Ericsson wrote:
Show 11 quoted lines
> 
> I'd suggest adding
> 
> strip:
>     strip $(PROGRAMS)
> 
> install: strip
> 
> to Makefile instead. That way people working on various git-tools won't 
> have to remember to override the CFLAGS when debugging new stuff.
> 

I disagree with both of these. Most users will not install via "make install", but rather via a package manager. Package managers have long since dealt with this problem; in the case of rpm, the debug information is stripped off into a separate package. Having "make install" strip would break that -- although defining $(STRIP) makes it a bit easier to deal with (STRIP=: make install).

However, if the concern is "the average user" I really think there is no reason do bother with this at all -- the average user should to "yum install git" or whatever is the equivalent for their distribution. This ain't 1990.

	-hpa
Previous: Andreas EricssonNext: Andreas Ericsson
Message 3 of 18 in “git binary size...”
  1. Linus TorvaldsJan 11, 2006
  2. Andreas EricssonJan 11, 2006
  3. H. Peter AnvinJan 11, 2006
  4. Andreas EricssonJan 11, 2006
  5. H. Peter AnvinJan 11, 2006
  6. Andreas EricssonJan 11, 2006
  7. Junio C HamanoJan 11, 2006
  8. Linus TorvaldsJan 11, 2006
  9. H. Peter AnvinJan 11, 2006
  10. Coywolf Qi HuntJan 12, 2006
  11. Andreas EricssonJan 12, 2006
  12. H. Peter AnvinJan 12, 2006
  13. Linus TorvaldsJan 12, 2006
  14. Johannes SchindelinJan 12, 2006
  15. Linus TorvaldsJan 12, 2006
  16. H. Peter AnvinJan 12, 2006
  17. Jon LoeligerJan 20, 2006
  18. Linus TorvaldsJan 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.