Guest
#2585701
Hello, I am trying to create an .elf file from ARM assembly code needed for ARMulator. But whenever I try to compile the code with arm-elf-gcc, I get a 'bad instruction' error for every sing line, but compiling the code under keil makes no problem. The code:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
Neither arm-elf-gcc -o arm.elf arm.s nor arm-elf-gcc -mthumb -Bstatic arm.s -o arm.elf as suggested on the ARMulator's site are working. I am already so desperate, as I can't find any proper tutorial or any more information on that. So I would very much appreciate ur guys help, as I also need that for my uni coursework. Cheers, Jimmy