LMAET02B - Chapter 2 QuickStart 1 You can set assembler and...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 2 QuickStart 1 § You can set assembler and linker options for both types of builds (debug and release) by using the Language Options commands and the LINK Options command. The Build Options command then determines which type of build, using which set of options, is actually performed when you assemble a file or rebuild the project. Global options, on the other hand, typically include settings for warning level, memory model, and language variant. These are options that do not change between debug and release versions of a project. Setting Other Options The Options menu also contains commands that allow you to describe the desired project build more completely. You don’t need to change most of these options to build RND.ASM because the default values supplied by the template will work well. The Options menu contains the following commands: u MASM Options in the Language Options cascaded menu. These commands let you specify assembler options specific to debug and release builds, and general options common to both types of builds. Using the MASM Global Options dialog box, you can specify memory model, warning level, and so on. If you have more languages installed, their Compiler Options commands also appear in the Languages Options cascaded menu. u LINK Options. This command parallels the Compiler Options commands. You can specify options specific to debug or release builds and general options common to both debug and release builds. Use LINK Options to specify items such as stack size and additional libraries. You can also select different libraries for debug and release builds. This is handy if you have special libraries for debugging and fast libraries for release builds. u NMAKE Options. This command lets you specify NMAKE command- line options for all builds. This option is particularly useful if you have an existing makefile that was not created by PWB or if you have modified your PWB project makefile. For more information about these subjects, see “Using a Non-PWB Makefile” on page 55. u CodeView Options. This command allows you to set options for the CodeView debugger. Filename: f233eebbccbfa8e11ce81a8681daa7498b48fa00.DOC Project: Template: Author: Last Saved By: Revision #: 0 Page: 1 of 13 Printed:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Environment and Tools Building the Program Now that you’ve set your options, you can build the program. Note that the sample program contains intentional errors that you will correct. Û To start the project build: 1. From the Project menu, choose Build. PWB tells you that your build options have changed and asks if you want to Rebuild All . 2. Choose Yes to rebuild your entire project. After the build is completed, PWB displays the following dialog box: § You can choose one of several actions in this dialog box: u View the complete results of the build by opening the Build Results window. u
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/24/2012 for the course EE 3751 taught by Professor Desouza during the Spring '04 term at LSU.

Page1 / 12

LMAET02B - Chapter 2 QuickStart 1 You can set assembler and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online