[LLVMdev] sys::getHostTriple failed to recognize ARM correctly

Eric Christopher echristo at apple.com
Mon Aug 8 18:29:56 PDT 2011


On Aug 8, 2011, at 6:27 PM, 陳韋任 wrote:

> Hi, Eric
> 
>> Two ways:
>> 
>> a) Add support for armv7l to llvm :)
>> b) Pass --host=<arm arch you want>-… when you configure.
> 
>  Do you mean both way have to be done, or either way? I don't
> understand if I ignore option a, which means LLVM does NOT
> support armv7l right now, how can --host=<arm arch you want>
> work? Or I misunderstood what you said?

Either way. But it sounds like you were ok with arm-linux-gnu so that's what I'd suggest you pass using --host.

And no, I don't see anything that says "v7l" in the arm backend as of yet.

-eric



More information about the llvm-dev mailing list