* [Bug c/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
@ 2008-01-22 14:18 ` aldot at gcc dot gnu dot org
2008-01-22 17:56 ` [Bug bootstrap/34922] " Ralf dot Wildenhues at gmx dot de
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-01-22 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from aldot at gcc dot gnu dot org 2008-01-22 14:03 -------
If disabling toplevel directories is really generic, then libada and libssp
should be removed from the --help output.
--enable-languages=c --disable-libstdc++-v3
should be accepted.
Means to use a different libstdc++ should be provided.
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|toplevel ./configure --help |toplevel ./configure --help
| |is incomplete
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
2008-01-22 14:18 ` [Bug c/34922] toplevel ./configure --help is incomplete aldot at gcc dot gnu dot org
@ 2008-01-22 17:56 ` Ralf dot Wildenhues at gmx dot de
2008-01-22 19:41 ` aldot at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-22 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from Ralf dot Wildenhues at gmx dot de 2008-01-22 17:32 -------
(In reply to comment #0)
>
> libstdc++-v3 gives:
> $ ../../src/gcc-4.3/configure --disable-libstdc++-v3
> configure: error: invalid feature name: libstdc++-v3
This error is from the Autoconf code that parses arguments, it currently
disallows characters other than alphanumeric, minus, dot, or underscore
in --enable/--disable/--with/--without arguments. I suppose this should
be fixed in Autoconf.
However, there is also a bug in configure.ac, and with that fixed, you
will be able to use
--disable-libstdc__-v3
(i.e., with the plus signs converted to underscore). Once GCC switches
to a fixed Autoconf version, the plus sign conversion will not be needed
any more.
Patch posted at <http://gcc.gnu.org/ml/gcc-patches/2008-01/msg01029.html>.
Cheers,
Ralf
--
Ralf dot Wildenhues at gmx dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Ralf dot Wildenhues at gmx
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
2008-01-22 14:18 ` [Bug c/34922] toplevel ./configure --help is incomplete aldot at gcc dot gnu dot org
2008-01-22 17:56 ` [Bug bootstrap/34922] " Ralf dot Wildenhues at gmx dot de
@ 2008-01-22 19:41 ` aldot at gcc dot gnu dot org
2008-01-22 19:51 ` brian at dessent dot net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-01-22 19:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from aldot at gcc dot gnu dot org 2008-01-22 18:04 -------
You should document this (awkward) flag in the --help output, though.
Still, it is inconsistent to mention just a few of the possible arguments in
the help text, thus my question:
Should all toplevel libdirs be listed in the help text or should none of the
toplevel libdirs be listed in the help text?
If the latter, then let's please add a short note to the help text that
mentiones these implied arguments, e.g.
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
where PACKAGE can be any toplevel lib directory
except libgcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-01-22 19:41 ` aldot at gcc dot gnu dot org
@ 2008-01-22 19:51 ` brian at dessent dot net
2008-01-22 21:14 ` Ralf dot Wildenhues at gmx dot de
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: brian at dessent dot net @ 2008-01-22 19:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from brian at dessent dot net 2008-01-22 18:38 -------
Remember that this toplevel configure is shared between gcc, binutils, gdb,
newlib, insight, and cygwin. It should not list gcc-specific options; the fact
that it does now is just an artifact resulting from how those options happen to
be implemented. It would make no sense for e.g. the next gdb release to
contain documentation for a --disable-libmudflap option in its --help.
In an ideal world the toplevel configure would check at runtime and see what
subdirs are present and adjust its output accordingly. Also --help=recursive
should be fixed, as there are tons and tons of options that are only shown if
you run configure --help in the subdirs, but are never shown by the toplevel
--help.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-01-22 19:51 ` brian at dessent dot net
@ 2008-01-22 21:14 ` Ralf dot Wildenhues at gmx dot de
2008-01-22 22:39 ` Ralf dot Wildenhues at gmx dot de
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-22 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from Ralf dot Wildenhues at gmx dot de 2008-01-22 20:43 -------
Subject: Re: toplevel ./configure --help is incomplete
* brian at dessent dot net wrote on Tue, Jan 22, 2008 at 07:38:35PM CET:
>
> Remember that this toplevel configure is shared between gcc, binutils, gdb,
> newlib, insight, and cygwin.
> In an ideal world the toplevel configure would check at runtime and see what
> subdirs are present and adjust its output accordingly. Also --help=recursive
> should be fixed, as there are tons and tons of options that are only shown if
> you run configure --help in the subdirs, but are never shown by the toplevel
> --help.
I guess without more intrusive hacking that will have to wait until GCC
uses Autoconf 2.62 (I just found one more glitch in there), and even
then I suppose some ugliness such as this is needed:
Index: configure.ac
===================================================================
--- configure.ac (revision 131735)
+++ configure.ac (working copy)
@@ -207,6 +207,10 @@
target_configdirs=`echo ${target_libraries} ${target_tools}`
build_configdirs=`echo ${build_libs} ${build_tools}`
+m4_divert_text([PARSE_ARGS],
+[ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
+])
+
################################################################################
srcname="gnu development package"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-01-22 21:14 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-22 22:39 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 7:13 ` Ralf dot Wildenhues at gmx dot de
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-22 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from Ralf dot Wildenhues at gmx dot de 2008-01-22 22:25 -------
(In reply to comment #2)
> (In reply to comment #0)
> >
> > libstdc++-v3 gives:
> > $ ../../src/gcc-4.3/configure --disable-libstdc++-v3
> > configure: error: invalid feature name: libstdc++-v3
>
> This error is from the Autoconf code that parses arguments, it currently
> disallows characters other than alphanumeric, minus, dot, or underscore
> in --enable/--disable/--with/--without arguments. I suppose this should
> be fixed in Autoconf.
Fixed in Autoconf:
<http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=7fa2f766b836280ef3a9a338211bce55ac223565>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-01-22 22:39 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-23 7:13 ` Ralf dot Wildenhues at gmx dot de
2008-01-30 15:55 ` bonzini at gcc dot gnu dot org
2008-01-30 17:14 ` bonzini at gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-23 7:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from Ralf dot Wildenhues at gmx dot de 2008-01-23 06:42 -------
(In reply to comment #5)
>
> > In an ideal world the toplevel configure would check at runtime and see what
> > subdirs are present and adjust its output accordingly. Also --help=recursive
> > should be fixed, as there are tons and tons of options that are only shown if
> > you run configure --help in the subdirs, but are never shown by the toplevel
> > --help.
Patch posted: <http://gcc.gnu.org/ml/gcc-patches/2008-01/msg01061.html>
> I guess without more intrusive hacking that will have to wait until GCC
> uses Autoconf 2.62 (I just found one more glitch in there)
Autoconf glitch fixed:
<http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=0fd647c6364a383b13af31b45e07679c293ff09f>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-01-23 7:13 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-30 15:55 ` bonzini at gcc dot gnu dot org
2008-01-30 17:14 ` bonzini at gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2008-01-30 15:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from bonzini at gnu dot org 2008-01-30 13:37 -------
Subject: Bug 34922
Author: bonzini
Date: Wed Jan 30 13:36:35 2008
New Revision: 131961
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131961
Log:
2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/34922
* configure.ac (PARSE_ARGS): Push suitable setting of
ac_subdirs_all, for `./configure --help=recursive'.
Handle `+' in generic toplevel directory disabling.
* configure: Regenerate.
Modified:
trunk/ChangeLog
trunk/configure
trunk/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/34922] toplevel ./configure --help is incomplete
2008-01-22 14:17 [Bug c/34922] New: toplevel ./configure --help aldot at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-01-30 15:55 ` bonzini at gcc dot gnu dot org
@ 2008-01-30 17:14 ` bonzini at gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2008-01-30 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from bonzini at gnu dot org 2008-01-30 16:21 -------
patch committed.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34922
^ permalink raw reply [flat|nested] 10+ messages in thread