[distcc] using distcc to speed up gcc bootstraps

Alexandre Oliva aoliva at redhat.com
Fri Aug 23 14:01:01 GMT 2002


On Aug 23, 2002, Neil Booth <neil at daikokuya.co.uk> wrote:

>> So how do you suggest it to emit a single <directory> directive right
>> after the initial source file name?

> As part of cc1's preprocessed output code.

But how does it tell that it's time to emit the <directory> directive?

Oh, I think I see what you mean.  Since we currently don't handle at
all the case of `gcc -E -x cpp-output' to emit an unmodified copy of
the input file, it's just a matter of the preprocessor output emitting
<directory>getpwd() after the initial line directive, and handling
this directive entirely in cc1.  Does this sound acceptable to you?
If so, I'll give it a try tonight.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the distcc mailing list