From owner-cvs-all@FreeBSD.ORG Fri Sep 12 12:23:00 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC7E516A4BF; Fri, 12 Sep 2003 12:23:00 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1979543FF7; Fri, 12 Sep 2003 12:23:00 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h8CJMxnW078985; Fri, 12 Sep 2003 12:22:59 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h8CJMxDa078984; Fri, 12 Sep 2003 12:22:59 -0700 (PDT) (envelope-from obrien) Date: Fri, 12 Sep 2003 12:22:59 -0700 From: "David O'Brien" To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20030912192259.GA78920@dragon.nuxi.com> References: <200309121919.h8CJJAYo085730@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309121919.h8CJJAYo085730@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.1-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: Re: cvs commit: src/contrib/gcc/config freebsd-spec.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 19:23:01 -0000 On Fri, Sep 12, 2003 at 12:19:10PM -0700, David E. O'Brien wrote: > obrien 2003/09/12 12:19:10 PDT > > FreeBSD src repository > > Modified files: > contrib/gcc/config freebsd-spec.h > Log: > Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes. We should seriously consider going back to the original encoding of this: This can be used to check for the presence/absence of FreeBSD-specific compiler features. The value is a decimal number whose digits have the form VRRRRFF, where: V = Compiler vendor. 0 (elided) means gcc. RRRR = Vendor's version number, e.g., 2721 for the current gcc version (2.7.2.1). FF = FreeBSD-specific revision level. 00 means the stock compiler from the vendor. The value of "__FreeBSD_cc_version" is hard-coded and must be incremented when new FreeBSD-specific compiler features are added. as it is more easily maintainable and gives more useful information.