|
|
1.1 ! root 1: .bp ! 2: .sh 1 "Installing the Interpress Toolkit on VAX/VMS" ! 3: .lp ! 4: The library and some of the utilities of the Toolkit run under VAX/VMS ! 5: using the VMS VAX-11 C compiler. Since there isn't a standard system ! 6: for spooling \*(IP file on VMS, the print program is called directly. ! 7: .lp ! 8: The following instructions describe ! 9: the files which can be moved and the compile and link order. ! 10: .lp ! 11: [include] ! 12: .RS ! 13: .lp ! 14: all .h files ! 15: .RE ! 16: .lp ! 17: [libip] ! 18: .RS ! 19: .ip "literal.c" 20 ! 20: - cc literal.c ! 21: .ip "operator.c" 20 ! 22: - cc operator.c ! 23: .RE ! 24: .lp ! 25: [charset] ! 26: .RS ! 27: .ip "charset.c" 20 ! 28: - cc charset.c ! 29: .br ! 30: link charset,[libip]literal,[libip]operator ! 31: .RE ! 32: .lp ! 33: [ipfe] ! 34: .RS ! 35: .ip "ipfe.c" 20 ! 36: - cc ipfe.c ! 37: .br ! 38: link ipf ! 39: .RE ! 40: .lp ! 41: [iptotext] ! 42: .RS ! 43: .ip "iptotext.c" 20 ! 44: - cc iptotext.c ! 45: .br ! 46: link iptotext ! 47: .RE ! 48: .lp ! 49: [maha] ! 50: .RS ! 51: .ip "maha.c" 20 ! 52: - cc maha.c ! 53: .br ! 54: - link maha,[libip]literal,[libip]operator ! 55: .sp ! 56: (NOTE: Like the UNIX version of maha, the output file ! 57: is spooled directly to the printer. This section ! 58: of code will have to be modified depending upon ! 59: your own requirements. ! 60: The VMS symbol MAHAENV has been substituted for ! 61: the UNIX environment variable MAHA due to ! 62: restrictions in VMS symbol names. This symbol ! 63: can be used to store commonly used command ! 64: line arguments.) ! 65: .RE ! 66: .lp ! 67: [texttoip] ! 68: .RS ! 69: .ip "textlex.c" 20 ! 70: - cc textlex.c ! 71: .sp ! 72: (NOTE: This is the output from running lex on textlex.l. ! 73: It is necessary to modify this file for VMS ! 74: as described in the file textlex.c) ! 75: .ip "texttoip.c" 20 ! 76: - cc texttoip.c ! 77: .br ! 78: link texttoip,textlex,[libip]literal ! 79: .RE ! 80: .lp ! 81: The resulting executables can be run by establishing VMS symbols as follows: ! 82: .(l ! 83: charset == "$dev:[dir]charset.exe" ! 84: iptotext == "$dev:[dir]iptotext.exe" ! 85: maha == "$dev:[dir]maha.exe" ! 86: texttoip == "$dev:[dir]texttoip.exe" ! 87: .)l ! 88: Following this, the utilities can be invoked identically ! 89: to their UNIX counterparts.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.