How to use BUILD to generate a SoftICE symbol file

0 Likes

Problem:

How to automatically generate a SoftICE symbol file everytime a BUILD is done, via the SOURCES and MAKEFILE

Resolution:

How to use BUILD to generate a SoftICE symbol file

You can cause the BUILD utility to generate the SoftICE symbol file (.NMS) by making the following changes to your project:

Add this line to the end of your SOURCES file:

NTTARGETFILE1=$(TARGETPATH)\*\$(TARGETNAME).NMS

Then create a file named MAKEFILE.INC in the same directory:

# makefile.inc

$(TARGETPATH)\i386\$(TARGETNAME).NMS: $(TARGETPATH)\i386\$(TARGETNAME).SYS

nmsym $(TARGETPATH)\i386\$(TARGETNAME).SYS

If NMSYM.EXE is not on your path, you must fully specify its path in MAKEFILE.INC.

The symbol file is generated to the same directory as the .SYS file.

Old KB# 11291
Comment List
Anonymous
Related Discussions
Recommended