Increasing Efficiency with BSCMAKE

OverviewDetails

The building process can require large amounts of time, memory, and disk space. However, you can reduce these requirements by creating a smaller .BSC file and by avoiding unreferenced definitions.

Making a Smaller Browse Information File

Smaller browse information files take less time to build, use less disk space, reduce the risk of BSCMAKE running out of memory, and run faster in the Browse window. You can use one or more of the following methods to create a smaller file:

  • Use BSCMAKE command-line options to exclude information from the browse information file.

  • Omit local symbols in one or more .SBR files when compiling or assembling.

  • If an object file does not contain information that you need for your current stage of debugging, omit its .SBR file from the BSCMAKE command when rebuilding the browse information file.

Save Build Time and Disk Space by Eliminating Unreferenced Definitions

Unreferenced definitions cause .SBR files to take up more disk space and cause BSCMAKE to run less efficiently. The compiler automatically packs .SBR files to remove unreferenced definitions. The /Zn (Turn Off SBRPACK) option prevents this packing. You can increase efficiency of disk space and BSCMAKE speed by not using /Zn and allowing the compiler to pack the .SBR files.