问题
I was just suggested to port some signal processing code to use the Android NDK to speed up the process, but I'm wondering 1. where to install it to and 2. what tool-chain to use
I'd prefer not downloading the 3.5GB Mac Developer Tools if possible. I don't have access to an install cd that has it. Want to try and get this done asap. Does anyone know a way to get NDK development running quickly on OSX(snow leopard)?
回答1:
A version of make is included with the Android NDK. Simply add {NDK install dir}/prebuilt/darwin-x86/bin
to your PATH
and you'll be able to build with the NDK.
回答2:
Unzip the NDK package for Mac OS X anywhere, then add it to your path. That's all you need to build code with the NDK. The NDK includes its own GCC-based toolchain, so you don't even need to have Xcode installed.
Go to the samples in the NDK and type ndk-build in the console to build them.
回答3:
If you install Xcode, that will install Make.
来源:https://stackoverflow.com/questions/4454653/android-ndk-on-mac-osx-quick-install-w-o-developer-tools