Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
compiling in thumb   Message List  
Reply | Forward Message #13816 of 15019 |
I'd like to recompile my binary in thumb rather than arm. When I
compile like this:
CFLAGS = -I $(INCDIR2) -I $(INCDIR) -I $(PRJDIR) -mthumb-interwork -
mlong-calls -c -g -Wall -fverbose-asm

The code is compiled in arm ok. However, if I add -mthumb like this:

CFLAGS = -I $(INCDIR2) -I $(INCDIR) -I $(PRJDIR) -mthumb -mthumb-
interwork -mlong-calls -c -g -Wall -fverbose-asm

I get a long error message, but I think this is the pertainant info:

main.cpp:12: Internal compiler error in extract_insn, at recog.c:2218
It is asking me to submit a bug report, which i'll do when I
determine how to fix the problem.

Seems that there is a global class declaration at main.cpp:12. When I
comment out this line, the compiler doesn't give the same complaint,
but of course the interupt table is global and needs to call members
of this class.

Anyone experienced this problem?





Mon Mar 17, 2003 6:36 am

j_north2002
Offline Offline
Send Email Send Email

Forward
Message #13816 of 15019 |
Expand Messages Author Sort by Date

I'd like to recompile my binary in thumb rather than arm. When I compile like this: CFLAGS = -I $(INCDIR2) -I $(INCDIR) -I $(PRJDIR) -mthumb-interwork - ...
j_north2002
Offline Send Email
Mar 17, 2003
8:45 am

Are you doing optimizations? Have you tried various optimizations? I have found thumb problems with -O3, and sometimes -O2 going down to -O1 might fix...
David Welch
dwelchgba
Offline Send Email
Mar 18, 2003
9:19 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help