Mail Archives: djgpp/1998/10/25/12:04:29
On Fri, 23 Oct 1998, Hans-Bernhard Broeker wrote:
> > cd ../new_dir; $(MAKE)
>
> Of course it will. How on earth do you expect DOS's 'cd' command to
> understand *forward* slashes?
DJGPP ports of Make v3.75 and later almost never call COMMAND.COM
(precisely because it is so dumb). Instead, they call `system' from
the library which emulates all COMMAND.COM functionality, inluding
redirection and the CD command. A (well-intended) side-effect is that
forward slashes and multiple commands on the same line are supported,
even with stock DOS shells. The only case when COMMAND.COM is called
is to run a batch file or an inteernal command other than those which
are emulated.
- Raw text -