This is the mail archive of the
mailing list for the Cygwin project.
Re: Makefile command interpreter
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 wrapper for the windows shell that does,
maybe, but you can't use the windows shell directly from Cygwin's
On 5/15/08, Volker Kuhlmann <email@example.com> 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
>> that switch, it expects input from the standard input (console).
> Yes, tried that, the result always is
> '-c' is not recognized as an internal or external command,
> operable program or batch file.
> Something is messing with the argument list.
> No difference between these two there:
> SHELL=cmd.exe /C
> SHELL:=/cygdrive/c/windows/system32/cmd.exe -- /C
> Looks like that might be on the right track, but how do I get arguments
> across verbatim?
> Volker Kuhlmann <firstname.lastname@example.org>
> Chiptech Ltd, PO Box 41088, Ferrymead 8247, New Zealand
> 11a Settlers Crescent, Christchurch 8023
> ph +64 3 384 7788, fax +64 3 384 7789
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
Sent from Gmail for mobile | mobile.google.com
Mark J. Reed <email@example.com>
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html