#1865: Allow more windows environments with git to work correctly with build
process
----------------------+-----------------------------------------------------
Reporter: ronaldws | Type: cage
Status: new | Priority: normal
Milestone: 2.11 | Component: build
Version: 2.10.0 | Severity: medium
Keywords: | Lang:
Patch: | Platform:
----------------------+-----------------------------------------------------
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[[BR]]
SHELL = cmd[[BR]]
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,
[http://rt.perl.org/rt3//Public/Bug/Display.html?id=78214 RT 78214].
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1865>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets