Is there a way to prevent MASM from generating a section named '.debug$S' in every object files ? I use

MASM Version 6.15.8803

and I compile with

ml /c /coff file.asm

Thanks a lot.
Posted on 2003-04-20 12:35:09 by Dr. Manhattan
No. That is Microsoft's way of advertising themselves.

But, when you create .exe or .dll, you don't have to worry about it. link.exe takes care of that. When you are creating .lib, and you want to save some disk sapce, you can use objcopy from mingw collection (or, cygwin collection if you don't mind the bloat) to remove any section you don't want.
Posted on 2003-04-20 15:22:26 by Starless