Re: Precompiled headers issue: -c and -fpch-preprocess should be used together?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Shevaev <pacha.shevaev@xxxxxxxxx> writes:

>> Those tools
>> first preprocess the C source code and then compile it.  It's true
>> that if you are preprocessing, you need to use the -fpch-preprocess
>> option.  However, -fpch-preprocess is not required if you do not
>> preprocess, and omitting it should work fine when using gcc proper
>> rathre than ccache or distcc.
>
> Thanks for the explanation! I just wonder why not putting this info on
> the pch help page somewhere?

It's kind of special purpose and I think it would fit better on
http://gcc.gnu.org/wiki/FAQ .  Want to add an entry?

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux