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.
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 ...