Keywords: sdccman

# 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.
- sdas8051 - The assembler for 8051 type processors.
- sdas390 - The assembler for DS80C390 processor.
- sdasz80, sdasgb - The Z80 and GameBoy Z80 assemblers.
- sdas6808 - The 6808 assembler.
- sdasstm8 - The STM8 assembler.
- sdld -The linker for 8051 and STM8 type processors.
- sdldz80, sdldgb - The Z80 and GameBoy Z80 linkers.
- sdld6808 - The 6808 linker.
- s51 - The ucSim 8051 simulator.
- sz80 - The ucSim Z80 simulator.
- shc08 - The ucSim 6808 simulator.
- sstm8 - The ucSim STM8 simulator.
- sdcdb - The source debugger.
- sdar, sdranlib, sdnm, sdobjcopy - The sdcc archive managing and indexing utilites.
- packihx - A tool to pack (compress) Intel hex files.
- makebin - A tool to convert Intel Hex file to a binary and GameBoy binary image file format.

In <installdir>/share/sdcc/include

- the include files

In <installdir>/share/sdcc/non-free/include

- the non-free include files

In <installdir>/share/sdcc/lib

- the src and target subdirectories with the precompiled relocatables.

In <installdir>/share/sdcc/non-free/lib

- the src and target subdirectories with the non-free precompiled relocatables.

In <installdir>/share/sdcc/doc

- the documentation

Subsections

- 2.9.1 sdcc - The Compiler
- 2.9.2 sdcpp - The C-Preprocessor
- 2.9.3 sdas, sdld - The Assemblers and Linkage Editors
- 2.9.4 s51, sz80, shc08, sstm8 - The Simulators
- 2.9.5 sdcdb - Source Level Debugger