Subject: | Support systems with clang++ |
Compilation fails on systems without g++, e.g. freebsd 11:
g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -DPIC -fPIC "-I/usr/perl5.26.1p/lib/5.26.1/amd64-freebsd/CORE" PPMd.c
/bin/sh: g++: not found
I guess that it would work if c++ was used instead of g++ here --- c++ should work with both gcc and clang based systems.