On 06/15/2011 09:54 AM, Marcin Juszkiewicz wrote: > 09:45< ramana> hrw: there is no MCR in Thumb1 > > So add "-marm" into CFLAGS in Makefile and it will build. >
Ok, thanks for the quick reply. I took my a while to understand what this meant though. My conclusion is that this version of gcc is configured to generate thumb mode instructions per default (--with-mode=thumb) which is not the expected default by this code/Makefile. Forcing -marm switches code generation back to the ARM set. Regards Daniel -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/797418 Title: Fails to compile inline assembly code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5-armel-cross/+bug/797418/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs