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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml
