hi all<div>      My host is Linux on x86. I configure LLVM with Clang using "--enable-targets=arm", build it, install.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>I use it as "clang -ccc-host-triple armv7-unknown-linux-gnueabi /root/tes.c". Clang can't find as and ld. </div>
<div><br></div><div>When I use it as "clang -ccc-host-triple armv7-unknown-linux-gnueabi  -S /root/test.c" </div><div><div>clang: warning: unknown platform, assuming -mfloat-abi=soft</div></div><div><br></div><div>
How can I use Clang to compile for the target ARM-Cortex-A8 on my host.</div><div><br></div><div>thank you all</div>