[GCC-XML] Win7 + MinGW: "Compiler is not supported" error.

Brad King brad.king at kitware.com
Thu Apr 25 10:13:21 EDT 2013


On 04/25/2013 08:45 AM, petr at ohlidal.cz wrote:
> error: could not identify compiler via -E preprocessing
> 
> m_GCCXML_COMPILER: g++
> compilerName: g++
> compilerID: ERROR_unsupported_compiler_in_gxConfiguration_GetCompilerId

Something goes wrong in gxConfiguration::GetCompilerId in
GCC_XML/GXFront/gxConfiguration.cxx:

 https://github.com/gccxml/gccxml/blob/1bfbbe93/GCC_XML/GXFront/gxConfiguration.cxx#L994

The method tries to run the compiler's preprocessor and detect
the compiler identification by matching a regex in the output
from preprocessing.  Either something goes wrong with the
command execution or the regex is not matching this compiler's
output.

Hopefully that is enough information to get you started in
debugging it.

-Brad



More information about the gccxml mailing list