Amsterdam Compiler Kit

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Amsterdam Compiler Kit
Developer(s) Andrew Tanenbaum, Ceriel Jacobs
Stable release 6.0pre4 / August 8, 2010; 4 years ago (2010-08-08)
Written in C
Operating system Minix, Unix-like
Type Retargetable compiler
License BSD licenses
Website tack.sourceforge.net

The Amsterdam Compiler Kit (ACK) is a fast, lightweight and retargetable compiler suite and toolchain written by Andrew Tanenbaum and Ceriel Jacobs, and is MINIX's native toolchain. The ACK was originally closed-source software (that allowed binaries to be distributed for MINIX as a special case), but in April 2003 it was released under an open source BSD license. It has frontends for programming languages C, Pascal, Modula-2, Occam, and BASIC.

The ACK's notability stems from the fact that in the early 1980s it was one of the first portable compilation systems designed to support multiple source languages and target platforms. [1] [2]

The ACK achieves maximum portability by using an intermediate language using bytecode, called EM. Each language front-end produces EM object files, which are then processed through several generic optimisers before being translated by a back-end into native machine code.

ACK comes with a generic linker and librarian capable of manipulating files in the ACK's own a.out-based format; it will work on files containing EM code as well as native machine code. However, EM code cannot be linked to native machine code without translating the EM binary first.

Target processors[edit]

* Version 6.0

Broadcom VideoCore IV (BCM2708) ( branch dtrg-videocore : http://hg.code.sf.net/p/tack/tack)

See also[edit]

References[edit]

  1. ^ Tanenbaum, Andrew S; H van Staveren, E.G. Keizer, J.W. Stevenson (1983). "A Practical Tool Kit For Making Portable Compilers". Communications of the ACM 26 (9): 654–660. doi:10.1145/358172.358182. 
  2. ^ A.V Aho, R. Sethi & J.D. Ullman (1986). Compilers - Principles, Techniques and Tools ("The Dragon Book"). Addison-Wesley. p. 511. ISBN 0-201-10088-6. 

External links[edit]