[GCC-XML] Re-enabling C parser

Brad King brad.king at kitware.com
Fri Nov 9 08:05:48 EST 2012


On 11/09/2012 01:35 AM, Andrej Mitrovic wrote:
> I'd like to give it a go at porting the XML routines so they work with
> the C parser. I know the C++ parser can parse most C code but there's
> a few differences here and there that might make it worthwhile for me
> to use the C parser instead.
> 
> How exactly was GCC forced to always run the C++ compiler (cc1plus)?
> cc1.exe is not generated at all so I guess it's disabled somewhere in
> the CMake files?

The CMake build system only builds the cc1plus tool and not cc1.
It was never written to duplicate the cc1 part of the original
build system.  We don't use the main gcc front-end.  The GCC_XML
directory has our own front-end written from scratch.  It always
invokes the cc1plus tool.

-Brad



More information about the gccxml mailing list