[cfe-dev] choosing the gcc toolchain

reed kotler rkotler at mips.com
Thu Feb 27 15:37:21 PST 2014


Okay.

The clang is working ok. I can compile, link and run a program in a 
simple fashion.

I will take a look.

Thanks.

Reed

On 02/27/2014 03:34 PM, Chandler Carruth wrote:
> My best guess is that the multilib stuff wasn't setup correctly. Note 
> that MIPS has custom logic for this (findMIPSMultilibs). If that 
> fails, then we'll not use the newer GCC installation. You could add 
> logging there to try and figure out why.
>
>
> On Thu, Feb 27, 2014 at 3:31 PM, Chandler Carruth 
> <chandlerc at google.com <mailto:chandlerc at google.com>> wrote:
>
>     Weird, the code is supposed to select 4.7 there... lemme check why
>     it would do this.
>
>
>     On Thu, Feb 27, 2014 at 3:27 PM, Reed Kotler <rkotler at mips.com
>     <mailto:rkotler at mips.com>> wrote:
>
>         I built a Mips llvm for one of our target machines.
>         When I run it there it unfortunately chooses the wrong gcc
>         toolchain.
>         4.7.2 is what I want it to choose.
>
>         Can this be overriden?
>
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.4
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.4.6
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.4.7
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.6
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.6.3
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.7
>         Found candidate GCC installation:
>         /usr/lib/gcc/mipsel-linux-gnu/4.7.2
>         Selected GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6
>
>         Tia.
>
>         Reed
>         _______________________________________________
>         cfe-dev mailing list
>         cfe-dev at cs.uiuc.edu <mailto:cfe-dev at cs.uiuc.edu>
>         http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140227/aa6ec761/attachment.html>


More information about the cfe-dev mailing list