I have a project that I build on Windows using gccxml that routinely has 3,600+ character command lines to gccxml as part of the build. (And those are the short ones...)
There must be something else happening to give you problems around 600 characters because Windows and gccxml can handle that command line length just fine. On Mon, Apr 20, 2009 at 5:25 PM, Tim Cassidy <[email protected]>wrote: > 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 > > > ------------------------------ > Make your browsing faster, safer, and easier with the new Internet > Explorer® 8. Optimized for Yahoo! *Get it Now for Free! > *<http://downloads.yahoo.com/ca/internetexplorer/> > > _______________________________________________ > 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 > >
_______________________________________________ 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
