fl.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Preparing for Debugging (/Zi, /Zd)
                                             Up Contents Index Back
─────Preparing for Debugging (/Zi, /Zd)─────────────────────────────────────
 
     Option     Effect
 
     /Zi        Prepares for debugging with CodeView
 
     /Zd        Prepares for debugging with the SYMDEB symbolic
                debugger
 
     The /Zi option produces an object file containing full symbolic
     debugging information for use with the Microsoft CodeView
     debugger.
 
     The /Zi option automatically invokes the /CO option at link time.
     If you link separately, instead of compiling and linking in one
     step, be sure to give the /CO option when you link.
 
     By default, the compiler optimizes code. /Od disables
     optimization. You should use the /Od option when using /Zi,
     since optimization may rearrange instructions.
 
     The /Zd option produces an object file containing line-
     number records that correspond to the line numbers of the
     source file. The /Zd option is used when you want to pass an
     object file to the SYMDEB symbolic debugger.
 
     /Zd causes the /LI option to be generated at link time. If
     you compile a source file with the /Zd option, and then link
     in a separate step using FL, be sure to give the /Zd option
     when you link or give the /LI option if you use LINK.
 
     The /Zd option generates a map file.
 
     The /Zi, /Od, and /Zd options apply to any source files
     following the option on the command line, but do not affect
     source files preceding the option.
                                    -♦-