Installing Acorn C/C++ means setting up a suitable disc directory structure. You only need to perform this once to set up a suitable structure.
To use Acorn C/C++ you will need to install it; booting is performed automatically.
This chapter only describes installation. The Working with desktop tools explains how to use the desktop tools.
The minimum specification of RISC OS system recommended for serious use of Acorn C/C++ is a 4MB RAM machine with a hard disc drive.
A limited subset of features of Acorn C/C++ can be used on a 2MB RAM machine, but its use is not recommended.
Before installing Acorn C/C++ on your machine with the Install application, it is wise to take a backup copy of each of the floppy discs supplied with the product.
Acorn C/C++ is supplied with six floppy discs. These are not intended for use other than with the Install application.
Take the following steps to run the Install application:
The Installer application then reads your current filing system and disc name, and displays an options dialogue box:
INSTALL-2.PNG
This dialogue box allows you to specify the filing system and disc name to install to, and to set various options for the installation arrangement.
The Path field displays the default filing system name and disc name forming the destination for Installer to copy files to. It is initialised with the current filing system and disc name. If you want to specify a different destination for AcornC_C++, drag the directory icon to the required destination. Use the Name writable field to specify a name other than AcornC_C++.
Warn before overwrites causes Installer to display a warning message before it overwrites existing files whose names are duplicated by new ones. This gives you the opportunity to halt the installation if you don't want an existing file overwritten.
Run Acorn C/C++ introductory demo allows you to specify whether you want the introductory demonstration application to be run after Acorn C_C++ has been installed. See overleaf for details of this application.
Cancel cancels the Install process.
Install starts the installation process with the options as set.
Once you click on Install the following box will be displayed:
INSTALL-3.PNG
From now on !Installer will ask you to insert the installation discs as it installs the new software. When it asks for a new disc, or displays a warning message, the bar showing installation progress in the Complete field will change from green to red:
INSTALL-4.PNG
If you enabled the Run Acorn C/C++ introductory demo option, the following window will be displayed after the installation is complete:
INSTALL-5.PNG
The demonstration toolbox program allows you to learn more about Acorn C/C++ by clicking on various icons which open to display further information. The pointer changes to a pointer attached to an open book if you position it over an icon that can display additional information.
INSTALL-6.PNG
The following directory structure is set up for you on your hard disc. It is created
if not present, or updated if it is already there:
INSTALL-7.GIF
= <System$path> gives the location of your !System directory.
Various Acorn C/C++ operations depend on the correct settings of environment variables. If you carefully follow the instructions at the begining of this chapter for installing Acorn C/C++, they should be correctly set and you do not need the following information. These details are summarised here as an aid for tracking down any problems you may have.
Each desktop tool, when loaded, defines an environment variable of the sort <toolname>$Dir. The purpose of these variables is to allow each tool access to its application directory, for example, to store options. These are not likely to become incorrectly set and cause problems. SrcEdit can be configured with options from its desktop interface, and also from options variables, as described in the SrcEdit later in this manual.