From owner-cvs-src@FreeBSD.ORG Fri Apr 4 10:00:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53D3737B404; Fri, 4 Apr 2003 10:00:09 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B80E243FB1; Fri, 4 Apr 2003 10:00:04 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h34I00gg072690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Apr 2003 21:00:00 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h34I00Ju072689; Fri, 4 Apr 2003 21:00:00 +0300 (EEST) (envelope-from ru) Date: Fri, 4 Apr 2003 21:00:00 +0300 From: Ruslan Ermilov To: "David O'Brien" Message-ID: <20030404180000.GA72007@sunbay.com> References: <20030403055049.GA67232@dhcp01.pn.xcllnt.net> <20030403180026.A29934@gamplex.bde.org> <20030403085350.GA37174@sunbay.com> <20030403093800.GA68012@dhcp01.pn.xcllnt.net> <20030403200459.H30311@gamplex.bde.org> <20030403160017.GD17860@dragon.nuxi.com> <20030404080746.GC95125@sunbay.com> <20030404163013.GB81938@dragon.nuxi.com> <20030404172652.GA67714@sunbay.com> <20030404175156.GA20420@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <20030404175156.GA20420@dragon.nuxi.com> User-Agent: Mutt/1.5.4i cc: src-committers@FreeBSD.org cc: Bruce Evans cc: Juli Mallett cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Marcel Moolenaar Subject: Re: GCC_OPTIONS X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 18:00:09 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 09:51:56AM -0800, David O'Brien wrote: > On Fri, Apr 04, 2003 at 08:26:52PM +0300, Ruslan Ermilov wrote: > > On Fri, Apr 04, 2003 at 08:30:13AM -0800, David O'Brien wrote: > > > On Fri, Apr 04, 2003 at 11:07:46AM +0300, Ruslan Ermilov wrote: > > > > Guess what was in GCC_OPTIONS. In short, we don't support > > > > GCC_OPTIONS. It isn't even mentioned in gcc(1) or GNU info > > > > files. > > >=20 > > > We, FreeBSD, are the ones that added it. That's why it isn't mention= ed > > > in the GNU docs. > > >=20 > > : revision 1.20 > > : date: 2001/05/29 09:54:45; author: obrien; state: Exp; lines: +53 = -1 > > : Support the environmental var "GCC_OPTIONS". Which can hold a set of > > : default options for GCC. These options are interpreted first and can= be > > : overwritten by explicit command line parameters. This provides one w= ay of > > : adding [temporary] options to your world build w/o editing /etc/make.= conf. > >=20 > > So this is only to add temporary options to the default CFLAGS, > > where simple > >=20 > > make CFLAGS=3D"`make -V CFLAGS` -foo -bar" > >=20 > > would do just fine? Are there any other reasons behind adding > > this variable? >=20 > Say I always want -g, or -save-temps, or any of several other options. > It is easier to add GCC_OPTIONS to ~/. than always type it on the > command line. We also have DIFF_OPTIONS, GREP_OPTIONS. I guess you > don't need to take it into account, but should a weird bug report crop > up, it is something to keep in mind. >=20 Then could you at least please document it in the gcc(1) manpage? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+jcggUkv4P6juNwoRAvp2AJ0X5PqOWHg39zTgYvItjd6hTTeovwCgh0S8 b+74PfnE4P5L2pCgtmj62CY= =hk+4 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--