Author Topic: Gcc -mthumb Option  (Read 3949 times)

sylvain

  • Newbie
  • *
  • Posts: 17
    • View Profile
Gcc -mthumb Option
« on: August 09, 2006, 10:09:32 am »
Hello.

I try to make Stackless Python work on OpenBSD Zaururs, starting from a port made for Nintendo DS.

This port uses a thumb assembly module (used for implementing C stack  black magic).

I therefore tried to compile the whole bunch of file using the -mthumb -mthumb-interwork options of GCC, but the compilation fails, the gcc assembler complaining about "bad instructions".

Did anyone already managed to build/make work some thumb compiled software on OpenBSD ?

Thanks in advance.

PS: maybe something I said here is complete nonsense, but I'm not familiar with this kind of low level sorcery...