Subject: | support for Solaris with system cc |
This distro fails on Solaris with the system C/C++ compiler:
sun% ./Build test
t/001_load.t .......... ok
t/010_module_build.t .. 1/1
# Failed test 'build with Module::Build'
# at t/010_module_build.t line 12.
# Build.PL output
# ========================================
# Unable to determine a C++ compiler for 'cc' at ../../blib/lib/ExtUtils/CppGuess.pm line 205.
# ========================================
# Looks like you failed 1 test of 1.
t/010_module_build.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/011_makemaker.t ..... 1/1
# Failed test 'build with ExtUtils::MakeMaker'
# at t/011_makemaker.t line 12.
# Makefile.PL output
# ========================================
# Unable to determine a C++ compiler for 'cc' at ../../blib/lib/ExtUtils/CppGuess.pm line 205.
# ========================================
# Looks like you failed 1 test of 1.
t/011_makemaker.t ..... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
The correct C++ compiler for this configuration should be "CC" and in fact cc won't even recognize C++ source files:
sun% cc -c foo.cpp
cc: No valid input files specified, no output generated
sun% CC foo.cpp
sun%