Branch: refs/heads/bingos/cbuilder_cplusplus Home: https://github.com/Perl/perl5 Commit: be0e4ae0ce08bf86687e078f092f307b719c1ffa https://github.com/Perl/perl5/commit/be0e4ae0ce08bf86687e078f092f307b719c1ffa Author: Chris 'BinGOs' Williams <ch...@bingosnet.co.uk> Date: 2025-03-21 (Fri, 21 Mar 2025)
Changed paths: M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm Log Message: ----------- Fix finding the correct cplusplus compiler ExtUtils::CBuilder was using a slightly maverick method for finding the matching cplusplus compiler to the c compiler used to build perl. On a Linux system with a perl built with the Oracle Developer cc cc='/opt/oracle/developerstudio12.6/bin/cc' Errors were observed: "c++: error: unrecognized command line option ‘-KPIC’; did you mean ‘-fPIC’?" The cplusplus command for Oracle Developer suite is CC not c++ and the detection was picking up the system c++ (g++). If there is a ccpath, the code should exhaust all the options and not fail through to using no path. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications