[LLVMdev] regarding compiling clang for different platform

Venkata Suneel Kota chanakya.sun at gmail.com
Wed Jul 17 07:53:29 PDT 2013

I am new to LLVM
I want to use llvm and clang on Android, I have downloaded android
toolchain and did the configure for llvm using the following commad
 ./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

 and was getting the error
"checking build system type... Invalid configuration
`arm-linux-androideabi': system `androideabi' not recognized
configure: error: /bin/bash autoconf/config.sub arm-linux-androideabi

i modified the command available in the following link

./configure --build=armv7l-unknown-linux-gnueabihf \
--host=armv7l-unknown-linux-gnueabihf \
--target=armv7l-unknown-linux-gnueabihf --with-cpu=cortex-a9 \
--with-float=hard --with-abi=aapcs-vfp --with-fpu=neon \
--enable-targets=arm --enable-optimized --enable-assertions

can any one help me on how to do it...
Thanks in Advance..
Have A Nice Day.....

Thanks & Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130717/c6d93096/attachment.html>

More information about the llvm-dev mailing list