From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2655 invoked by alias); 17 Aug 2005 01:52:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1634 invoked by uid 48); 17 Aug 2005 01:52:22 -0000 Date: Wed, 17 Aug 2005 01:53:00 -0000 From: "flash at pobox dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20050817015215.23430.flash@pobox.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/23430] New: configure should allow --comment option X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg01882.txt.bz2 List-Id: 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