MASM under Linux?

本秂侑毒 提交于 2020-01-12 06:45:12

问题


Is there a way that I use MASM under Linux. Even tough NASM is quite popular under Linux, it still differs for some instruction style on code.


回答1:


Wiki says

The MASM32 EULA does not allow its usage in the development of open source software, and only allows it to be run in Windows operating systems.

so it is a no.




回答2:


I use DosBox and it does work fine for me.

Details here




回答3:


You should be able to run MASM under Wine.




回答4:


MASM dont run with WINE, im running MASM under Virtual Box




回答5:


Personally I prefer the NASM style, but you can probably run MASM under Wine (or failing that, in a VM). After all it shouldn't need any exotic API calls.

I've been able to run the Win32 NASM binary under Wine on Linux without any problems [long story, no net connection].

If you want to convert Microsoft's OMF binary format to ELF then you should be able to do so using objcopy, but you may need to compile in support for the right object formats.




回答6:


Run MASM under Wine or see at the wiki that MASM can only run at Windows.

Regards.



来源:https://stackoverflow.com/questions/304555/masm-under-linux

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!