[ccache] [PATCH] add support for '@' parameters

Andrew Stubbs ams at codesourcery.com
Tue Jul 31 03:49:25 MDT 2012


On 30/07/12 22:09, Boie, Andrew P wrote:
>> -----Original Message----- From: joel.rosdahl at gmail.com
>> [mailto:joel.rosdahl at gmail.com] On Behalf Of Joel Rosdahl
>>> +                       file_args =
>>> args_init_from_string(argdata);
>>
>> Isn't args_init_from_string too simplistic for parsing the
>> contents?
>
> Oof, yeah you're right. It seems that args_init_from_string needs to
> be significantly beefed-up. I don't suppose you know of some library
> code somewhere that does this? I should dig into the bash sources,
> IIRC it's the shell that turns the string into argv array...

I imagine bash does a lot too much here.

GCC should have precisely the right code to handle '@' parameters.

Andrew


More information about the ccache mailing list