Sources of the 68HC11 & 68HC12 ports are parts of the FSF CVS source trees hosted by RedHat. This page is not a CVS manual but it is intended to give the basic commands that you can use to retrieve the sources.

CVS Login

Before checking out or updating your CVS tree, you must login with the following command:
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
       {enter "anoncvs" as the password}

GNU Binutils

After the CVS login, you can get the Binutils sources by using the following checkout command:
cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co binutils
This will create a directory src that you should rename binutils.

Note: As of Jan 30 2005, this CVS tree is known to build and work for 68HC11 & 68HC12.

GDB

The GDB sources are obtained by using the following checkout command:
cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co gdb
This will create a directory src that you should rename gdb.

Note: As of Jan 30 2005, this CVS tree is known to build for 68HC11 & 68HC12 (use --target=m6811-elf).

GCC

You can get the GCC sources by using the following checkout command:
cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/gcc co gcc
This will create a directory gcc.

Note: Several patchs are not integrated yet. As of Jan 30 2005, the 3_3, 3_4 and MAIN gcc branches are known to build and work reasonably well with a quality that approaches Release 3.0.

Newlib

You can get the Newlib sources by using the following checkout command:
cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co newlib
This will create a directory src that you should rename newlib.

Note: To configure and build Newlib, you must use the following command:

  .../newlib/configure --target=m6811-elf --program-prefix=m6811-elf- \
     --prefix=/build/gnu-m68hc11/r2 --disable-newlib-io-float \
     --disable-newlib-multithread