Kyborg2011
Kyborg2011

Reputation: 606

Android and cross-compiling

I have a Linux library that needs to be compiled under Android. I understand that should be used to build this program: / home/user/android-ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc and then compile a ndk-build . I think right? Assembly via the utility should work correctly?

Upvotes: 0

Views: 2397

Answers (1)

Femi
Femi

Reputation: 64690

You need to install the Native Development Kit (NDK) and read through the documentation in the NDK about the build process. The NDK basic info is at http://developer.android.com/sdk/ndk/index.html, and you'll need to install an appropriate version of Cygwin (if you're using Windows).

It comes with a prebuilt compiler, so you shouldn't have to rebuild that.

Upvotes: 1

Related Questions