KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q68367: PWB Build Switch Reference Available as an Application Note

Article: Q68367
Product(s): See article
Version(s): 1.00 1.10 | 1.00 1.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | appnote softlib SW0330 | mspl13_basic
Last Modified: 29-JAN-1991

The "PWB Build Switch Reference" contains detailed descriptions and
examples for customizing PWB build switches.

The Programmer's WorkBench (PWB) can build various types of projects
based on the information contained in "build switches." These build
switches are interpreted by PWB in order to create a makefile for a
project. The switches are normally set for you by PWB for common types
of projects, but you may define your own build switches to handle an
advanced project where you require more control over the build
process. For example, customized build switches will allow you to
utilize different languages, to incorporate other tools into a
project, or to build new kinds of targets.

Although build switch customization is documented in the PWB online
help, the information is somewhat limited. Therefore, an application
note was created to cover the customization process in detail. The
title of this application note is "PWB Build Switch Reference" and it
can be obtained by calling Microsoft Product Support Services at (206)
637-7096.

The "PWB Build Switch Reference" can also be found in the Software/
Data Library (as file SW0330.ARC) by searching on the keyword SW0330,
the Q number of this article, or S12875. SW0330 was archived using the
PKware file-compression utility.

Note that the application note found in the Software/Data Library is
an ordinary text file, which lacks the typefaces and formatting of the
printed version that is available by calling Microsoft Product Support
Services. Because the printed application note is clearer and easier
to follow, it is highly recommended that you call for the printed
version, and that you use the downloaded version only as an interim
copy.

Also note that you normally DO NOT need to modify build switches just
to customize the compile and link operations -- this can generally be
done by selecting commands from the Options menu. By selecting options
from the Compile or LINK Options dialog boxes, the correct build
switches are automatically modified to contain the desired
information.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.