Manual De Sdcc

Páginas: 160 (39910 palabras) Publicado: 25 de noviembre de 2012
SDCC Compiler User Guide

SDCC 2.8.5
$Date: 2008-11-16#$ $Revision: 5272$

Contents
1 Introduction 1.1 About SDCC . . . . . . . . . . . . 1.2 Open Source . . . . . . . . . . . . . 1.3 Typographic conventions . . . . . . 1.4 Compatibility with previous versions 1.5 System Requirements . . . . . . . . 1.6 Other Resources . . . . . . . . . . . 1.7 Wishes for the future . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . 6 6 7 7 7 8 8 8 10 10 12 13 13 13 14 14 14 15 16 17 17 17 17 17 18 19 19 19 19 19 19 20 20 20 20 20 21 21 21 21 22 22 23

2

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.5Building SDCC Using Microsoft Visual C++ 6.0/NET (MSVC) 2.4.6 Building SDCC Using Borland . . . . . . . . . . . . . . . . . . 2.4.7 Windows Install Using a ZIP Package . . . . . . . . . . . . . . 2.4.8 Windows Install Using the Setup Program . . . . . . . . . . . . 2.4.9 VPATH feature . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Building the Documentation . . . . . . . . . . . . . . . . . . .. . . . 2.6 Reading the Documentation . . . . . . . . . . . . . . . . . . . . . . . 2.7 Testing the SDCC Compiler . . . . . . . . . . . . . . . . . . . . . . . 2.8 Install 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 asxxxx, aslink, link-xxx - The Assemblers andLinkage Editors . 2.9.4 s51 - The Simulator . . . . . . . . . . . . . . . . . . . . . . . . 2.9.5 sdcdb - Source Level Debugger . . . . . . . . . . . . . . . . . Using SDCC 3.1 Compiling . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 Single Source File Projects . . . . . . . . . . 3.1.2 Postprocessing the Intel Hex file . . . . . . . 3.1.3 Projects with Multiple Source Files . . . . . 3.1.4Projects with Additional Libraries . . . . . . 3.1.5 Using sdcclib to Create and Manage Libraries 1

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

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

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

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

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

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

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

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

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

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

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

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

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

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • sdcc
  • sdcc
  • Sdcc
  • MANUAL DE MANUALES
  • Manual
  • Manualidades
  • Manual
  • Manuales

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS