OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: sylvain on August 09, 2006, 10:09:32 am

Title: Gcc -mthumb Option
Post by: sylvain 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...