[cfe-dev] Program path lookup for MIPS targets
Simon Atanasyan
satanasyan at mips.com
Thu Mar 15 23:28:24 PDT 2012
On Fri, Mar 16, 2012 at 10:10 AM, Chandler Carruth <chandlerc at google.com> wrote:
> On Thu, Mar 15, 2012 at 11:02 PM, Simon Atanasyan <satanasyan at mips.com>
> wrote:
>> The problem seems to be in the Driver::GetProgramPath() routine. If we
>> request a path to "ld" for mipsel-linux-gnu target, this function
>> searches either DefaultTargetTriple+"ld" ("mipsel-linux-gnu-ld" in our
>> case) or "ld" and does not search "mips-linux-gnu-ld".
>
>
> I have a partial solution implemented. As soon as I clean off some high
> priority optimization work I've got on my plate, I'll return to this.
>
> If you'd like, I can send you what I have so far, but it's not in terribly
> good state yet. Among many other issues, fixing this requires us to change
> how we are using the triples being passed around so that they are in perfect
> shape for use when searching program path.
Yes, I'd like to get the code. At least I will be able to estimate a
complexity of the problem.
--
Simon
More information about the cfe-dev
mailing list