[Bug other/23430] New: configure should allow --comment option
flash at pobox dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 17 01:53:00 GMT 2005
When trying to keep track of various builds of GCC, it would be convenient to be able to store a
comment to be read back with -v. Since -v echoes the full configure command line, all that's required
is not rejecting an argument containing the desired comment.
I'll upload a patch which permits this. All it does is add a --comment option which does nothing; it's
just seventeen copies of the following, one for each configure file:
--comment=*)
;; #Do nothing; this is just so that the comment will show up with -v.
There may be an easier way for maintainers to patch this, using auto-configuration; but I've never
run that. There are workarounds, such as embedding configuration information into directory names,
but this approach seems simpler.
A patched checking=yes build passed make check.
Sample Session:
32> /opt2/gcc401-chk-all-4p/bin/g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /opt2/gcc-4.0.1-src/configure --enable-checking=all --prefix=/opt2/gcc401-chk-
all-4p/ --enable-languages=c,c++ --comment=PalmSource checking=all build by Flash Sheridan
2005-08-11 via distcc. Patches 20161-8277, 22508-2005-08-00326, 22600-9330,
22604-2005-08-00334, plus a local patch to seventeen versions of configure to allow this comment.
Thread model: posix
gcc version 4.0.1
--
Summary: configure should allow --comment option
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: flash at pobox dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23430
More information about the Gcc-bugs
mailing list