[GCC-XML] ANNOUNCEMENT: Internal parser upgraded to GCC 4.2

Brad King brad.king at kitware.com
Wed Oct 31 17:53:41 EDT 2007

Brad King wrote:
> Strange.  There is no opts.sh.  I think that is an old comment even in
> upstream GCC.  The file is created by "optc-gen.awk" and is executed
> with the argument
>   -v header_name="config.h system.h coretypes.h tm.h"
> (among other arguments) by a build rule in GCC/gcc/CMakeLists.txt.  The
> include file list is generated in the awk script by this code:
> n_headers = split(header_name, headers, " ")
> for (i = 1; i <= n_headers; i++)
> 	print "#include " quote headers[i] quote
> Somehow the splitting is adding slashes to the file names.

Okay, I found the problem.  I have no idea how this was working
everywhere for me.  Here is the fix:

/cvsroot/GCC_XML/gccxml/GCC/gcc/CMakeLists.txt,v  <--  CMakeLists.txt
new revision: 1.16; previous revision: 1.15


More information about the gccxml mailing list