Editing The Build Options And The Linker Script - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

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.
3-20
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents