Download User Manual - KPIT GNU Tools

Transcript
GNUSH (ELF) Toolchain
User Manual
Conceptually
Source Files
Practically
*.c
or
ANSI C Source
*.cpp
*.s
ANSI C++ Source
Assembly source
(bypass CPP)
Preprocessing
Compilation
CPP
CC1
CC1Plus
*.s
Assembling
gas
*.o
Linking
Precompiled (*.o)
ld
Libraries (*lib.a)
Ld scripts (*.lnk)
Executable
Binary executable
In one of the output formats
*.elf / *.bin / *.srec
Figure: Compilation Flow Diagram
2.4.1.5
Unifile
Unifile is a utility that merges two or more Motorola format files (commonly known
as Mot file or S-Record file) or Intel format files (commonly known as Hex file) to
generate a single Motorola format file (S-Record / Mot file) or Intel format file
(Hex file).
This utility can be used from the command line or it can be integrated into the
Renesas HEW IDE by adding a custom build phase. This document describes
how to use the tool.
A diagram showing how the Unifile utility is used is shown below:
Page 43 of 385