Epson S5U1C17001C Manual page 261

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.2)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

C Compiler xgcc
Outline
This tool is made based on GNU C Compiler and is compatible with ANSI C. This tool invokes
cpp.exe and cc1.exe sequentially to compile C source files to the assembly source files for the
S1C17 Family. It has a powerful optimizing ability that can generate minimized assembly codes.
The xgcc.exe can also invoke the as.exe assembler to generate object files.
Flowchart
C source files
file.c
C compiler
xgcc -S
Assembly
file.s
source files
as assembler
C source files
file.c
C compiler
xgcc -c
Object files
file.o
ld linker
Start-up Command
xgcc <options> <filename>
<filename> C source file name
Example: xgcc -c -g test.c
Major Command-line Options
-S
-c
-E
-B
<path>
-I
<path>
-fno-builtin
-D
[=<string>]
<macro>
-O0, -O, -O1, -O2, -O3, -Os
-g
-gstabs
-mpointer16
-mrelax
-Wall
-Werror-implicit-function-declaration
-xassembler-with-cpp
-Wa,
<option>
Development Tools
Output assembly code (.s)
Output relocatable object file (.o)
Execute C preprocessor only
Specify compiler search path
Specify include file directory
Disable built-in functions
Define macro name
Optimization
Add debugging information with relative path to source
files (for gcc6)
Add debugging information with relative path to source
files (for gcc4)
Generate code for 16-bit (64KB) data space
Output code size optimization
Enables warning options
Undeclared function error output
Invoke C preprocessor
Specify assembler option

Advertisement

Table of Contents
loading

Table of Contents