How to build C Preprocessor only?

Alexey Salmin
Fri Feb 5 09:40:00 GMT 2010

On Fri, Feb 5, 2010 at 12:13 PM, Ian Lance Taylor <> wrote:
> 조우영 <> writes:
>> I need C Preprocessor only.
>> It takes too much time to build the whole gcc package.
>> Is there a way to build only c preprocessor in gcc?
> No.  Sorry.  In gcc, the preprocessor is really just part of the
> compiler, it is not a separate program.  The program 'cpp' is just a
> different way of invoking the compiler.
> Ian

May be "--enable-languages=c" will slightly speed up the build
process? Not what you're asking for but might help a bit.


More information about the Gcc-help mailing list