[cfe-dev] [PATCH]: add support for FreeBSD
peter at pogma.com
Sat Oct 11 14:40:12 PDT 2008
Daniel Dunbar wrote:
> changes into FreeBSD (I'm still confused as to where gcc is getting the
> number from).
To answer where it gets the number from:
I don't believe __FreeBSD_cc_version gets defined by any of the
compilers in the ports collection, only by /usr/bin/gcc. It looks like a
vendor local patch to me. The __FreeBSD__ number can be gotten from uname().
More information about the cfe-dev