RadASM has two build types 1)release 2)Debug

here are the assemble and link command lines used:

release version:


[B]assemble command:[/B]
3,O,$B\ML.EXE /c /Zi /Zd /coff /Cp /nologo /I$I,2
[B]Link command:[/B]
5,O,$B\LINK.EXE /DEBUG /DEBUGTYPE:CV /SUBSYSTEM:WINDOWS /VERSION:4.0 /LIBPATH:$L,3,4


Debug version:


[B]assemble command:[/B]
3,O,$B\ML.EXE /c /coff /Cp /nologo /I"$I",2
[B]Link command:[/B]
5,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /DEBUG /VERSION:4.0 /LIBPATH:"$L",3,4


Aren't both versions including debugging information in the exe?
Posted on 2002-05-31 11:21:34 by MArtial_Code
Right I've had a further look and I think both were producing debugging info in the exe:
I've now changed the commands to the following:

release :


[B]Assemble command:[/B]
3,O,$B\ML.EXE /c /coff /Cp /nologo /I$I,2
[B]Link Command:[/B]
5,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /VERSION:4.0 /LIBPATH:$L,3,4

debug:


[B]Assemble Command:[/B]
3,O,$B\ML.EXE /c /Zi /Zd /coff /Cp /nologo /I$I,2
[B]Link Command:[/B]
5,O,$B\LINK.EXE /DEBUG /DEBUGTYPE:CV /SUBSYSTEM:WINDOWS /VERSION:4.0 /LIBPATH:$L,3,4

using the above on a test project the release version produced a 5kb file while the debug version produced 13kb

Before I made the change both release and debug were comming out at 13kb
Posted on 2002-05-31 11:41:28 by MArtial_Code
Ok I just had a look in the masm.ini file and the commands there are fine. I'd been reworking an old project...
Posted on 2002-05-31 11:51:18 by MArtial_Code
do you offen anwser to your own questions ?!?!:grin: :grin: :grin:
Posted on 2002-05-31 17:28:41 by NEMO