Tianyang Li
Tianyang Li

Reputation: 1785

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.

Upvotes: 2

Views: 1406

Answers (2)

Tianyang Li
Tianyang Li

Reputation: 1785

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.

Upvotes: 0

Michoel
Michoel

Reputation: 230

This makefile uses the information from the warpedtimes blog post to pass correct parameters to configure script to build for Android NDK.

Upvotes: 2

Related Questions