[GCC-XML] Can't seem to get --gccxml-gcc-options to work
Brad King
brad.king at kitware.com
Mon Apr 20 15:56:58 EDT 2009
Tim Cassidy wrote:
> Hi all - I can't seem to get gccxml to process the --gccxml-gcc-options
> flag.
>
> The reason we're trying to get it working is because I believe we've
> reached a character limit on the parameters we're currently passing into
> gccxml. Does anyone know what the character limit is when passing
> parameters into gccxml? Is this a windows limitation?
>
> Here is the contents of the options file:
> -I "C:\Program Files\Faked Path\With\include"
> -I "C:\Foo\Bar\Foo\Bar\Foo\Bar\Foo\Bar\2.0.7\include\Common"
> -I "C:\Bar\Foo\Bar\Foo\Bar\Foo\dev\include"
> -I "c:\Bar\Bar\Foo\Foo\Bar\Bar\Foo\Foo\runtimetest"
> -I "c:\Foo\Foo\Bar\Bar\Foo\Foo\dev"
The options file is newline-separated, so each option must be on one
line and there is no need for quotes:
-IC:\Program Files\Faked Path\With\include
-IC:\Foo\Bar\Foo\Bar\Foo\Bar\Foo\Bar\2.0.7\include\Common
-IC:\Bar\Foo\Bar\Foo\Bar\Foo\dev\include
-Ic:\Bar\Bar\Foo\Foo\Bar\Bar\Foo\Foo\runtimetest
-Ic:\Foo\Foo\Bar\Bar\Foo\Foo\dev
-Brad
More information about the gccxml
mailing list