No arm-linux-androideabi-gcc in prebuilts for ndk r21d

二次信任 提交于 2021-02-11 15:02:04

问题


Hi I'm trying to build a custom android kernel.

I was told to $ export CROSS_COMPILE=/home/user/adb-fastboot/kernel-custom/android-ndk-r21d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- with nothing after the dash

But when I $ make clean && make mrproper I get

make: /home/user/adb-fastboot/kernel-custom/android-ndk-r21d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: Command not found

So when I assume that make clean isn't mandatory and do $ make -j8 I also get

make: /home/user/adb-fastboot/kernel-custom/android-ndk-r21d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: Command not found

I just downloaded the ndk from there and clicked "ectract here" on a linux machine https://developer.android.com/ndk/downloads but I can't find any arm-linux-androideabi-gcc file anywhere in the extracted folder...

What should I do to manage to compile please?

Regards

来源:https://stackoverflow.com/questions/64839848/no-arm-linux-androideabi-gcc-in-prebuilts-for-ndk-r21d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!