[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failure in building gnulib tests wih pcc on debian
From: |
Ben Pfaff |
Subject: |
Re: failure in building gnulib tests wih pcc on debian |
Date: |
Mon, 14 Nov 2011 10:33:08 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Paul Eggert <address@hidden> 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