gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > something about interworking

#45269 - ssjgamer - Thu Jun 09, 2005 3:34 am

I was using tonc and it said something about not supporting interworking while it is compiling but it still works and plays fine. Is this ok?

#45293 - Cearn - Thu Jun 09, 2005 8:54 am

Interworking allows ARM and THUMB code to work together in the same program; as long as you use only ARM or only THUMB code it should still work even if one file does support it and another doesn't. That said, it is recommened to have everything support interworking.
If you get this message you may have forgotten the '-mthumb-interwork' flag somewhere in compiling and/or linking; where does it happen exactly?

#45387 - ssjgamer - Fri Jun 10, 2005 3:39 am

While it is compiling using gcc is when it says it. Thanks for the help.