{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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:
Image of page 1

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

View Full Document Right 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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern