Android NDK - does it support straight ARM code or just Thumb

前端 未结 2 1427
暗喜
暗喜 2020-12-30 11:37

I have been asked to evaluate the Android platform for our product and I am looking at various options, I am only just scratching the surface just now and the one thing that

2条回答
  •  有刺的猬
    2020-12-30 12:03

    Specifying the following flag for a module in Android.mk will compile straight ARM code.

    LOCAL_ARM_MODE := arm
    

    Enabling optimization may also help:

    LOCAL_CFLAGS := -O3
    

提交回复
热议问题