Monday, 15 June 2015

Android NDK make-standalone-toolchain fails for mips -



Android NDK make-standalone-toolchain fails for mips -

i running make-standalone-toolchain.sh create toolchain mips architecture, using next 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

this gives next error:

error: cant' re-create non-directory: ./sources/cxx-stl/gnu-libstdc++/4.9/libs/mips/lib

i've narrowed problem downwards next lines in 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: else 711: copy_stl_libs mips "bits" "bits" 712: fi 713: ;;

the problem go 'then' case, , tries re-create non-existant folders. when modify make-standalone-toolchain.sh , forcefulness execute 'else' case instead, whole process works fine , toolchain can used expected.

is there flag i'm missing avoid error or bug make-standalone-toolchain.sh?

this issue ndk, has been resolved , added next release.

here android issue

android-ndk mips

No comments:

Post a Comment