Date: Fri, 4 Apr 2003 21:00:00 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: "David O'Brien" <obrien@FreeBSD.org> Cc: Marcel Moolenaar <marcel@xcllnt.net> Subject: Re: GCC_OPTIONS Message-ID: <20030404180000.GA72007@sunbay.com> In-Reply-To: <20030404175156.GA20420@dragon.nuxi.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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 ~/.<shell> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404180000.GA72007>