clang version 10.0.1 identified as gcc in configure ?
Vincent Lefevre
vincent at vinc17.net
Thu Aug 20 14:19:59 UTC 2020
On 2020-08-20 14:16:35 +0200, Hans Åberg wrote:
> > On 20 Aug 2020, at 10:50, Dennis Clarke <dclarke at blastwave.org> wrote:
> >
> > Never would have guessed that in a million years.
>
> It is the POSIX name for the system compiler [1]. If you have access to the real GCC or Clang, you might set links to them in /usr/local/bin/.
>
> 1. https://pubs.opengroup.org/onlinepubs/007908799/xcu/cc.html
The __GNUC_* macros are not part of POSIX!
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-discuss
mailing list