This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Remove --with-bugurl in gas, ld, gprof and binutils
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 7 Mar 2007 21:15:54 +0000 (UTC)
- Subject: Re: PATCH: Remove --with-bugurl in gas, ld, gprof and binutils
- References: <20070307180935.GA22072@lucon.org> <20070307184602.GA22241@lucon.org>
On Wed, 7 Mar 2007, H. J. Lu wrote:
> On Wed, Mar 07, 2007 at 10:09:35AM -0800, H. J. Lu wrote:
> > There is only one --with-pkgversion in bfd. But we have
> > --with-bugurl in bfd, gas, ld, gprof and binutils. Is this
> > really necessary? Can't we have just one in bfd, like
> > --with-pkgversion?
> >
>
> This patch removes --with-bugurl in gas, ld, gprof and binutils.
I have a patch pending review
<http://sourceware.org/ml/binutils/2007-03/msg00027.html> to make
--with-bugurl apply to the manuals. Could you make your patch relative to
a tree with my patch applied, or wait for my patch to be reviewed and then
prepare a new patch that takes account of using this information in the
manuals? The manuals don't presently have a common include file from BFD
the way the C source does - but you could create one.
I certainly don't object to moving the bulk of both --with-bugurl and
--with-pkgversion configuration logic into an Autoconf macro in a config/
file, in a form suitable for use in GCC as well when the corresponding
changes are merged to GCC (which is scheduled for development stage 2; the
patches are ready but may be further revised before merge). Suitability
for GCC means the default pkgversion and bugurl would be arguments to the
respective ACX_PKGVERSION / ACK_BUGURL macros. Making into macros would
be one of the most useful ways of reducing duplication here.
--
Joseph S. Myers
joseph@codesourcery.com