Subject: Re: make -j and failure modes
To: Greywolf <>
From: David Laight <>
List: tech-userlevel
Date: 12/10/2003 22:09:01
> DL> If a command is recognised as 'cd xxx; yyy' make could fork, cd and exec.
> DL> Other optimisations (eg builtin echo) might also be benefitial.
> What if you have strings of those, i.e.
> 	cd xxx; yyy; cd xxn; yyz; cd foo; bar; ...
> You only gain one level of optimization,

Yes, but you catch the most common case which is actually:
	cd xxx; make foo

> unless you're thinking make
> should also be parsing command lines (which is starting to sound like a
> nightmare...).

Make -j might need a builtin posix compliant shell......


David Laight: