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