[GCC-XML] Argument list too long

Vishal Bayskar vishal.bayskar at nechclst.in
Tue Mar 23 01:56:58 EDT 2010


Thanks all for the prompt response.

There was a problem of config parameter GCCXML_EXECUTABLE

Earlier it was set wrong to "/usr/local/bin/gccxml"

Now I have set it to "/usr/local/bin/gccxml_cc1plus"

Now it is running properly.



Thanks
Vishal


-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Fri 3/19/2010 6:11 PM
To: Vishal Bayskar
Cc: Pascal J. Bourguignon; gccxml at gccxml.org
Subject: Re: [GCC-XML] Argument list too long
 
Pascal J. Bourguignon wrote:
> On 2010/03/17, at 12:27 , Vishal Bayskar wrote:
>> but every time it is giving an error
>> =======
>> Error: Could not run /usr/local/bin/gccxml:
>> Argument list too long
>> =======
> This is a limit of the host operating system.  In general, there's a
> limit on the number of arguments and on the total size of the arguments
> that can be passed to a process.

The argument list that gccxml generates for its internal parser
is no where close to the limit of 64-bit Linux argv[].

> On 2010/03/17, at 12:27 , Vishal Bayskar wrote:
>   GCCXML_COMPILER="/usr/lib64/ccache/c++"

We don't support ccache.  Try

  gccxml --gccxml-compiler g++ example1.cxx -fxml=example1.xml

-Brad






DISCLAIMER: 
----------------------------------------------------------------------------------------------------------------------- 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20100323/83176b80/attachment.html>


More information about the gccxml mailing list