![]() make-standalone-toolchain.sh: OPTIONS_default_linux-armv7l=: not foundĪt the top it says "WARNING: The shell running this script isn't bash. make-standalone-toolchain.sh: OPTIONS_default_.=: not found make-standalone-toolchain.sh: can't open path: No such file or directory make-standalone-toolchain.sh: OPTIONS_abstract_Specify: not found make-standalone-toolchain.sh: can't open name: No such file or directory configure -prefix=/opt/android -host=arm-linux-androideabi & make & make install (Optional) Now you can use it as a standard GNU toolchainįor example.arm-linux-androideabi-gcc -x c -įile a.out # a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped Delete the NDK (Yes, we don't need it any more)Įcho "main()" |. ![]() Tar xf android-ndk-r9d-*.tar.bz2 & cd android-ndk-r9dīuild/tools/make-standalone-toolchain.sh -toolchain=arm-linux-androideabi-4.8 -platform=android-19 -install-dir=./toolchain home/tyeken8/Desktop/elab/geo/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/./lib/gcc/arm-linux-androideabi/4.8/././././arm-linux-androideabi/bin/ld: error: cannot find -ldlĬollect2: error: ld returned 1 exit statusĪlthough we can manuall specify the path (someone wrote a program called "agcc" to handle this automatically, but still not good), it's really annoying. home/tyeken8/Desktop/elab/geo/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/./lib/gcc/arm-linux-androideabi/4.8/././././arm-linux-androideabi/bin/ld: error: cannot find -lc home/tyeken8/Desktop/elab/geo/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/./lib/gcc/arm-linux-androideabi/4.8/././././arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory For Example: /home/tyeken8/Desktop/elab/geo/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/./lib/gcc/arm-linux-androideabi/4.8/././././arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |