68HC11/12 GNU C, C++ Compiler ----------------------------- This directory contains a port of the GNU Development chain for the Motorola 68HC11 & 68HC12 microcontrollers provided by Stephane Carrez. It integrates: The GNU C, C++, compiler (GCC 2.95.2) The GNU Binutils 2.10 (as, ld, ar, objcopy, ...) The GNU Debugger (GDB 5.0) The NEWLIB libraries (libc, libgloss, libm) The port as well as the main components it is based on are distributed under the terms of the GNU Public License. See http://www.gnu-m68hc11.org for more information on this software or to download a different version. Though many operating systems are supported, only the Windows port is included on this CD. INSTALLATION ------------ Before the installation, you must have downloaded the distribution and you must have the Zip/unzip utilities. These utilities are available from http://www.cdrom.com/pub/infozip. Then, choose a place on your disk where you will unzip the package. It requires 16Mb of free space. It's good to reserve some more space for GDB and for other tools. Unzip the package with unzip tool. After unzipping, you must configure the programs using the installer winstall.exe provided separately from the packages. cd unzip binutils-68hc1x-win32-2.11-1.1.1.i386.zip unzip gcc-68hc1x-win32-2.95.3-1.1.1.i386.zip unzip gdb-68hc1x-win32-5.0-1.1.1.i386.zip unzip newlib-68hc1x-win32-1.9.0-1.1.1.i386.zip unzip m68hc11-examples-1.2.1.zip winstall.exe If the winstall.exe tool does not locate the installation directory, you can specify a path. For example: winstall.exe usr/m6811 Notes: ------ The winstall.exe tool does not configure your PATH. If you need help setting your path, try the following. On Windows NT, select Start/Settings/Control Panel/System/Environment and edit your path. For Windows 95/98, edit your autoexec.bat file. If you already have a line that starts with PATH or SET PATH, add the bin directory to your list or you can add the following after the line that sets your path in autoexec.bat: SET PATH=C:\install-dir\m6811\bin;%PATH% Tool documentation can be found: install-dir\m6811-elf\doc\index.html If you receive an "out of environment space" error message, you must increase your environment size. Do this by adding this to your config.sys file. shell=C:\command.com /e:2048 /p Before trying the examples, you must build the library under \lib There is a bug in the gcc front-end that forbids the use of a drive specification in the installation path. If you pass such drive specification to winstall.exe it will not work. You can move the directory where you installed the cross development tools. In that case, you must re-configure by launching winstall.exe. It's probably useful to get a make and some of the tools presented in Windows IDEs. DOCUMENTATION ------------- The binary packages contain the complete HTML documentation about Gcc, the Binutils and Gdb. The following index file can be used as the entry point of all this documentation: install-dir\m6811-elf\doc\index.html More documentation help is available at http://www.gnu-m68hc11.org/ Including information for bulding and testing the examples.