<div dir="ltr">Hi, All.<div><br></div><div>I'm trying to cross-compile clang to use on arm android device.</div><div><br></div><div>I've prepared standalone toolchain from android ndk.</div><div>Now i'm getting configuration error:</div>
<div><br></div><div><div>export CROSS_COMPILE=arm-linux-androideabi</div><div>export CC=${CROSS_COMPILE}-gcc</div><div>export CXX=${CROSS_COMPILE}=g++</div><div>export NDK=/softdev/android-ndk-r8e</div><div>export ANDROID_NDK_ROOT=/softdev/android-ndk-r8e</div>
<div>export SYSROOT=$NDK/platforms/android-8/arch-arm</div><div>export PATH=/softdev/arm-toolchain/bin:$PATH:/softdev/android-ndk-r8e/platforms/android-8/arch-arm</div><div><br></div><div>./configure --host=arm-linux-androideabi --target=arm-linux-androideabi --prefix=/softdev/arduinodroid_clang/arm</div>
</div><div><br></div><div>Error:</div><div>checking tool compatibility... configure: error: g++|clang++|icc required but not found<br></div><div><br></div><div>Can anybody help me or describe step-by-step?</div><div><br></div>
<div>Thanks in advance!</div></div>