2.9 Components of SDCC

Next: 2.9.1 sdcc - The Up: 2. Installing SDCC Previous: 2.8.4 What the ''make Contents Index

# 2.9 Components of SDCC

SDCC is not just a compiler, but a collection of tools by various developers. These include linkers, assemblers, simulators and other components. Here is a summary of some of the components. Note that the included simulator and assembler have separate documentation which you can find in the source package in their respective directories. As SDCC grows to include support for other processors, other packages from various developers are included and may have their own sets of documentation.
You might want to look at the files which are installed in <installdir>. At the time of this writing, we find the following programs for gcc-builds:
In <installdir>/bin:

- sdcc - The compiler.
- sdcpp - The C preprocessor.
- asx8051 - The assembler for 8051 type processors.
- as-z80, as-gbz80 - The Z80 and GameBoy Z80 assemblers.
- aslink -The linker for 8051 type processors.
- link-z80, link-gbz80 - The Z80 and GameBoy Z80 linkers.
- s51 - The ucSim 8051 simulator.
- sdcdb - The source debugger.
- packihx - A tool to pack (compress) Intel hex files.

In <installdir>/share/sdcc/include

- the include files

In <installdir>/share/sdcc/lib

- the subdirs src and small, large, z80, gbz80 and ds390 with the precompiled relocatables.

In <installdir>/share/sdcc/doc

- the documentation

As development for other processors proceeds, this list will expand to include executables to support processors like AVR, PIC, etc.

Subsections

- 2.9.1 sdcc - The Compiler
- 2.9.2 sdcpp - The C-Preprocessor
- 2.9.3 asxxxx, aslink, link-xxx - The Assemblers and Linkage Editors
- 2.9.4 s51 - The Simulator
- 2.9.5 sdcdb - Source Level Debugger

Next: 2.9.1 sdcc - The Up: 2. Installing SDCC Previous: 2.8.4 What the ''make Contents Index