Acorn C/C++ Explained

Acorn C/C++
Logo Caption:Software packaging
Developer:RISC OS Open
Author:Codemist, Acorn Computers
Latest Release Version:31[1]
Programming Language:C and Assembly language
Operating System:RISC OS
Platform:ARM architecture
Licence:Proprietary commercial software

Acorn C/C++ is a set of C/C++ programming tools for use under the operating system. The tools use the Norcroft compiler suite and were authored by Codemist and Acorn Computers.[2] The tools provide some facilities offered by a fully integrated development environment.

Acorn included a copy of the Norcroft compiler targeted at the ARM architecture for RISC OS in the following development software.

History

Acorn's work on ANSI C compilers was begun around 1987, with a commercial release in 1988 for its Archimedes computer.[5] and Desktop Assembler were released in 1991. Codemist worked primarily on the ANSI C standard, while Acorn concentrated on the specifics and optimisation for the ARM. Both parties exchanged sources regularly.[6]

The tools were originally developed by university academics Alan Mycroft and Arthur C Norman of Codemist.[7] Their development was taken up by Acorn and subsequently taken over by Castle Technology, who later added the lacking C99[8] support. Castle funded further development by means of a subscription scheme.[9] In early 2009, development and sales of the tools were transferred to RISC OS Open.[10]

Subsequent enhancements have included adding the post-ARMv5 instructions to the standalone assembler tool, ObjAsm, and code generation by the C compiler to use those instructions where natural to do so from the language.[11] In October 2020 a number of extensions to support the C18 standard were made available to developers.[12]

Uses

The Norcroft compiler can be used to produce modules, as well as compiling parts of the operating system itself. Before beginning development of the Inform programming language, Graham Nelson originally used to develop his text adventure Curses.[13] [14]

The suite of tools is currently the only means of building a working copy of, although it is ultimately intended that this will also be possible using a cross compiler, e.g. using the free software GCC system.[15]

See also

External links

Notes and References

  1. Web site: I'm floatin' around in ABC . . 2022-06-23 . July 1, 2022 . Revill, Steve . Find yourself writing programs in BBC BASIC? Do your programs ever involve floating point maths? Well we’ve got some good news for you....
  2. Web site: Interview with Ian Johnson . . CAUGers . 2011-06-30 . 2 . 1 . Acorn began work on ANSI C compilers around 1987. C release 3 was made in 1989, and was followed by Desktop C and Desktop Assembler in 1991. The development of the compiler was a joint venture between Norcroft (at the time Arthur Norman and Alan Mycroft--two academics from Cambridge University Computing Labs) and the PLG at Acorn. Sources were regularly exchanged between both parties but, generally, Norcroft were responsible for adherence to the emerging ANSI standard, whilst Acorn concentrated on the RISC OS specifics of the C library and on common subexpression elimination, register allocation and peephole optimisation for the ARM. . dead . https://web.archive.org/web/20060601035948/http://www.accu.informika.ru/acornsig/public/caugers/volume2/issue1/ianjohnson.html . 2006-06-01 .
  3. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Brochures/Acorn_APP160_ANSICR3.pdf Acorn - ANSI C (Release 3)
  4. http://chrisacorns.computinghistory.org.uk/docs/Acorn/SN/Acorn_SalesNews127.pdf Acorn - Sales News 127 - 6th Feb 1995
  5. Book: Norman, A.C. . https://books.google.com/books?id=TGceTyXcgsYC&q=norcroft&pg=PA185 . Algorithmic algebra and logic : proceedings of the A3L 2005, April 3–6, Passau, Germany conference in honor of the 60th birthday of Volker Weispfenning . Dolzmann, Andreas . Thirty Years of Lisp Support for REDUCE . Passau, Germany . 978-3-8334-2669-8 . 63200315 . Seidl, Andreas; Sturm, Thomas; Weispfenning, Volker . 2005 . In 1989 [...] concurrently working with Alan Mycroft developing the Norcroft [MN88 - 1988] C compiler, and so we were especially well in tune with the emerging ANSI C standard..
  6. Web site: Codemist Compilers / Norcroft . Codemist Ltd . 2011-10-21 . 2010 . Bath, UK . We have created C compilers for a range of computers, from mainframes to embedded special purpose chips. [...] the following partial list will give an idea of the range of our output. Acorn Computers ARM C Compiler. This is the original ANSI C compiler known as Norcroft C..
  7. Book: Mycroft . Alan . Norman . Arthur C. . Optimising compilation . Part I: classical imperative languages . Cambridge, UK . University of Cambridge, Computer Laboratory . 1992 . 29982690 . 10.1.1.43.9953 . [...] the 'Norcroft' compiler suite jointly constructed by the authors [...] Commercial interests are referred to Codemist Ltd. [...] .
  8. Web site: Norcroft versus GCC . 2011-06-16 . riscos.info . https://web.archive.org/web/20020404222725/http://www.riscos.info/compilers/compare.html . 2002-04-04 . Norcroft: Faster than GCC to compile programs, probably by about two times. GCC: Supports a much newer C++ implementation than Norcroft, as well as C99..
  9. Web site: CTL launch C/C++ compiler sub scheme . . 2004-04-29 . 2011-06-16 . Williams, Chris . Castle has announced the launch of a subscription scheme for its C/C++ development suite. The scheme aims to fund future development of the compiler suite through annual subscriptions [...].
  10. Web site: News in brief . 2011-06-16 . 2009-05-04 . . RISC OS Open has taken over sales of the Acorn C/C++ development suite, known as the Norcroft compiler, which is used to build RISC OS. . 2014-02-02 . https://web.archive.org/web/20140202124725/http://www.drobe.co.uk/article.php?id=2504 . dead .
  11. Web site: New Desktop Development Environment reaches out. . 2020-02-21 . Revill, Steve . Latest Norcroft C compiler [...] Code generation now tailored to use ARMv6/v7/v8 extended instructions where possible.
  12. Web site: Development easier than A-B-C . . 2020-10-30 . 2023-05-24 . Revill, Steve . The Norcroft C compiler, CC, has been extended to implement the latest C18 (ISO9899:2018) standard.
  13. Book: Montfort, Nick . Nick Montfort

    . Nick Montfort . Twisty little passages : an approach to interactive fiction . 7 The Independents . . 2005 . Cambridge, Massachusetts, United States . 0-262-63318-3 . Before Nelson began work on Inform [...] Using an Acorn Archimedes and programming in ANSI C, he quickly abandoned his small game to begin developing Curses, using that to put the in-progress compiler through its paces. .

  14. Web site: Interview: Graham Nelson . Eileen Mullin . XYZZY News . 2008-10-30 . https://web.archive.org/web/20080622070223/http://www.xyzzynews.com/xyzzy.1c.html . 2008-06-22 . dead . I use two languages, the excellent Norcroft ANSI C compiler and Inform..
  15. Web site: Cross compilation support . . 2010-05-20 . October 21, 2011 . Avison, Ben . [...] the completion of Pace’s cross-compilation project – an initial milestone on the path to full cross-compilation support. [...] Most of them build on Linux, targetting RISC OS, using the GCC toolchain [...].