S5U1C17001C ManUal
EPSOn
5-129
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
5 gnU17 iDE
5
IDE
Each field indicated by a number is described below.
(1) Defines the project name as
TARGET
. This name is used in the elf object file and map file.
The end product (.psa or .elf) is defined in GOAL.
(2) Defines the tool directory and the compiler, assembler, and linker commands. The directory in which the tools are
stored is set in
TOOL_DIR
. The space characters in the path are converted to "
\
" (
\
+ space). The link process
cannot proceed if the path includes spaces. Confirm that one set of S5U1C17001C tools is installed in a directory
that does not include spaces.
(3) Defines the compiler, assembler, and linker options. These options reflect the selected contents of project
properties ([GNU17 Build Options]).
(4) The object file names corresponding to the source files in the project are written here following "
OBJS=
".
The contents written in this field change when source files are added or deleted.
(5) The library file names set in [GNU17 Build Options] > [Build Options] > [Linker] > [Libraries] are written
here following "
OBJLDS=
" in the same way as for "
OBJS=
".
(6) The assembler source files are written here for a two-pass make that optimizes extended instructions.
Note that the assembler source files created from C source files have a file extension "
.ext0
".
(7) Defines the macros needed to create dependency files. Dependency files are generated for each source. The
sources and include files needed to generate object files are defined here.
Example:
Dependency file (
main.d
)
main.o: main.c
Dependency file (
boot.d
)
boot.o: boot.s
These files are used to create the tool commands written to a dependency list.
(8) Defines the execution commands to be stored in a dependency list.
(9) Defines the target.
(10) This is the dependency list for the target to be built and executable format object files.
The two-pass make process generates the executable format object file after optimizing the extended instruc-
tions.
GOAL determines whether an executable object file (elf) or an S-record format ROM data file (psa) is gener-
ated.
(11) Defines the execution command of the vector checker.
(12) This is the dependency list for object files generated from each source.
Adding or deleting source files will change the information in this field.
(13) The commands written here delete the generated files executed in the target "
clean
".
For detailed information on makefiles, refer to Section 11.1, "make.exe".
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 ...