Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 12:22:59 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/gcc/config freebsd-spec.h
Message-ID:  <20030912192259.GA78920@dragon.nuxi.com>
In-Reply-To: <200309121919.h8CJJAYo085730@repoman.freebsd.org>
References:  <200309121919.h8CJJAYo085730@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030912192259.GA78920>