![]() ![]() test: ELF 32-bit LSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped Mipsel-linux-gnu-as test.asm -o test chmod +x. ![]() This is my command for compiling the assembly, clean and simple The first thing i though was "Can qemu really just run base mips binaries like that? That seems almost like magic, this can't be right.", so i started googling if it was actually possible and found a tutorial on how to to similar compilation for a openwrt but with C code<, and after looking at that tutorial it seems like my steps should work too. test: Invalid ELF image for this architecture. When i try to run my executable with qemu-mipsel. I didn't want any fancy gui or the like for my emulation, and went for qemu. I am using Arch Linux, and installed cross-mipsel-linux-gnu-gcc and binutils from the user repository which works great and successfully compiles my simple test program into a mipsel binary. So i wanted to start writing some mips assembly, and setup my tools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |