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? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Eric Christopher
2011-Aug-09 01:29 UTC
[LLVMdev] sys::getHostTriple failed to recognize ARM correctly
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
> >> b) Pass --host=<arm arch you want>-… when you configure. > > Either way. But it sounds like you were ok with arm-linux-gnu so that's what I'd suggest you pass using --host.So what you suggest is passing arm-linux-gnu NOT armvX-linux-gnu, right? I thought <arm arch you want> can be armvX-linux-gnu, that confuse me. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Possibly Parallel Threads
- [LLVMdev] sys::getHostTriple failed to recognize ARM correctly
- [LLVMdev] sys::getHostTriple failed to recognize ARM correctly
- [LLVMdev] sys::getHostTriple failed to recognize ARM correctly
- [LLVMdev] sys::getHostTriple failed to recognize ARM correctly
- [LLVMdev] sys::getHostTriple failed to recognize ARM correctly