[GCC-XML] support for new gcc versions

Brad King brad.king at kitware.com
Wed Feb 10 09:31:51 EST 2010


Stefan Roiser wrote:
> possible to have the version numbers for gcc found outside the
> C++ source code. That way it would be easier to adapt to new
> versions and no need to recompile.

The translation from find_flags.sh to C++ was done for security
and the windows port.  It was basically a direct translation of
the old logic.  It is simple enough to just compute the support
directory path from the version number:

Handle arbitrary GCC versions in gccxml front-end
/cvsroot/GCC_XML/gccxml/GCC_XML/GXFront/gxConfiguration.cxx,v  <--  GCC_XML/GXFront/gxConfiguration.cxx
new revision: 1.71; previous revision: 1.70

I've also committed the builtins header:

Update GCC_XML/Support for GCC 4.5
/cvsroot/GCC_XML/gccxml/GCC_XML/Support/GCC/4.5/gccxml_builtins.h,v  <--  GCC_XML/Support/GCC/4.5/gccxml_builtins.h
initial revision: 1.1

Thanks,
-Brad



More information about the gccxml mailing list