1. Introduction
This document explains how to use the GNU development chain
for the embedded Motorola 68HC11 and 68HC12 microcontrollers.
The tools that come with it allow you to create applications
written in C, C++ or assembly language.
1.1 Content
The GNU development chain is composed of the following components:
-
A C and C++ compiler
-
An assembler, a linker and a collection of tools to manipulate object files.
-
A source level debugger
-
A simulator
-
An ANSI C library, a mathematical library and a board support package library.
1.2 Installation
The GNU development chain is available in source and binary form.
For a quick and easy to use installation, the binary form is recommended.
Binaries are available for the following platforms:
GNU Linux Red Hat 8.x or Mandrake 9.x (i586)
- The tool chain is packaged in several RPM files. The installation
follows the standard installation on these platforms.
Windows 98, NT, 2000, XP
- The tool chain is packaged in a single executable file.
Installation is a graphical installation and is straight forward.
1.3 Installed Tree
The GNU development chain exports four important directories.
These directories contain the compiler binaries, the libraries, the
includes and the full documentation set.
bin
- This directory contains the executables of the GNU development chain.
It contains the compiler driver (gcc), the assembler (gas),
the linker (ld) and other tools.
lib
- This directory contains the 68HC11 and 68HC12 runtime libraries.
It contains the standard C library (libc.a), the math library (libm.a)
and board support library (libbsp.a).
doc
- This directory contains the documentation of the tool chain.
It contains the five documentation sets in HTML form for the
preprocessor, compiler, assembler, linker, debugger and the utilities.
include
- This directory contains the standard C header files.
1.4 Starting
Once you have installed the tool chain, it is recommended to
read and play with the 2. Hello World Example tutorial. It explains
how you can build a simple application and run it on the simulator,
in the debugger or on your board.
This document was generated
by Stephane Carrez on May, 15 2005
using texi2html>