This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.5 integration branch proposal


On Jan 20, 2004, Mike Stump <mrs@apple.com> wrote:

>> How can you do PCH with distcc, if distcc just ships the preprocessed
>> sources to the remote box?

> :-)  You'd be interested in our magic -fpch-preprocess option.

Way cool!  I've either missed it or completely forgotten about it.

>> Usage of distcc simply disables PCH for me.  Are you hiding any
>> patches from the rest of us, that embed PCH data in the
>> preprocessor output?

> Yes.

But you were not hiding them, after all :-) :-)

Thanks for the pointer.

> No, it is fairly safe and not the default.  It does require that
> distcc know to put on one extra option, but I thought that was best,
> too many users of -E otherwise.

Actually, it just requires the addition of the option of CFLAGS, which
is fine, since it's a do-nothing should distcc choose to run locally.
I really, really like it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]