Epson S5U1C17001C Manual page 275

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.1)
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 -gstabs test.c
Major Command-line Options
-S
-c
-E
<path>
-B
<path>
-I
-fno-builtin
<macro>
-D
[=<string>]
-O0, -O, -O1, -O2, -O3, -Os
-gstabs
-mpointer16
-mrelax
-Wall
-Werror-implicit-function-declaration
-mno-sjis-filt (GCC3 only)
-xassembler-with-cpp
<option>
-Wa,
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
Generate code for 16-bit (64KB) data space
Output code size optimization
Enables warning options
Undeclared function error output
Disables filter function for Shift JIS code
Invoke C preprocessor
Specify assembler option

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?

Questions and answers

Table of Contents