Igor Peshansky wrote:
On Tue, 6 Feb 2007, Matthew Woehlke wrote:
...but doesn't the script itself involve a fork? On a big project, with
an extra fork for every source file, that can still add up.
Don't forget that invoking the gcc executable from make or the shell
involves a fork anyway. If gcc is 'exec'ed from the script, there will
only be the fork that invokes the shell, versus the fork that would have
invoked the executable.
Hmm, ok, I was never convinced that bash's exec builtin didn't still
involve fork()ing. Now I am (having taken a closer look at it).
--
Matthew
HIPPOS feel unacknowledged. HIPPOS get angry.
> PRAISE HIPPOS
HIPPOS seem somewhat placated.
--
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/