rootadb icon indicating copy to clipboard operation
rootadb copied to clipboard

Clarify Tool Prerequisites

Open izrik opened this issue 9 years ago • 0 comments

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.

izrik avatar Dec 22 '16 21:12 izrik