Building A Program; Setting The Memory Model - 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

5 gnU17 iDE

5.7 Building a Program

Building a program means compiling/assembling the necessary sources and linking the compiled/assembled sourc-
es, including libraries, to generate an executable object file. In practice, this means running make.exe to execute the
makefile containing the compiler and linker execution procedures.
This section describes how to set the tool options and linker scripts needed for a build operation and how to execute
a build process.

5.7.1 Setting the Memory Model

The startup command options for tools and libraries to be linked depend on the processor and its memory space
size for which you are developing the application. You must select the correct processor type and memory model
before attempting a build process. In most cases, you will not need to select a memory model, since this would pre-
sumably have been done when you created the project. If necessary, you can reset the CPU type and memory model
as follows:
(1) In the [C/C++ Projects] or [Navigator] view, select a project for which you want to change the memory model.
(2) Select [Properties] from the [Project] menu or from the context menu in the above view.
This displays the [Properties] dialog box.
(3) Select [GNU17 General] from the properties list.
The [Target CPU Device] and [Memory Model] combo boxes show the currently selected C17 Core/processor
type and memory model, respectively. (The default CPU type and memory model are S1C17 and REGULAR.)
(4) The [Target CPU Device] combo box shows processor types.
(5) From the [Memory Model] combo box, select the memory model of the target:
5-108
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal

Advertisement

Table of Contents
loading

Table of Contents