3-20
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
3 SOfTWarE DEVElOPMEnT PrOCEDUrES
3.3.4 Editing the Build Options and the linker Script
To build a project (to generate an executable object file),
make.exe
is used to start the compiler, assembler, and
linker. Although the makefiles required for make are generated automatically by the
IDE
, the build options to be
written in those files (i.e., compiler, assembler, and linker startup options) must first be set before they can be used.
Furthermore, the contents of the linker script files required for link operation must also be set before a project can
be built.
The method for making these settings is outlined below.
Setting build options
Step 23
: Select [Properties] from the [Project] menu. You also can select [Properties] from the context menu that
pops up when you right-click on the project name "
sample
" in the [C/C++ Projects] view.
The [Properties] dialog box will be displayed.
Step 24
: From the properties list on the left side of the dialog box, select [GNU17 Build Options] by clicking
on it to display the [Build Options] tab page.
You can set command line options here for the compiler, assembler, linker, and vector checker.
Click to select one of the tool names shown in tree form (Compiler, Assembler, Linker, or Vector Checker for
Copro) and display the currently selected options in the [All Options] column. Select the kind of option from
those shown in tree form by clicking on it, and the options of the selected kind will be enabled, allowing you to
set.
Currently displayed here are the options that have been set by default when you created a new project.
For the contents of options, refer to the respective chapters in this manual in which each tool is described. For
detailed information on option select screen, refer to Section 5.7, "Building a Program".
In this tutorial, although no particular changes are needed here, we'll take a look at the method on how to add a
user include path and a library file.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...