Big update: I updated agcc.pl to work with the latest NDK release, and called it agcc2.pl. Here is the new blog post. Update: link to agcc.pl works now. Update 2: link to agcc.pl *actually* works now? The Android NDK isn't really intended to write standalone binaries, but this tutorial got me most of the way there. But some path changes in android-ndk-r4b broke the agcc wrapper, so I had to modify