Download TASKING VX-toolset for RH850 User Guide

Transcript
Using the C Compiler
• Build Selected File(s) (
). This compiles and assembles the selected file(s) without calling the linker.
1. In the C/C++ Projects view, select the files you want to compile.
2. Right-click in the C/C++ Projects view and select Build Selected File(s).
• Build Individual Project (
).
To build individual projects incrementally, select Project » Build project.
• Rebuild Project ( ). This builds every file in the project whether or not a file has been modified since
the last build. A rebuild is a clean followed by a build.
1. Select Project » Clean...
2. Enable the option Start a build immediately and click OK.
• Build Automatically. This performs a build of all projects whenever any project file is saved, such as
your makefile.
This way of building is not recommended for C/C++ development, but to enable this feature select
Project » Build Automatically and ensure there is a check mark beside the Build Automatically
menu item. In order for this option to work, you must also enable option Build on resource save (Auto
build) on the Behaviour tab of the C/C++ Build page of the Project » Properties for dialog.
See also Chapter 9, Influencing the Build Time.
Select a target processor (core)
Processor options affect the invocation of all tools in the toolset. In Eclipse you only need to set them
once. Based on the target processor, the compiler includes a special function register file. This is a regular
include file which enables you to use virtual registers that are located in memory.
1.
From the Project menu, select Properties for
The Properties dialog appears.
2.
In the left pane, expand C/C++ Build and select Processor.
In the right pane the Processor page appears.
3.
From the Processor selection list, select a processor.
To access the C compiler options
1.
From the Project menu, select Properties for
The Properties dialog appears.
2.
In the left pane, expand C/C++ Build and select Settings.
In the right pane the Settings appear.
111