This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
implement USE_CPLUSPLUS build option in win32/GNUmakefile
authorDaniel Dragan <bulk88@hotmail.com>
Wed, 25 Apr 2018 00:34:21 +0000 (20:34 -0400)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 10 Jul 2018 07:36:51 +0000 (08:36 +0100)
commitcc1cf06521feab9de4f060ec82d889e41266c16c
tree48296adfe7d79ff5c77eab482dbcf0e76b7c9cd4
parentf5d75fd071619aa07aefa01941d5cde45c6e5cfd
implement USE_CPLUSPLUS build option in win32/GNUmakefile

win32/makefile.mk has had a C++ build option for a long time, but
GNUmakefile didn't. Over time, GNUmakefile and makefile.mk got more and
more syncronized in their features. There is very little left to implement
USE_CPLUSPLUS in GNUmakefile, so just implement it finally. This allows
the gmake/gcc 3.4.5 bundled with strawberry perl 5.8.9 to be used to build
USE_CPLUSPLUS mode perl since the dmake bundled with 5.8.9 whose version is
"Version 4.8-20070327-SHAY (Windows / MS Visual C++)"
has a bug generating cmd lines passed to cmd.exe which causes EUMM
makefiles to fail with

'..\..\miniperl.exe" "-I..\..\lib' is not recognized as an internal or
external command, operable program or batch file.

but newer dmakes such as "Version 4.12 (Windows / MinGW)" dont have this
bug. Researching the bug/regression with EUMM and ancient dmakes is left
for the future.
win32/GNUmakefile