NASM defaults are invalid on Windows
This issue was originally created at: 2009-07-26 08:51:58.
This issue was reported by: zer.
zer said at 2009-07-26 08:51:58
At least on Windows, the default NASM build settings are invalid. NASM by default will build a file proper for DOS. It needs -fwin32 as a parameter. Otherwise it can't possibly link with anything. Given that .Program, .StaticLibrary, .SharedLibrary, etc. all make Windows binaries, and that NASM has this behavior even when the .asm is included in the sources= section of a .Program, I think it's safe to say the current behavior is wrong.
gregnoel said at 2009-11-10 18:12:53
Bug party triage. It's too late to change this behavior now, although with the proposed new configuration scheme it should be handled better. In the meantime, document that the flag needs to be added for any DOS compile.