public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: NightStrike <nightstrike@gmail.com>
Cc: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
	       binutils <binutils@sourceware.org>
Subject: Re: make install-strip with binutils
Date: Sat, 23 Oct 2010 16:30:00 -0000	[thread overview]
Message-ID: <mcrhbgcub27.fsf@google.com> (raw)
In-Reply-To: <AANLkTiksfrMeF7=U3ie6-vom6arKdc8O0qNkABvYuZAm@mail.gmail.com>	(nightstrike@gmail.com's message of "Sat, 23 Oct 2010 08:28:21 -0400")

NightStrike <nightstrike@gmail.com> writes:

> On Sat, Oct 23, 2010 at 5:59 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
>> Hello,
>>
>> * NightStrike wrote on Fri, Oct 22, 2010 at 06:33:17PM CEST:
>>> I noticed that there is no install-strip target in the binutils
>>> Makefile.  How do you install stripped versions of the binutils
>>> package?  What's the official approved way to do this, ideally without
>>> resorting to manually running strip?
>>
>> I don't think there is an official approved way yet.
>
> Isn't install-strip a required make target for gnu programs?

Yes.  We are out of GNU standard compliance there.

>> It should be
>> possible to add forwarders to toplevel Makefile.tpl and Makefile.def,
>> and add targets to the non-automake-governed sub directories of the
>> combined GCC/src tree, but you'd need to take care to pass the right
>> strip program (for host or for target, possibly the in-tree strip).
>
> I.... have no idea how to do that :)

Edit the top level Makefile.tpl and Makefile.def files.  Copy a similar
target--say, install-pdf.  Run "autogen Makefile.def".  Test.

Ian

  reply	other threads:[~2010-10-23 16:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 16:33 NightStrike
2010-10-23 10:00 ` Ralf Wildenhues
2010-10-23 12:28   ` NightStrike
2010-10-23 16:30     ` Ian Lance Taylor [this message]
2010-10-24  4:03       ` Maciej W. Rozycki
2010-10-27 18:29         ` Ralf Wildenhues
2010-10-27 21:08           ` NightStrike
2010-11-02 20:09             ` Ralf Wildenhues
2010-11-17 19:02               ` Ralf Wildenhues
2010-11-20  0:24                 ` Gerald Pfeifer
2010-11-20 19:39                   ` Ralf Wildenhues
2010-11-20 19:43                     ` NightStrike
2010-11-20 19:45                       ` Ralf Wildenhues
2010-11-21  1:28                         ` NightStrike

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=mcrhbgcub27.fsf@google.com \
    --to=iant@google.com \
    --cc=Ralf.Wildenhues@gmx.de \
    --cc=binutils@sourceware.org \
    --cc=nightstrike@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).