[comp.sys.mac.programmer] Need MPW Tool porting help

shap@polya.Stanford.EDU (Jonathan S. Shapiro) (07/01/89)

Hopefully one of you can help me.  I am porting a compiler to MPW.  I
plan to give it away.

Like all other C compilers, this one assumes that it can fork off a C
preprocessor as a subprocess and then compile from the resulting
temporary file.  The question is, what is the right way to port this
behavior to the MPW environment, where there isn't a moral equivalent
(that I know of) to fork()?

I have thought about merging the preprocessor into the main program -
it would give performance improvements too - but it is a lot of work,
and I would like to find an easier way.