clang version 10.0.1 identified as gcc in configure ?

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



I was surprised to see :

callisto$
callisto$ echo $CC
/usr/bin/cc

callisto$ $CC --version
FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611aa2)
Target: i386-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
callisto$

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
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional


More information about the gmp-discuss mailing list