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.
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.