Compiler Source
Main Menu |
CPOC |
C68 for QDOS |
History |
Feedback
We make the source for the main Compiler program freely available.
The compiler is known generically as C68, and this is the name by
which it is indexed in the Web/Internet archives. However, we
personally also use various other names according to the environment
in which it is running (i.e. hosted):
- c68 in Motorola 68K variant
- c386 in Intel 386 variant
- c86 in Intel 8086 variant
- c30 in Texas Instruments TMSC30 variant
- carm in ARM variant (not yet completed)
- cppc in Power PC variant (nowhere near completed)
All variants of the compiler can be built to act as cross-compilers
for any of the other processor types. You can even build yourself
a version of the compiler that supports multiple target processor
types with the actual processor type being selected via runtime
parameters. For several of the target processor types the compiler
assembler output it is available to support a number of different
assemblers. For these cases you can (optionally) elect to support
more than one of the assemblers with the actual assembler output
format to be used determined by runtime parameters.
We have also done some work to produce a version of the compiler that
supports additional features as defined by the ISO C 1999 standard.
The details of this work are available here.
We always supply the complete source to the compiler. When building the compiler from this source,
you set options up in the config.h
configuration file to control exactly what compiler
variant you want and what options are to be included.
The following are available for download:
-
Compiler source
(410Kb) 27th June 1999
This version of the compiler is our latest source.
There are no specific
outstanding problems that we are currently aware off.
If you want to see the list of recent changes, the you
can view the change log.
The next set of files are library support routines used by the compiler. The compiler will
generate calls to these routines as appropriate to carry out certain functions for
which it is not appropriate to generate inline code.
- Intel library support routines
Calls to these routines are generated when you generate code for Intel
based systems.
They need to be included in the standard C library for any Intel targeted system.
- Motorola 68K general library support routines
Calls to these routines are generated when you generate code for 68K based
systems.
They need to be included in the standard C library of any 68K targeted system.
- Motorola 68K IEEE library support routines
Support routines needed if you are generating code for a 68K based system and
you want to use IEEE format software floating point.
They need to be included in the standard C library for any 68K targeted system.
- Motorola 68K MFFP library support routines
Support routines needed if you are generating code for a 68K based system and
by any chance you want to use MFFP format software floating point.
They need to be included in the standard C library for any 68K targeted system.
N.B. We no longer test the compiler on a regular basis against
the MFFP support as we always use IEEE instead. However if you decide to use
the MFFP option and find any problems please let us know so we can fix them.
-
Texas TMSC30 library support routines
(16kb) 17th November 1996
Support routines needed if you are generating code for a Texas Instruments
TMSC30 based variant of this compiler. The support routines will need to
be included in the standard C library for any TMSC30 targeted system.
Also includes some notes on the implementation of the TMSC30 part of the
compiler and how best to exploit some of the parameter options.
The following is the documentation on the current version of the compiler:
-
Compiler documentation
(34Kb) Text version - 17th December 1996
This is a plain text version of the documentation of the compiler. This is
over 55 pages of documentation covering all aspects of the main compiler program.
-
Compiler documentation
(35Kb) Quill version - 10th December 1996
Another version of the compiler program documentation, but this time in QDOS Quill
word processor format.
Main Menu |
CPOC |
C68 for QDOS |
History |
Feedback