From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: gcc-patches@gcc.gnu.org, binutils@sourceware.org,
gdb-patches@sourceware.org, NightStrike <nightstrike@gmail.com>
Subject: Re: make install-strip with binutils
Date: Wed, 17 Nov 2010 19:01:00 -0000 [thread overview]
Message-ID: <20101117190145.GE12746@gmx.de> (raw)
In-Reply-To: <20101102200841.GG4123@gmx.de>
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00192.html
* Ralf Wildenhues wrote on Tue, Nov 02, 2010 at 09:08:41PM CET:
> * NightStrike wrote on Wed, Oct 27, 2010 at 11:08:51PM CEST:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46202
> OK to commit to GCC and sync to src? The patch has src-specific bits in
> etc/. install-strip will fail for parts of the src tree outside of
> binutils+gdb, but fixing that should be straight-forward.
>
> I'll gladly split the .PHONY fixlets and the minor gcc/doc cleanups in
> separate patches if you prefer.
Now, as GCC build maintainer, it seems most of this patch is free to
proceed on (still, I'd welcome any review!), and the src bits are
trivial. The web update has been OKed off-list by Gerald, so the only
remaining bits are in gcc/doc/install.texi. Is that part of the build
maintainer role too, or OK to go ahead with?
Thanks,
Ralf
> bits only for src:
>
> etc/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * Makefile.in (install-strip): New target.
> bits for GCC and shared GCC/src bits:
>
> PR other/46202: implement install-strip.
>
> ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * configure.ac: Fix just-built in-tree STRIP name to be
> binutils/strip-new.
> * configure: Regenerate.
> * Makefile.def (install-strip-gcc, install-strip-binutils)
> (install-strip-opcodes, install-strip-ld, install-strip-itcl)
> (install-strip-sid): Mirror dependencies on non-strip variants
> of these targets on the respective -strip prerequisites.
> * Makefile.tpl (install-strip, install-strip-host)
> (install-strip-target): New targets.
> (install-strip-[+module+], install-strip-target-[+module+]):
> New targets.
> * Makefile.in: Regenerate.
>
> gcc/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
> variables.
> (AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
> shell quoting.
> (STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
> (install-strip): New target.
> * doc/install.texi (Final install): Minor markup and code style
> fixes. Document install-strip target.
>
> fixincludes/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install-strip): New phony target.
> (all, check, install): Also mark as phony.
>
> libgcc/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install-strip): New phony target.
>
> libiberty/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install-strip): New phony target.
> (install): Also mark as phony.
>
> gnattools/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install-strip): New phony target.
> (check, installcheck, info, dvi, pdf, html, install)
> (install-info, install-pdf, install-html, mostlyclean)
> (clean, distclean, maintainer-clean): Mark phony.
>
> libada/ChangeLog:
> 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR other/46202
> * Makefile.in (install-strip): New phony target.
> (check, installcheck, info, dvi, pdf, html, install)
> (install-info, install-pdf, install-html, mostlyclean)
> (clean, distclean, maintainer-clean): Mark phony.
[...]
> --- a/gcc/doc/install.texi
> +++ b/gcc/doc/install.texi
> @@ -2638,7 +2638,7 @@ messages may be automatically processed.
>
> Now that GCC has been built (and optionally tested), you can install it with
> @smallexample
> -cd @var{objdir}; make install
> +cd @var{objdir} && make install
> @end smallexample
>
> We strongly recommend to install into a target directory where there is
> @@ -2674,7 +2674,8 @@ jail can be achieved with the command
> make DESTDIR=@var{path-to-rootdir} install
> @end smallexample
>
> -@noindent where @var{path-to-rootdir} is the absolute path of
> +@noindent
> +where @var{path-to-rootdir} is the absolute path of
> a directory relative to which all installation paths will be
> interpreted. Note that the directory specified by @code{DESTDIR}
> need not exist yet; it will be created if necessary.
> @@ -2688,6 +2689,12 @@ it will not be created otherwise. This is regarded as a feature,
> not as a bug, because it gives slightly more control to the packagers
> using the @code{DESTDIR} feature.
>
> +You can let installed programs and libraries be stripped with
> +
> +@smallexample
> +make install-strip
> +@end smallexample
> +
> If you are bootstrapping a released version of GCC then please
> quickly review the build status page for your release, available from
> @uref{http://gcc.gnu.org/buildstat.html}.
next prev parent reply other threads:[~2010-11-17 19:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTim3U0h2Orq0k=35f1EH4UDrVuY1aeQMy7V1o9E6@mail.gmail.com>
[not found] ` <20101023095951.GN2183@gmx.de>
[not found] ` <AANLkTiksfrMeF7=U3ie6-vom6arKdc8O0qNkABvYuZAm@mail.gmail.com>
[not found] ` <mcrhbgcub27.fsf@google.com>
[not found] ` <alpine.LFD.2.00.1010240455210.15889@eddie.linux-mips.org>
[not found] ` <20101027182939.GI15343@gmx.de>
[not found] ` <AANLkTikDnZA17jMXbEEX6oLezYKHDm-LZxuXifxdbQCo@mail.gmail.com>
2010-11-02 20:09 ` Ralf Wildenhues
2010-11-17 19:01 ` Ralf Wildenhues [this message]
2010-11-20 0:24 ` Gerald Pfeifer
2010-11-20 19:39 ` Ralf Wildenhues
2010-11-20 19:43 ` NightStrike
2010-11-20 19:46 ` 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=20101117190145.GE12746@gmx.de \
--to=ralf.wildenhues@gmx.de \
--cc=binutils@sourceware.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@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