S5U1C17001C ManUal
EPSOn
3-51
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
3 SOfTWarE DEVElOPMEnT PrOCEDUrES
3
SoftDev
Correcting the makefile contents
To use a makefile not created with the
IDE
, you may need to change the path written in it. If it contains a rela-
tive path, change it to a cygwin format path to allow file referencing from the project directory as well. You can
use the
IDE
editor to make changes in the file.
Example: Before change:
SRCDIR= ..
After change:
SRCDIR=/cygdrive/c/EPSON/gnu17/sample/S1C17common/simulator
3.4.5 Building a Project
After setting the makefile, you can execute a build process as you would normally do. There is no need to set build
options or to edit the linker script file.
Step 19
: Select the project "
mymake_sample
" name from the [Navigator] or the [C/C++ Projects] view.
Step 20
: Select [Build Project] from the [Project] menu.
When the build command is selected this way,
make.exe
is executed with a specified makefile to generate the ex-
ecutable format object file "
stdio.elf
". (Since we are using a makefile that is not automatically generated, the
object file is not named after the project name.)
3.4.6 Starting the Debugger
As the last step in Tutorial 2, described below is the method for making the necessary settings to execute the pre-
pared command file at debugger startup.
Step 21
: Select [External Tools] > [External Tools Configurations...] from the [Run] menu to display the [External
Tools Configurations] dialog box.
Step 22
: Select [GDB17 Launch for mymake_sample] from the list in the dialog box and display the page for the
[Main] tab.
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 ...