I am trying to compile binutils for Android using the Android NDK, so I installed the the NDK using the guide found here (specifically Advanced method) and I proved it working by compiling Lua with it successfully.Here are the steps I followed:export NDK=/path/to/ndkexport SYSROOT=$NDK/platforms/android-23/arch-arm$NDK/build/tools/make_standalone_toolchain.py --arch=arm --api=23 --install-dir /tmp/android-toolchainexport PATH=/tmp/android-toolchain/bin:$PATHmkdir build-binutilscd binutilsexport TARGET=arm-linux-androideabiexport HOST=$TARGETexport BUILD=x86_64-linux../binutils-2.27/configure --host=$HOST --target=$TARGET --build=$BUILD --with-sysroot=$SYSROOT --disable-nls --disable-werrormakemake installmake install fails with the following output:This is not dpkg install-info anymore, but GNU install-infoSee the man page for ginstall-info for command line arguments./libtool: line 1118: arm-linux-androideabi-ranlib: command not foundmake[5]: *** [install-bfdlibLTLIBRARIES] Error 127make[4]: *** [install-am] Error 2make[3]: *** [install-recursive] Error 1make[2]: *** [install] Error 2make[1]: *** [install-bfd] Error 2make: *** [install] Error 2Note that running arm-linux-androideabi-ranlib works fine:$ arm-linux-androideabi-ranlibUsage: arm-linux-androideabi-ranlib [options] archive Generate an index to speed access to archives The options are:  @<file>                      Read options from <file>  --plugin <name>              Load the specified plugin  -D                           Use zero for symbol map timestamp  -U                           Use actual symbol map timestamp (default)  -t                           Update the archive's symbol map timestamp  -h --help                    Print this help message  -v --version                 Print version informationarm-linux-androideabi-ranlib: supported targets: elf32-littlearm elf32-    bigarm elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihexWhat is the correct method for installing a cross-compiled toolchain?
Error during installation of a binutils Canadian Cross-Compile
android;cross compilation