MAINSAIL System-Specific User's Guides, Chapter 2

previous   next   top   contents   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 c:\mainsail\16.20.1, where 1 is the number of the current release of MAINSAIL Version 16.20. 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 “c:\mainsail\16.20.1” wherever it appears in the examples.

Detailed installation instructions come with each MAINSAIL system shipped.

2.2. Invoking MAINSAIL

MAINSAIL can be invoked as a Windows-based application or as a character-based application, depending on the bootstrap used to invoke it. Several different bootstraps are supplied for MAINSAIL on NTPNT; your current installation note describes the names of the bootstraps and how to run them.

All the MAINSAIL bootstraps supplied by the default installation process run the MAINSAIL executive MAINEX or the MAINSAIL editor MAINEDIT; any MAINSAIL MODULE can be invoked from either of these programs. MAINEX is described in detail in Chapter 21 of the MAINSAIL Utilities User's Guide and MAINEDIT in the MAINEDIT User's Guide.

2.3. Default Objmod and Intmod Searchpaths and File Names

The default objmod and intmod searchpaths on NTPNT are:

SEARCHPATH *-obj:* *2-*1.obj
SEARCHPATH *-int:* *2-*1.int

and the file abbreviation, the string substituted for the first wildcard above, is mpn. The compiler forms the objmod file name for a MODULE by converting the MODULE name to lower case and adding the prefix mpn-obj:. If the above default searchpath is in effect, the objmod file name for a MODULE FOO will be foo-mpn.obj.

Similarly, the compiler forms the intmod file name for a MODULE by converting the MODULE name to lower case and adding the prefix mpn-int:. If the above default searchpath is in effect, the intmod file name for a MODULE FOO will be foo-mpn.int.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL System-Specific User's Guides, Chapter 2