简体   繁体   中英

build native code for android 64-bit arm architecture

We have a native .so file for 32-bit Android. We need to port it to 64-bit Android code (for Android L). We are not using NDK to build. We use make files and arm-linux-androideabi-g++ with command line options to build our source.

Can someone please let me know how to port our code to 64-bit Android platform?

You'll need to create a new standalone toolchain (same process you used to generate arm-linux-androideabi-g++ ) for arm64 (requires NDK r10).

http://www.kandroid.org/ndk/docs/STANDALONE-TOOLCHAIN.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM