This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 103 CHAPTER 1 This chapter describes three utilities: u Microsoft Browser Database Maintenance Utility (BSCMAKE) version 2.00 u Microsoft Browse Information Compactor (SBRPACK) version 2.00 u Microsoft Cross-Reference Utility (CREF) version 6.00 These utilities build a browser database for use with the Microsoft Source Browser, a feature of the Microsoft Programmer’s Workbench (PWB). As a navigation tool, the browser gives you the means to move around quickly in a large project and find pieces of code in your source and include files. As an interactive program database, the browser can answer questions about where functions are invoked or where variables and types are used. The browser can also generate useful outlines, call trees, and cross-reference tables. When you tell PWB to create a browser database (.BSC file) for the program you are building, PWB automatically calls BSCMAKE. You do not need to know how to run BSCMAKE to create your database in PWB. However, you may want to read this chapter to understand the PWB options available to modify the database. For information on how to create and use a browser database in PWB, see “Using the Source Browser” in Chapter 5. If you build your program outside of PWB, you can still create a custom browser database that you can examine with the Browser in PWB. Run the BSCMAKE utility to build the database from .SBR files created during compilation. You might need to run SBRPACK to provide more efficiency during the build. This chapter describes how to use both these utilities to create your browser database. For further information, see “Building Databases for Non-PWB Projects” on page 94. BSCMAKE is the successor to the Microsoft PWBRMAKE Utility. To allow existing makefiles to remain compatible, a file called PWBRMAKE.EXE is provided with BSCMAKE. This version of PWBRMAKE calls BSCMAKE using the arguments and options specified on the PWBRMAKE command line. Overview of Database Building BSCMAKE can build a new database from newly created .SBR files. It can also maintain an existing database using .SBR files for object files that have changed since the last build. The following sections describe how .SBR files are created, what you need to know to build a database, and how you can make the database- building process more efficient. Filename: 77cd295bc7d11fd635bd555f0ab83d89e15e942a.DOC Project: Template: Author: Last Saved By: Revision #: 0 Page: 103 of 16 Printed: 10/14/92 21:49 A10/P10 Environment and Tools Preparing to Build a Database The input files for BSCMAKE are .SBR files that you create when you compile or assemble your source files. When you build or update your browser database, all .SBR files for your project must be available on disk. To create an .SBR file, specify the appropriate command-line option to the compiler or assembler (shown in parentheses below). The following products generate .SBR files: u Microsoft MASM versions 6.0 and later (/FR or /Fr) u Microsoft C Compiler versions 6.0 and later (/FR or /Fr)Microsoft C Compiler versions 6....
View Full Document
- Spring '04
- Computer file formats, Executable, BSCMAKE