Microsoft KB Archive/25311: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (X010 moved page Microsoft KB Archive/Q25311 to Microsoft KB Archive/25311 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(No difference)

Latest revision as of 18:19, 12 August 2020

INF: /Zi and /Zd Options PSS ID Number: Q25311 Article last modified on 02-11-1992 PSS database name: S_QuickC

1.00 2.00

MS-DOS

Summary:

SYMPTOMS The documentation of /Zi and /Zd options (Section 9.3.8 of the “Microsoft QuickC Programmer’s Guide”) seems to imply that when you use the /Zd option it will tell the linker to emit the /CO and /LI options to the linker. However, the /Zd option only passes the /LI option to the linker.

RESOLUTION The /Zd option tells the linker to pass /LI, but not /CO. If you want the /Zd option to pass to the linker automatically, you must add the /CO option to LDFLAGS in your MAKE file.

The LDFLAGS macro specifies the linker options and is automatically included on the LINK command line in the program’s .MAK file. The linker options you specify are used each time you recompile and relink the modules in the program list, until you change the value of LDFLAGS in the .MAK file.

Additional reference words: switches 1.00 2.00

Copyright Microsoft Corporation 1992.