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
misc/android: document the standalone NDK toolchain #14398
Comments
Are you using a stand-alone ndk toolchain? In builder, we use a stand-alone ndk toolchain prepared with make-standalone-toolchain.sh which sets up all the include files and libraries in usual places. http://developer.android.com/ndk/guides/standalone_toolchain.html Otherwise, wrap the gcc command with --sysroot and set CC to be the wrapper. |
I mean CC_FOR_TARGET |
I will update the docs about building the standalone toolchain. |
Still needs documentation or self-diagnosis or something. On a Mac, it fails like so:
and then many repetitions of
I had related unhappiness trying to bootstrap.bash on a Linux box; no problems with linker flags, but could not find runtime/cgo.a. |
I believe this is now covered by misc/android/README. In particular, androidtest.bash is now gone and standalone toolchains are no longer required; recent NDKs include toolchains ready to use. |
I don't remember having to set the sysroot with arm-linux-androideabi-gcc before.
/cc @crawshaw
The text was updated successfully, but these errors were encountered: