I’m writing a bash script that uses Netcat to serve framebuffer over network connection, but first I need to compile it to native executable. I even got this script to work on a Ubuntu machine, where netcat is installed by default.
I found this https://github.com/android/platform_external_netcat but have no experience in NDK at all. This obviously doesn’t use JNI or Java at all so default approach for making Android applications won’t get me anywhere.
So the question is. How do I get an executable file from this source code?
Look in the Android sdk under docs/STANDALONE-TOOLCHAIN.html it describes how to use the ndk as standalone compiler which can produce arm binaries.