Sdcc

Páginas: 173 (43148 palabras) Publicado: 3 de septiembre de 2012
SDCC Compiler User Guide

SDCC 3.1.3
$Date:: 2012-03-10 #$
$Revision: 7423 $

Contents
1

2

3

Introduction
1.1 About SDCC . . . . . . . . . . . .
1.2 SDCC Suite Licenses . . . . . . . .
1.3 Documentation . . . . . . . . . . .
1.4 Typographic conventions . . . . . .
1.5 Compatibility with previous versions
1.6 System Requirements . . . . . . . .
1.7 Other Resources . . . . .. . . . . .
1.8 Wishes for the future . . . . . . . .

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

..
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

6
6
7
8
8
8
10
10
10

Installing SDCC
2.1 Configure Options . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Install paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Search Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Building SDCC. . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.1 Building SDCC on Linux . . . . . . . . . . . . . . . . . .
2.4.2 Building SDCC on Mac OS X . . . . . . . . . . . . . . . .
2.4.3 Cross compiling SDCC on Linux for Windows . . . . . . .
2.4.4 Building SDCC using Cygwin and Mingw32 . . . . . . . .
2.4.5 Building SDCC Using Microsoft Visual C++ 2010 (MSVC)
2.4.6 Windows InstallUsing a ZIP Package . . . . . . . . . . . .
2.4.7 Windows Install Using the Setup Program . . . . . . . . . .
2.4.8 VPATH feature . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Building the Documentation . . . . . . . . . . . . . . . . . . . . .
2.6 Reading the Documentation . . . . . . . . . . . . . . . . . . . . .
2.7 Testing the SDCC Compiler . . . . . . . . . . . . . . . . . . . . .
2.8Install Trouble-shooting . . . . . . . . . . . . . . . . . . . . . . . .
2.8.1 If SDCC does not build correctly . . . . . . . . . . . . . . .
2.8.2 What the ”./configure” does . . . . . . . . . . . . . . . . .
2.8.3 What the ”make” does . . . . . . . . . . . . . . . . . . . .
2.8.4 What the ”make install” command does. . . . . . . . . . . .
2.9 Components of SDCC . . . . . . . . . . . . . . .. . . . . . . . .
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 - The Simulators . . . . . . . . . . . . . .
2.9.5 sdcdb - Source Level Debugger . . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
....
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • sdcc
  • Manual De Sdcc

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS