All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Andreas Ericsson <ae@op5.se>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Junio C Hamano <junkio@cox.net>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: git binary size...
Date: Wed, 11 Jan 2006 11:56:39 -0800	[thread overview]
Message-ID: <43C562F7.1090000@zytor.com> (raw)
In-Reply-To: <43C56278.6090105@op5.se>

Andreas Ericsson wrote:
> H. Peter Anvin wrote:
> 
>>
>> 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).
>>
> 
> Fair point. So how about a strip: target for just stripping the binaries 
> in the directory? That way one can do "make strip install", but 
> everything else will work as always. Better yet, make it
> 
> strip:
>     strip $(STRIP_OPTS) $(PROGRAMS)
> 
> so Linus can set STRIP_OPTS=--strip-debug and everybody's happy.
> 

The proper way to do this is:

strip:
	$(STRIP) $(STRIP_OPTS) $(PROGRAMS)

For "strip", this is frequently omitted, though.  Since "strip" is 
architecture-dependent, though, this is necessary for cross-compilation.

	-hpa

  reply	other threads:[~2006-01-11 19:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 18:26 git binary size Linus Torvalds
2006-01-11 19:14 ` Andreas Ericsson
2006-01-11 19:39   ` H. Peter Anvin
2006-01-11 19:54     ` Andreas Ericsson
2006-01-11 19:56       ` H. Peter Anvin [this message]
2006-01-11 20:00         ` Andreas Ericsson
2006-01-11 19:40   ` Junio C Hamano
2006-01-11 19:44   ` Linus Torvalds
2006-01-11 19:58     ` H. Peter Anvin
2006-01-12 10:15     ` Coywolf Qi Hunt
2006-01-12 13:49       ` Andreas Ericsson
2006-01-12 17:37         ` H. Peter Anvin
2006-01-12 18:13         ` Linus Torvalds
2006-01-12 18:32           ` Johannes Schindelin
2006-01-12 18:46           ` Linus Torvalds
2006-01-12 19:16             ` H. Peter Anvin
2006-01-20 18:00           ` Jon Loeliger
2006-01-12 18:12       ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43C562F7.1090000@zytor.com \
    --to=hpa@zytor.com \
    --cc=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.