cvs commit: src/contrib/gcc/config freebsd-spec.h
obrien at FreeBSD.org
Fri Sep 12 12:23:01 PDT 2003
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
> 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 (184.108.40.206).
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.
More information about the cvs-src