How to disable -mthumb compiler option?

Put problems with the Android NDK in this forum.

How to disable -mthumb compiler option?

Postby paulscode » Thu Dec 09, 2010 6:01 pm

I have some assembly I'm having trouble getting to compile. I noticed that the builder is sticking in the "-mthumb" option when it builds the project (this is from within Eclipse). The assembly code is ARM only, not thumb, so I'm sure this is the problem. Anyone know how to disable this option from Android.mk or Eclipse options menus?
paulscode
Experienced Developer
Experienced Developer
 
Posts: 79
Joined: Thu Nov 11, 2010 3:57 pm

Top

Re: How to disable -mthumb compiler option?

Postby paulscode » Thu Dec 09, 2010 11:51 pm

I figured it out. For those interested, I just added the following option to Android.mk:
Code: Select all
LOCAL_ARM_MODE := arm
paulscode
Experienced Developer
Experienced Developer
 
Posts: 79
Joined: Thu Nov 11, 2010 3:57 pm

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 2 guests