Re: Makefile command interpreter

2008-05-15 Thread Christopher Faylor
On Fri, May 16, 2008 at 10:14:14AM +1200, Volker Kuhlmann wrote: >>> Setting export SHELL=cmd.exe >>> calls cmd.exe alright, but then sits there forever waiting for input. >> Just a wild guess, as I have not tested this: >> Have you tried cmd.exe with the /c switch? If cmd.exe is called without >>

Re: Makefile command interpreter

2008-05-15 Thread Mark J. Reed
The problem is that Make invokes the shell with -c, e.g. bash -c "gcc ..." cmd.exe doesn't understand that and apparently ignores it. But when you supply /c, yielding cmd.exe /c -c "gcc ..." It complains. Basocally, make expects a shell that accepts Unix shell args. You could create a wrappe

Re: Makefile command interpreter

2008-05-15 Thread Volker Kuhlmann
Setting export SHELL=cmd.exe calls cmd.exe alright, but then sits there forever waiting for input. Just a wild guess, as I have not tested this: Have you tried cmd.exe with the /c switch? If cmd.exe is called without that switch, it expects input from the standard input (console). Yes, tried

Re: Makefile command interpreter

2008-05-15 Thread Spiro Trikaliotis
Hello, * On Thu, May 15, 2008 at 03:15:05PM +1200 Volker Kuhlmann wrote: > I have a few makefiles which are written to run with the cmd.exe command > interpreter, which won't work with cygwin's make (which uses /bin/sh). > > Setting export SHELL=cmd.exe > calls cmd.exe alright, but then sits the