Set Compiler Options - Renesas M3A-HS19G50 Installation Manual

Sh7619 cpu board
Table of Contents

Advertisement

5

5.3.4 Set Compiler Options

Select [Build] menu, open the [SuperH RISC engine Standard Toolchain] dialog box -> [C/C++] tab. Set "Category", "Show entries
for" and "Option C/C++" as appropriate.
For details on how to set "Option C/C++", refer to the SuperH RISC engine C/C++ Compiler, Assembler and Optimizing Linkage
Editor User's Manual.
The installation in this manual assumes that the M3A-HS19 hardware-dependent include file is stored in another directory (default:
project directory), the Relative path to the include file directory must be added.
• Project directory (default): "C:¥WorkSpace¥test¥test"
• Directory stores the include files: "C:¥WorkSpace¥test¥HardwareSetup"
Steps to set a Relative path to the include file directory are shown as follows.
(1) Open the [SuperH RISC engine Standard Toolchain] dialog box → ["C/C++"] tab, set up as following, then
click "Add...".
• Category: Source
• Show entries for: Include file directory
(2) Open the [Add include file directory] dialog box, set up as shown below, and click "OK".
• Relative to: Select "Workspace directory" from the drop-down list.
• Sub-Directory: Enter "HardwareSetup" in the text box.
Rev. 1.00 July 11, 2008
REJ10J1328-0100
Figure 5.3.6 [Compiler Option Setup] Window
Figure 5.3.7 [Add include file directory] Dialog Box
Creating and Running a New Project Workspace
5.3.4 Set Compiler Options
5-12

Advertisement

Table of Contents
loading

Table of Contents