先看Google Android关于toolchain的官方文档https://developer.android.com/ndk/guides/standalone_toolchain.html 可以自定义工具链进行交叉编译