Pages: 1
Posted on 06-03-18, 12:31 am

Karma: 4
Posts: 3/3
Since: 05-12-18
Sorry about this, it doesn't seem like I should be having this many issues but I can't seem to get NSMBe and devkit to work right no matter what I try to do. So after many attempts I've gotten to this point, with this specific error. I know it may be too specific to actually find the solution but it's still worth a shot.

C:/Users/Snoion/Desktop/ASMPatchTemplate-master/source/ramviewer_asm.s:21: Error: selected processor does not support `blx r0' in ARM mode
C:/Users/Snoion/Desktop/ASMPatchTemplate-master/source/ramviewer_asm.s:31: Error: selected processor does not support `blx r0' in ARM mode
make[1]: *** [/home/Snoion/Desktop/ASMPatchTemplate-master/Makefile:170: ramviewer_asm.o] Error 1
make: *** [Makefile:122: build] Error 2

Thanks for the help in advance!
Posted on 06-06-18, 11:03 am (rev. 2 by  skawo on 06-06-18, 11:06 am)

Karma: 18726
Posts: 1080/1087
Since: 04-02-13
Did you edit the ramviewer code?

In any case, that code is really not necessary. Feel free to get rid of it.
Posted on 07-21-18, 12:03 pm
Death by cuteness

Karma: 6229
Posts: 598/598
Since: 05-01-13
Didn't think I would post in nsmbhd again but… I got hit with this issue too and I found how to fix it.

At line 69 in the Makefile, you should see

Then replace

-march=armv5te -mtune=arm946e-s

and BLX instructions will be taken into account again.
Pages: 1