android - ndk-build arm-linux-androideabi-gcc: Command not found -


i've spent day , have looked @ several tutorials, cannot ndk-build compile make file. see current code is, @ tutorial i'm following here: https://thenewcircle.com/s/post/1153/introduction_to_ndk

i'm on windows 7 64-bit system i'm running cygwin. go project directory "fibonaccinative" , type "ndk-build" , i'm getting:

$ ndk-build make: /cygdrive/c/android/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-/bin/arm-linux-androideabi-gcc: command not found make: /cygdrive/c/android/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-/bin/arm-linux-androideabi-gcc: command not found compile thumb  : com_marakana_android_fibonaccinative_fiblib <= com_marakana_android_fibonaccinative_fiblib.c /bin/sh: /cygdrive/c/android/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-/bin/arm-linux-androideabi-gcc: no such file or directory /cygdrive/c/android/android-ndk-r8/build/core/build-binary.mk:240: recipe target `obj/local/armeabi/objs/com_marakana_android_fibonaccinative_fiblib/com_marakana_android_fibonaccinative_fiblib.o' failed make: *** [obj/local/armeabi/objs/com_marakana_android_fibonaccinative_fiblib/com_marakana_android_fibonaccinative_fiblib.o] error 127 

i "command not found." doing wrong?

thanks matt

folders stuff installed:
c:\android\android-ndk-r8
c:\android\android-sdk
c:!personal\eclipse/fibonaccinative
c:\cygwin

in cygwin have gcc-core, gcc-mingw-core, libgcc1.
perhaps missing cygwin?

it looks bug in script. hard-coded host_tag windows in \build\core\init.mk , works fine. +1 chris stratton help.

# if on windows, need check not running # cygwin 1.5, deprecated , won't run our toolchain # binaries properly. # ifeq ($(host_tag),windows-x86)     ifeq ($(host_os),cygwin)         # on cygwin, 'uname -r' returns 1.5.23(0.225/5/3)         # recognize 1.5. prefix then.         cygwin_version := $(shell uname -r)         ifneq ($(filter xx1.5.%,xx$(cygwin_version)),)             $(call __ndk_info,you seem running cygwin 1.5, not supported.)             $(call __ndk_info,please upgrade cygwin 1.7 or higher.)             $(call __ndk_error,aborting.)         endif     endif     # special-case host-tag     host_tag := windows endif  host_tag := windows 

i found searching misspelling in message after "host tols prebuilt directory not found" :)


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -