Paul Eggert <egg...@cs.ucla.edu> writes:

> On 11/14/11 06:17, Eric Blake wrote:
>> Is there any easy way to identify pcc at compile time, such as a
>> preprocessor macro it sets differently than gcc?
>
> It's not *easy*, but the C macro __VERSION__
> expands to a string that starts with "pcc ".
> On my host (Fedora 15 x86-64) the exact string is
> "pcc 1.0.0.RELEASE 20110221 for x86_64-unknown-linux-gnu, mockbuild@".

It seems odd that this compiler isn't listed at
http://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers
since that page otherwise seems comprehensive.
-- 
Ben Pfaff 
http://benpfaff.org

Reply via email to