| 1 |
This file contains system-dependent notes on Idol. Compiling idolboot |
| 2 |
for your system requires a command of the form |
| 3 |
icont -Sr1000 -SF30 -Si1000 idolboot system |
| 4 |
where system is the name of your system (so far amiga, mpw, msdos, |
| 5 |
mvs, os2, unix, or vms). |
| 6 |
|
| 7 |
UNIX |
| 8 |
|
| 9 |
If you are running UNIX, count yourself lucky! The Idol distribution |
| 10 |
comes with a Makefile which ought to take care of things for you. |
| 11 |
|
| 12 |
MSDOS |
| 13 |
|
| 14 |
Due to memory limitations, Idol for MS-DOS Icon does not use the system() |
| 15 |
function. Instead, it generates a batch file, idolt.bat, containing the |
| 16 |
sequence of commands required to finish the translation and linking of |
| 17 |
the output into executable icode. The batch file idol.bat runs idol |
| 18 |
and then calls idolt for you; it should suffice in ordinary situations. |
| 19 |
It is invoked as described in the man page and reference manual, e.g. |
| 20 |
C> idol idol msdos |
| 21 |
The file install.bat performs the initial bootstrap translation of idol. |
| 22 |
Note that the translation scripts cannot automatically remove .icn files, |
| 23 |
so you may have to remove them manually if your disk space is precious. |
| 24 |
|
| 25 |
VMS |
| 26 |
|
| 27 |
Idol compiles and runs under VMS Icon version 7.0, but its a little |
| 28 |
klunky; idol may fail to execute icont, or icont may fail to execute |
| 29 |
ilink (under version 7.0). Unfortunately I do not have access |
| 30 |
to a VMS machine running a current version of Icon. Note that there |
| 31 |
are two DCL scripts in the distribution: vms.com is used by Idol |
| 32 |
internally, while vmsidol.com is a convenience script if icont fails |
| 33 |
on your system when invoked from inside Idol. You are encouraged to |
| 34 |
rename vmsidol.com to idol.com; it is not named idol.com to avoid |
| 35 |
a nasty situation for MS-DOS users where .com files are assumed to |
| 36 |
be binary executables! Remember when specifying options to either idol |
| 37 |
or icont one must put quotes around the argument in order for VMS to |
| 38 |
leave it alone! |
| 39 |
|
| 40 |
OS/2 |
| 41 |
|
| 42 |
Cheyenne Wills has provided us all with an OS/2 system file! |
| 43 |
Although problems should be reported to me, the credit is all his. |
| 44 |
|
| 45 |
MPW |
| 46 |
|
| 47 |
Charles Lakos has provided a system file for Icon running under the |
| 48 |
Macintosh Programmer's Workshop. Icon source for class X is generated |
| 49 |
as C_X.icn. After the Idol translation phase, the commands for the |
| 50 |
Icon translation have been written to the MPW Worksheet. They can |
| 51 |
simply be selected and run. Thanks Charles! |
| 52 |
|
| 53 |
AMIGA |
| 54 |
|
| 55 |
Idol runs fairly comfortably on Version 8 of Amiga Icon (it won't work |
| 56 |
with Version 7.5 of Amiga Icon). |
| 57 |
|
| 58 |
MVS |
| 59 |
|
| 60 |
Alan Beale has ported Idol to IBM mainframes running MVS. This was a |
| 61 |
bigger job than most ports! Thanks Alan. |
| 62 |
|
| 63 |
OTHERS |
| 64 |
|
| 65 |
Porting idol consists of writing a new system.icn file for your system. |
| 66 |
Take a look at unix.icn, vms.icn, os2.icn, mpw.icn, and msdos.icn. |