Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r11b: ndk-which dosen't work #29

Closed
khirowatari opened this issue Mar 18, 2016 · 3 comments
Closed

r11b: ndk-which dosen't work #29

khirowatari opened this issue Mar 18, 2016 · 3 comments
Milestone

Comments

@khirowatari
Copy link

Windows x64

C:\android\android-ndk-r11b>ndk-which gcc
'ndk-which' is not recognized as an internal or external command,
operable program or batch file.

I tried rename "ndk-which" to "ndk-which.cmd"

C:\android\android-ndk-r11b>ndk-which.cmd gcc
'C:\android\android-ndk-r11b\\prebuilt\windows-x86_64\bin\ndk-which' is not recognized as an internal or external command,
operable program or batch file.

Linux / Mac

$ ndk-which gcc
make: /home/android/android-ndk-r11b/prebuilt/linux-x86_64/bin/build/core/build-local.mk: No such file or directory
make: *** No rule to make target `/home/android/android-ndk-r11b/prebuilt/linux-x86_64/bin/build/core/build-local.mk'.  Stop.
/usr/lib/ccache/gcc
@DanAlbert
Copy link
Member

Windows is WAI. It's a shell script, and has never had a Windows implementation. We could leave this open as a feature request to add such a script.

As for being broken on Linux/Mac... oops. Since the implementation script lives in the different directory, a path needs to be updated.

L30 should be:

-MYNDKDIR=`dirname $0`
+MYNDKDIR=`dirname $0`/../../..

Will get a fix out for that in r12.

@DanAlbert DanAlbert added this to the r12 milestone Mar 18, 2016
@khirowatari
Copy link
Author

Thanks. MYNDKDIR fix worked for me.

@DanAlbert
Copy link
Member

@DanAlbert DanAlbert modified the milestones: r11c, r12 Mar 25, 2016
DanAlbert added a commit that referenced this issue Apr 16, 2016
We moved the installed location of `ndk-which` into prebuilts/blah.
Update the path from there to the root.

Fixes #29.

Change-Id: I9d36a3862e438ad517f2a4f8070b211548f602d4
(cherry picked from commit d37b204)
DanAlbert added a commit that referenced this issue Apr 16, 2016
We moved the installed location of `ndk-which` into prebuilts/blah.
Update the path from there to the root.

Fixes #29.

Change-Id: I9d36a3862e438ad517f2a4f8070b211548f602d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants