When creating a program setting variable

STANDALONE_TOOLCHAIN=path/to/android-ndk-r11c/sysroot-arm/bin make 

The terminal gives an error:

 make: path/to/android-ndk-r11c/sysroot-arm/bin/arm-linux-androideabi-g++: Команда не найдена Makefile:38: ошибка выполнения рецепта для цели «rh-test.o» make: *** [rh-test.o] Ошибка 127 

I perform actions sequentially according to the GitHub pattern:

 wget https://dl.google.com/android/repository/android-ndk-r11c-linux-x86_64.zip unzip android-ndk-r11c-linux-x86_64.zip cd android-ndk-r11c ./build/tools/make-standalone-toolchain.sh --ndk-dir=`pwd` \ --arch=arm --platform=android-24 \ --install-dir=./sysroot-arm/ \ --verbose 
  • one
    it is written: “command not found”. if there is such a file, then either it does not have executable bits (for your user), or the file system on which it is located is mounted with the noexec option (other reasons are less likely). - aleksandr barakin
  • one
    instead of path/to you need to specify the "path to" tulchein (compiler / make / something-else for the assembly) on your system - Fat-Zer

0