Skip to content

r11b: ndk-which dosen't work #29

Closed

Description

@khirowatari

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

Activity

  1. DanAlbert commented on Mar 18, 2016

    @DanAlbert
    Contributor

    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.

  2. added this to the r12 milestone on Mar 18, 2016
  3. khirowatari commented on Mar 18, 2016

    @khirowatari
    Author

    Thanks. MYNDKDIR fix worked for me.

  4. modified the milestones: r11c, r12 on Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions