[GCC-XML] Can't seem to get --gccxml-gcc-options to work

Brad King brad.king at kitware.com
Tue Apr 21 08:18:25 EDT 2009


Tim Cassidy wrote:
> So you're saying that having a space between the "-I" and your path on 
> the command-line is incorrect?

It's fine on the command line.  GCC supports either

  "-Ifoo"

or

  "-I" "foo"

Putting a space in the options file is like passing

   "-I foo"

on the command line, which says to use an include directory whose name
starts with a space: " foo".

> As for the specific issue I'm having - the first example below didn't 
> work and the second did:

The phrase "didn't work" is quite generic.  What was the actual failure
and/or error message?

> --gccxml-config 
> "C:\Xxxx\Xxxxx\xxxxxxxxx\xxx\xxxxxxxxxx\dev\bin\gccxml\gccxml_config"

Normally one should not need to specify --gccxml-config.  Did you create
a custom config file?

-Brad



More information about the gccxml mailing list