Epson S5U1C17001C Manual page 709

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
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
Output assembly code (.s)
-S
Output relocatable object file (.o)
-c
Execute C preprocessor only
-E
Specify compiler search path
-B<path>
Specify include file directory
-I<path>
Disable built-in functions
-fno-builtin
Define macro name
-D<macro>[=<string>]
Optimization
-O0,-O,-O3
Add debugging information with relative path to source files
-gstabs
Generate code for 16-bit (64KB) data space
-mpointer16
Generate code for 20-bit (1MB) space
-mshort-offset
Disables filter function for Shift JIS code
-mno-sjis-filt
-xassembler-with-cpp Invoke C preprocessor
Specify assembler option
-Wa,<option>
Development Tools
Reference

Advertisement

Table of Contents
loading

Table of Contents