Ticket #1865 (closed cage: fixed)
Allow more windows environments with git to work correctly with build process
Reported by: | ronaldws | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 2.11 |
Component: | build | Version: | 2.10.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Parrot now uses git for source control requiring windows users to install git for development work. The README_win32.pod file notes that msys git is one source but I have successfully installed git for Cygwin and used Cygwin git from the Windows cmd prompt to build parrot. As noted in README_win32.pod having the Msys/bin folder on the path confuses mingw32-make about the command shell by putting sh.exe on the path and putting the Cygwin bin directory on the path has the same problem. There is a more user friendly solution than requiring users to keep these bin directories off the path.
Adding the command
SHELL = cmd
to the makefile will tell mingw32-make to use the Windows cmd shell and the developer need no longer worry about the presence of sh.exe on their path.
The attached patch adds the "SHELL = cmd" line conditionally for win32 builds. While the patch has not been fully tested with the Visual C++ and nmake environment, it has been partially tested with nmake and nmake seems to quietly ignore the added line.
There is an older, related ticket for rakudo, RT 78214.