[cfe-dev] Patch: Find gcc-4.4.4 on Gentoo

Nico Weber thakis at chromium.org
Tue Nov 16 04:45:10 PST 2010


On Tue, Nov 16, 2010 at 9:31 AM, Bertjan Broeksema <broeksema at kde.org> wrote:
> Rafael EspĂ­ndola wrote:
>
>>> I think we maybe have 2 approach:
>>>
>>> 1. Use a config file
>>> This file can be generated by compile time, and updated at any time.
>>>
>>> 2. Found path at run time
>>> For example, gcc can generate such verbose output:
>>
>> We already have support for configure options for setting this. Adding
>> support for figuring out the correct values from the host compiler
>> would be a very nice improvement.
>
> Yes, I noticed that Gentoo has a use flag for this, which if enabled (not
> the default) indeed uses the correct path as well. But as said, it wasn't
> the default and IMO the default configuration should work as well.
>
>> For now I think this patch is OK (assuming this is a common gentoo
>> configuration...).
>
> It is a common configuration yes. And indeed, getting the correct values
> from the host compiler might be nice, but in the end it doesn't differ
> that much from the current situation. I.e. you'll need (slightly)
> different calls to compiler executables and output parsing for each
> different compiler (though, probably a lot less as you don't need a new
> method for each compiler version, most likely).
>
> Anyhow, I don't have commit rights, so if somebody who has can commit...
> I'd appreciate.

Landed in r119348. Thanks for the patch!

>
> --
> Cheers,
>
> Bertjan
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list