> From: "J. David Bryan" <[EMAIL PROTECTED]>
> Date: Tue, 14 Feb 2006 18:54:59 -0500
> CC: [email protected]
> 
> > If Make does need to invoke the shell, the Windows port always forces
> > use of batch files with cmd.exe (sh.exe is invoked as on Unix, by
> > default).  I'm guessing that this is because the quoting rules are very
> > different on Windows, and because Windows 9x has a different (more
> > stupid) shell....
> 
> Would it be reasonable to condition this on whether "command.com" or 
> "cmd.exe" is the shell?

Quoting in cmd.exe is still very different from a Unixy shell, so
construct_command_argv_internal will still need lots of cmd-specific
code fragments, I think.  Something for a rainy day, I guess.

> Or might batch file usage incur such a small time penalty, as a
> percentage of overall make time, that it isn't worth the effort?

I think the penalty of creating a batch file on Windows XP is indeed
very small.  You can try it yourself and see.


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to