Tool chains, Tools for a simple c project, A simple c tool chain for tns/e – HP Integrity NonStop J-Series User Manual
Page 56

Tool chains
A tool chain is a group of tools used to build an application for a particular target architecture.
The term “tool chain” more specifically refers to a list of tools defined for a managed project and
the options that are passed to those tools when they are invoked during builds. To view the tool
chains associated with a project, open the Settings property page. A project can have two tool
chains at most, one for TNS/R and one for TNS/E.
Tools for a simple C project
If you create a simple C project, the tool chain consists of a C Linker, a C Compiler, and a Deploy
Tool. The Deploy Tool transfers the final build object of a project to a NonStop system using the
program Deploy.jar, which is part of NSDEE.
Example 5 “A simple C tool chain for TNS/E”
shows a TNS/E tool chain for a simple C project as it appears in the Tool Settings tab of the Settings
property page.
Example 5 A simple C tool chain for TNS/E
Use the Tool Settings tab to customize how tools are invoked via makefiles. When you select a
tool on the left-hand side of the Tool Settings page, the right-hand side shows the main page for
the tool on the right. The main page shows:
•
The command invoked by the tool in the Command: text box. You can change the command
invoked by the tool. For example, you can invoke the linker directly instead of using c89 to
invoke the linker.
•
Options passed to the tool when it is invoked in the All options: text box. This does not include
objects or libraries that are part of the command line. Options cannot be edited from the main
page of a tool, but can be edited using the tool option categories (see
.
•
Build variables used to group parts of the tool command-line invocation. To reorder how the
command is invoked, rearrange these build variables. However, the command-line pattern
generally does not need to change.
To change options for a tool, select one of the option categories on the left below the main entry
for the tool. That opens the corresponding page on the right.
shows the
Miscellaneous option category for C Linker.
56
Concepts