Wednesday, July 06, 2011

Native android C program using ndk (update for android-ndk-r5c-linux-x86)

Back in August 2010, I posted "Native android C program using ndk", wherein I described how to compile C programs as native Android binaries.

The paths changed a lot with android-ndk-r5c-linux-x86, so I updated agcc.pl and called it agcc2.pl.

Make sure you update the path to your NDK install in that script, but then you should be able to use it to compile the "hello, world" program as described in the original blog post.

1 comment:

don Giulio Lunati said...

updated for android-ndk-r7b:

agcc-r7b