3-24
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
3 SOfTWarE DEVElOPMEnT PrOCEDUrES
If user library files are available, add them to this list following the procedure described below.
Step 30
: Click the [Add] button. In the file select dialog box displayed, enter a file name or select one from
the [Open] dialog box displayed by clicking the [Browse...] button.
Paths can be specified using the environment variables that have been defined in the [Environments] tab page.
Close the file select dialog box to add the file entered or selected to the list as shown below.
The features of other buttons are the same as for the include path described before.
Step 31
: Press the [Apply] button to confirm the changes made here.
If you click the [Apply] or [OK] button after settings in a [GNU17 Build Options] page have been
changed, a dialog box appears for selecting whether the files created with the previous settings will
be deleted (and rebuild) or not. Click the [Cancel] button.
The library settings specified here will be used in the linking operation.
Setting a linker script
A build process requires a linker script file. This file also can be created with the
IDE
.
A linker script file is used to indicate the section location and configuration to the linker. For example, one
object file generated by the assembler consists of sets of codes classified by data attributes, such as a program
code part, static data part, and a variable part. A set of codes like these comprises a single section. To the linker,
these represent an input section. The linker combines multiple input sections of the same kind into one (by re-
configuring them into an output section) to generate an executable object file. Furthermore, these sets of codes,
even of the same attributes, must be separated by location address and device so that the program code part
for the object generated from sources 1 and 2 is located at address A of the external ROM, and the program
code part for the object generated from source 3 is located at address B of the internal ROM before they can be
linked.
Therefore, a linker script file specifies which input sections should be combined to configure one output sec-
tion, from which address a section should be stored in memory, and at which address a section should be ex-
ecuted. For more information, refer to Section 3.8, "Sections and Linkage".
Step 32
: If you closed the [Properties] dialog box, select [Properties] from the [Project] menu to reopen it.
Step 33
: Click to select [GNU17 Linker Script Settings] from the properties list.
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...