Subject: | Does not compile on non-gcc systems (e.g. clang) |
FreeBSD 10.0 (and possible other operating systems) does not ship gcc/g++ anymore, but instead clang/clang++. So compiling this distribution fails:
g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O -DVERSION=\"2.09\" -DXS_VERSION=\"2.09\" -DPIC -fPIC "-I/usr/perl5.18.2/lib/5.18.2/amd64-freebsd/CORE" Hunspell.c
g++: not found
Probabably it's best to not hardcode "g++" here, but use instead "c++", which is understood by both gcc and clang based systems. Or check perl's config for the correct c/c++ compiler.