• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Compiling assembly code using Android NDK

Hi,

I am trying to compile the assembly code, which is required for my project.
I added my source file ( .s extension) in the Android.mk file.

LOCAL_SRC_FILES += src/arm/math_arm.s

When i tried to execute the ndk-build, i am getting these errors.

src/arm/math_arm.s:1: Error: unknown pseudo-op: `.state32'
src/arm/math_arm.s:3: Error: non-constant expression in ".if" statement
src/arm/math_arm.s:6: Error: bad instruction `arm9_v5e_flag '
make: *** [/u/obj/local/armeabi/objs-debug/src/arm/math_arm.o] Error 1


Can any one help for me?


Thanks,
Srikanth
 
Back
Top Bottom