clang version 10.0.1 identified as gcc in configure ?

Dennis Clarke dclarke at
Thu Aug 20 07:48:35 UTC 2020

I was surprised to see :

callisto$ echo $CC

callisto$ $CC --version
FreeBSD clang version 10.0.1 (git at
Target: i386-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

The from configure :
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking whether /usr/bin/cc is gcc... yes

I thought that was a bit odd.

Dennis Clarke
UNIX and Linux spoken
GreyBeard and suspenders optional

More information about the gmp-discuss mailing list