Skip to content

Clarify Tool Prerequisites #9

@izrik

Description

@izrik

I'm trying to build the software, but simply running make isn't working. It compiles the setpropex binary just fine. However, when it gets to the part of the makefile that compiles the rootadb executable, it can't find the compiler:

... compile setpropex via Android.mk ...

if [ ! -e "assets" ]; then mkdir assets ; fi
cp libs/armeabi/setpropex assets/setpropex
gcc-android jni/rootadb.c -o assets/rootadb
make: gcc-android: No such file or directory
make: *** [build] Error 1

What is gcc-android exactly? It doesn't seem to be a part of the NDK that I have. How do I install it?

I'm running OSX 10.11.6, with ndk-build version 3.81:

$ ndk-build --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

make --version also gives the same output as ndk-build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions