Search code examples
androidbuildandroid-ndkconfigurecyanogenmod

How to build open source programs with a configure script for Android using NDK?


I have a question about how to build open source programs with a configure script for Android using NDK?

I have seen something here but it doesn't seem to be very helpful.

Here's another question but it didn't provide much information either.

Are there more detailed information about how to build open source programs with a configure script for Android using NDK?


I have a CyanogenMod with a terminal emulator, so I'd like to have a Linux like environment on my Android.


Solution

  • It seems that with configure scripts that support cross compiling a GNU toolchain can be used.

    But Google's NDK seems to lack a lot of things, although by using Google's NDK as a standalone toolchain can accomplish some things. Using NDK I have built binutils successfully have not tested if the binaries really work. Here's some relevant information.

    I'm not sure if there are other prebuilt GNU toolchains.