From: ceriel Date: Tue, 13 Nov 1990 13:36:15 +0000 (+0000) Subject: Additions from Albert Koelmans X-Git-Tag: release-5-5~1416 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=52cbbb11e011ace4e4ed1c8f8b9f521bda9bec6e;p=ack.git Additions from Albert Koelmans --- diff --git a/mach/arm/.distr b/mach/arm/.distr index 815da01cc..2bc276239 100644 --- a/mach/arm/.distr +++ b/mach/arm/.distr @@ -1,6 +1,14 @@ Action +READ_ME as cv +libbc libcc libem +libfp +libm2 +liboc +libpc +libros ncg +top diff --git a/mach/arm/Action b/mach/arm/Action index 1ddbe79a5..ad47975c6 100644 --- a/mach/arm/Action +++ b/mach/arm/Action @@ -1,12 +1,36 @@ +name "ARM backend" +dir ncg +end name "ARM assembler" dir as end -name "ARM backend" -dir ncg +name "ARM target optimiser" +dir top +end +name "ARM cv program" +dir cv end name "ARM C libraries" dir libcc end +name "ARM Pascal libraries" +dir libpc +end name "ARM EM library" dir libem end +name "ARM RiscOs library" +dir libros +end +name "ARM floating point library" +dir libfp +end +name "ARM Modula 2 library" +dir libm2 +end +name "ARM Occam libraries" +dir liboc +end +name "ARM Basic libraries" +dir libbc +end diff --git a/mach/arm/READ_ME b/mach/arm/READ_ME new file mode 100644 index 000000000..df4b88967 --- /dev/null +++ b/mach/arm/READ_ME @@ -0,0 +1,57 @@ +These are the comments as I received them from Albert Koelmans. +The only thing I did was adapt the installation mechanism for ACK, and +made some adaptions to de code generator to support the improved FP package. +I also removed some comments that were no longer up-to-date. + +Ceriel Jacobs + +AMSTERDAM COMPILER KIT - BACKEND FOR ACORN RISC MACHINE PROCESSOR +=========================================================================== + +This file contains some advice on how to go about installing the ARM backend +for the Amsterdam Compiler Kit (ACK), followed by a shar file containing the +backend itself. In what follows, ~ will denote the ACK root directory (on +most systems, this will be /usr/em), also called EMHOME in most makefiles. + +Make sure that your PATH includes ~/bin + +cd to ~/bin, and type + ln ack arm + +cd to ~/mach/proto/ncg, and inspect file param.h. The constant MAXEMLINES +should be at least 40. Edit the file if necessary. + +cd to ~/util/ncgg, and inspect file param.h. The constant MAXNODES should +have as parameters at least 1500 and 1350. If this is not the case, edit the +file and type 'make install' to generate a new ncgg. + +If some compilations fail, inspect file Out in the appropriate subdirectory +to find the cause. + +ACK will create an a.out file which includes an ACK header and symbol table. +Use the cv program to strip these off, after which the executable should be +downloaded onto an Archimedes machine and have it's type set to FF8. + +Acknowledgements: the first version of the backend was written by an anonymous +student at the Vrije Universiteit, Amsterdam. The code generator was further +developed and debugged by Albert Koelmans. Andrew Michael wrote most of the +assembler sources. A simple RiscOs interface was added by Albert Koelmans. +All of this involved extensive help from Ceriel Jacobs. The assertion in the +ACK documentation that writing a backend is a major task is certainly true... + +In case of major problems, bugs etc, contact me at the address below.... + +Revision history: + +jan 1990 version 1.0 + +mar 1990 version 1.1 + Some bugs sorted out + Backend generates tighter code + Much better target optimiser +apr 1990 version 2.0 + Register variables introduced + more bugs removed + +Albert Koelmans +(albert.koelmans@newcastle.ac.uk)