Hi,<div>I am new to LLVM</div><div>I want to use llvm and clang on Android, I have downloaded android toolchain and did the configure for llvm using the following commad</div><div> ./configure --build=arm-linux-androideabi --host=arm-linux-androideabi --target=arm-linux-androideabi --with-float=hard --with-fpu=neon --enable-targets=arm --enable-optimized --enable-assertions</div>
<div><br></div><div> and was getting the error</div><div><div>"checking build system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized</div><div>configure: error: /bin/bash autoconf/config.sub arm-linux-androideabi failed"</div>
</div><div><br></div><div>i modified the command available in the following link</div><div><a href="http://llvm.org/releases/3.3/docs/HowToBuildOnARM.html">http://llvm.org/releases/3.3/docs/HowToBuildOnARM.html</a></div><div>
<br></div><div><br></div><div><pre style="overflow-x:auto;overflow-y:hidden;font-family:Consolas,'Deja Vu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:0.95em;line-height:15px;padding:0.5em;border:1px solid rgb(204,204,204);background-color:rgb(248,248,248)">
./configure --build<span class="o" style="color:rgb(102,102,102)">=</span>armv7l-unknown-linux-gnueabihf <span class="se" style="color:rgb(64,112,160);font-weight:bold">\</span>
--host<span class="o" style="color:rgb(102,102,102)">=</span>armv7l-unknown-linux-gnueabihf <span class="se" style="color:rgb(64,112,160);font-weight:bold">\</span>
--target<span class="o" style="color:rgb(102,102,102)">=</span>armv7l-unknown-linux-gnueabihf --with-cpu<span class="o" style="color:rgb(102,102,102)">=</span>cortex-a9 <span class="se" style="color:rgb(64,112,160);font-weight:bold">\</span>
--with-float<span class="o" style="color:rgb(102,102,102)">=</span>hard --with-abi<span class="o" style="color:rgb(102,102,102)">=</span>aapcs-vfp --with-fpu<span class="o" style="color:rgb(102,102,102)">=</span>neon <span class="se" style="color:rgb(64,112,160);font-weight:bold">\</span>
--enable-targets<span class="o" style="color:rgb(102,102,102)">=</span>arm --enable-optimized --enable-assertions</pre></div><div><br></div><div>can any one help me on how to do it...</div><div>Thanks in Advance..</div><div>
Have A Nice Day.....</div><div><br></div><div>Thanks & Regards</div><div>chanakya</div>