Thanks Brad - that fixes the issue.  So on the command-line it supports having 
a space between the "-I" and the include path, but not in the options file?
 
Also, does anyone know if there is a character limit on command line?  I think 
we were seeing things stop working at about the 600 character mark?  Is that a 
limitation of windows or gccxml?
 
Thanks again,
Tim

--- On Mon, 4/20/09, Brad King <[email protected]> wrote:

From: Brad King <[email protected]>
Subject: Re: [GCC-XML] Can't seem to get --gccxml-gcc-options to work
To: [email protected]
Cc: [email protected]
Received: Monday, April 20, 2009, 3:56 PM

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



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
_______________________________________________
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

Reply via email to