无法从工具链自动配置拱 [英] Unable to auto-config arch from toolchain
问题描述
我想在Cygwin中配置工具链为Android NDK。
我用了这个<一个href=\"http://www.ikravets.com/computer-life/programming/2014/01/18/an-android-cross-compiling-environment-on-windowsunix-like-systems-using-ndk\"相对=nofollow>教程。
当我运行以下命令:
I'm trying to configuration toolchain in Cygwin for Android NDK. I use of this tutorial. when I run the following command:
./ make-standalone-toolchain.sh --platform = Android的9 --install-DIR = C:/ Android的工具链--ndk-DIR = C:/ Android的NDK-r10d /
./make-standalone-toolchain.sh --platform=android-9 --install-dir=c:/android-toolchain --ndk-dir=c:/android-ndk-r10d/
它显示无法从工具链自动配置拱
It shows "Unable to auto-config arch from toolchain"
我怎样才能解决问题呢?
How can I fix problem?
推荐答案
您必须指定你想要的工具链,添加一个工具链
标记,例如用于 ARM-Linux的androidabi-4.6
工具链:
You have to specify which toolchain you want, add a toolchain
flag, for instance for arm-linux-androidabi-4.6
toolchain:
./make-standalone-toolchain.sh --toolchain=arm-linux-androideabi-4.6 --platform=android-9 --install-dir=c:/android-toolchain --ndk-dir=c:/android-ndk-r10d/
您可以找到您可用的工具链的列表C:/ Android的NDK-r10d /工具链
目录
这篇关于无法从工具链自动配置拱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!