NAB plug-in for MWT user guide June 21, 2006
Contents PreviousNext

Chapter 4 Compile and Build > 4.1 Setting Up a Build Environment

4.1.1 Compiler and linker settings

You can use the [Project Properties] dialog box to make compiler/linker settings, parameter settings to be transferred to a compiler/linker, and build method settings.

4.1.1.1 Compiler settings 

The following table lists compiler settings that can be made.

Item

Description

Compiler

Specifies the compiler that creates an application to be run.

Common include path

Specifies the include information that is passed to a compiler regardless of whether [Compile mode] is selected.

Common compiler flags

Specifies the parameter information that is passed to a compiler regardless of whether [Compile mode] is selected.

Compile mode

Is selected so that the selected application is debugged by a debugger.

Include path

Specifies the include information that is passed to a compiler according to the selected tab mode.

Compiler flags

Specifies the parameter information that is passed to a compiler according to the selected tab mode.

The procedure to do this is explained below.

 Procedure

  1. Select and right-click a project in the [C/C++ Projects] view, and select [Properties] from the resulting pop-up menu.

    Figure: Selecting [Properties]

  2. Select [NAB/MWT Project Settings] in the [Properties for "Project name"] dialog box, and click the [Compiler Settings] tab.

    You can specify a compiler, parameters to be passed to the compiler, and compilation in debug mode.

    Figure: [Properties for "Project name"] dialog box

4.1.1.2 Linker settings 

The following table lists linker settings that can be made.

Item

Description

Linker

Specifies the linker that creates an application to be run.

Common library path

Specifies the library information that is passed to a linker regardless of whether [Compile mode] or [Static option] is selected.

Common linker flags

Specifies the parameter information that is passed to a linker regardless of whether [Compile mode] or [Static option] is selected.

Static option

Is selected so that an application is created through a static link.

Libraries

Specifies library information that is passed to a linker in the selected tab mode.

Output file

Specifies an output file name for an application that is run in the selected tab mode.

The procedure to make the linker settings is explained below.

 Procedure

  1. Open the [Properties for "Project name"] dialog box by following the procedure for compiler settings, and click the [Linker Settings] tab.

    You can specify a linker, parameters to be passed to the linker, and compilation in debug mode.

    Figure: [Properties for "Project name"] dialog box


Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005-2006