How to Add Other Language Compilers to PWB's Build OptionsLast reviewed: July 17, 1997Article ID: Q65568 |
1.00 1.10 | 1.00 1.10
MS-DOS | OS/2kbtool The information in this article applies to:
SUMMARYThe Programmer's WorkBench (PWB) is an environment capable of utilizing different compilers for mixed-language programming. When installed during BASIC version 7.10 setup, PWB version 1.10 shows build options for the BASIC language only. However, it is possible to include other language compilers to utilize the full features of the PWB utility. The following information applies to the Programmer's WorkBench version 1.10 utility supplied with Microsoft BASIC Professional Development System (PDS) version 7.10 for MS-DOS and MS OS/2.
MORE INFORMATIONNote that the 1.00 version of PWB is shipped with Microsoft C Professional Development System (PDS) version 6.00. The steps below should also apply to PWB version 1.00. The Programmer's WorkBench (PWB.EXE) is an advanced development environment capable of integrating several language compilers, NMAKE.EXE, LINK.EXE, and the CodeView debugger. It offers the ability to accomplish tasks, such as program development under protected mode and mixed-language programming. This ability is not available in the QuickBASIC extended development environment (QBX.EXE). Two special files, PWBC.PX$ (for protected mode OS/2) and PWBC.MX$ (for DOS mode), reside on the BASIC PDS 7.10 disks and support the option of using the C compiler in PWB. Since SETUP.EXE (in BASIC PDS 7.10) does not copy PWBC.PX$ and PWBC.MX$ during installation, these files must be unpacked and transferred to your machine, for example to the \BINP subdirectory located in the \BC7 directory. (Note: The UNPACK.EXE utility is found on disk 1 of the BASIC PDS package.) After unpacking, the files will have the names PWBC.PXT and PWBC.MXT. Next, the following command lines must be added to the TOOLS.INI file to make the C compiler available to PWB:
[pwb - .BAS .BI] LOAD: LogicalDrive:\[Path]\PWBC.PXTFor further information about installing PWBC.PXT and PWBC.MXT, see Page 54 of the "Microsoft BASIC 7.1: Getting Started" manual. If you want to program in languages other than BASIC or C [such as Microsoft Macro Assembler (MASM), Microsoft Pascal, Microsoft FORTRAN, or Microsoft COBOL 3.00/3.00a], the following steps will insert the initial build options to include other languages to PWB's build options menu. In the example below, options to include the MASM.EXE assembler are specified. If some other language's compiler is desired, substitute appropriate changes for that compiler, where noted in the specified areas:
|
Additional reference words: kbinf kbinf 1.00 1.10 PWBIss
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |