android ndk MIPS Support

MIPS Support

每秒百万条指令(Million Instructions Per Second)

On this page

  1. Overview
  2. Compatibility

The NDK supports the mips ABI, which allows native code to run on Android-based devices that have CPUs supporting the MIPS32 instruction set.

Overview概述


To generate MIPS machine code, include mips in your Application.mk file's APP_ABI definition. For example:

APP_ABI := mips

For more information about defining the APP_ABI variable, see Application.mk.

The build system places generated libraries into $PROJECT/libs/mips/, where $PROJECT represents your project's root directory, and embeds them in your APK under the /lib/mips/ directory.

The Android package manager extracts提取 these libraries when installing your APK on a compatible MIPS-based device, placing them under your app's private data directory.

In the Google Play store, the server filters applications so that a consumer sees only the native libraries that run on the CPU powering his or her device.

Compatibility


MIPS support requires, at minimum, Android 2.3 (Android API level 9). If your project files target an older API level, but include MIPS as a targeted platform, the NDK build script automatically selects the right set of native platform headers/libraries for you.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值