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?