Android NDK make-standalone-toolchain fails for mips -
Running
make -standalone-toolchain.sh to create a toolan for
I mop architectures, use the following command:
./ build / tools / make-standalone-toolchain.sh - Platform = android- L --toolchain = mipsel-linux - Android-4.9 --abis = mips --system = darwin-x86_64 --install_dir = / tmp / toolchain / mips gives the following error:
error: copy "copy" of the non-directory: ./sources/cxx-stl/gnu-libstdc++/4.9/libs/mips/lib I've narrowed down the problem done The make -standalone -toolchain.sh : 705: mips) 706: if [ "$ STL" = "gnustl" -a "$ GCC_VERSION "==" 4.9 "]; 707: copy_stl_libs mips "Bits" "Bits" "../lib" "lib" 708: copy_stl_libs mips "mips-r2 / bits" "mips-r2 / bits" "../libr2" "libr2" 709: copy_stl_libs Mips "mips-r6 / bits" "mips-r6 / bits" "../libr6" "libr6" 710: and 711: copy_stl_libs mips "bits" "bits" 712: Fi 713: ;; The problem is that we go to the 'then' case, and it tries to copy some non-existent folders. When I am modifying make -standalone-toolchain.sh and forcing it to execute the 'second' case, then the entire process works fine and used to use the toolkain as expected. can go. Is there a flag that I'm missing to avoid error or is it make -standalone-toolchain.sh ?
This was an issue with NDK, which has been resolved and added to the next release.
Comments
Post a Comment