MAINSAIL System-Specific User's Guides, Chapter 2

previous   next   top   complete contents   complete index   framed top   this page unframed


2. General Operation

2.1. Installation Assumptions

It is assumed that the MAINSAIL files have been installed on a directory called the MAINSAIL directory. The examples in this document assume that this directory is named /usr/mainsail/16.30.1. This naming convention is only a suggestion; the MAINSAIL directory may have any name. Substitute the name of the MAINSAIL directory on your system for the string /usr/mainsail/16.30.1 wherever it appears in the examples.

It is assumed that once the MAINSAIL bootstrap has been created, it is placed in the standard directory for executable files (usually /usr/bin) so that users do not need to type the full path name of the MAINSAIL bootstrap each time they run MAINSAIL. If this assumption is not satisfied, the discussion below must be modified accordingly; i.e., the full path name of the MAINSAIL bootstrap must be typed each time MAINSAIL is invoked.

Detailed installation instructions come with each MAINSAIL system shipped.

2.2. Invoking MAINSAIL

To run a MAINSAIL program type mainsa<eol> to the shell. MAINSAIL begins execution and types a herald identifying itself and the version of MAINSAIL being used. It then types * as a prompt and waits for input. The * prompt and possible responses to it are described in Chapter 21 of the MAINSAIL Utilities User's Guide.

2.3. Default Objmod and Intmod Searchpaths and File Names

The object MODULE file name for a MODULE compiled for UNIX is constructed by converting the MODULE name to lower case and appending to it the appropriate flavor-dependent prefix, as shown in Table A–1; as described in Appendix A, this file name is usually mapped to a different one through a searchpath. Use of the MAINSAIL compiler is described in the MAINSAIL Compiler User's Guide.
previous   next   top   complete contents   complete index   framed top   this page unframed

MAINSAIL System-Specific User's Guides, Chapter 2