"Rogers, Jason L. ET2 (CVN71)" wrote:
> I
> have also read that gcc can suport thumb and arm in the same compiler
> in its
> newest version. Is there precompiled binaries that have this feature
> and if
> so were can i get them. I often use both thumb and arm in c and need
> this
> feature before switching over.
Somebody mentioned his URL about two weeks ago where his arm-thumb-elf
targeted GCC is available (check the archive, I can't remember
unfortunately). Unfortunately even if it can compile to ARM or Thumb
target from C source at choise, I wasn't able to switch this, nor in the
version I compiled. (Switching in asm is no problem, .arm, .thumb, .code
32, .code 16 will do it in every version, arm-elf and thumb-elf too.)
Theorically there should be an "-mthumb" switch for the GCC to control
this, according to some articles above 2.95.3 and to some others above
3.00.0, but for me it wasn't there. Of course it is possible to use
seperate arm-elf and thumb-elf compilers, but since this subject came up
here I'd like to find or compile a version supporting both at the same
time. Anybody had more success on this front?
Credo <http://credo.resource.cx/> <credo@...>