annotate src/INSTALLvms.txt @ 36:125e80798a85 v7.0021

updated for version 7.0021
author vimboss
date Thu, 09 Dec 2004 21:34:53 +0000
parents 3fc0f57ecb91
children 53c36fa7dc29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 INSTALLvms.txt - Installation of Vim on OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 Maintainer: Zoltan Arpadffy <arpadffy@polarfox.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 Last change: 2003 May 04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 This file contains instructions for compiling Vim on Openvms.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 If you already have an executable version of Vim, you don't need this.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 If you skip settings described here, then you will get the default Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 behavior as it is documented, which should be fine for most users.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 The file "feature.h" can be edited to match your preferences, but this files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 does not describe possibilities hidden in feature.h acrobatics, however
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 parameters from MAKE_VMS.MMS actively uses and sets up parameters in relation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 with feature.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 More information and case analysis you can found in os_vms.txt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ([runtime.doc]os_vms.txt or :help vms from vim prompt)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Contents:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 1. Download files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 2. Configuration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 3. Compilation DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 4. Compilation VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 5. CTAGS, XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 6. Deployment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 7. GTK and other features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 8. Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 9. Authors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 1. Download files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 1.1. Visit the Vim ftp site (see ftp://ftp.vim.org/pub/vim/MIRRORS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 and obtain the following three files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 unix/vim-X.X-src.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 unix/vim-X.X-rt.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 extra/vim-X.X-extra.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 where X.X is the version number.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 1.2. Expand the three archives.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 1.3. Apply patches if they exist. (Patch files are found in the ftp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 site in the "patches" directory.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 1.4. You will need either the DECSET mms utility or the freely available clone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 of it called mmk (VMS has no make utility in the standard distribution).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 You can download mmk from http://www.openvms.digital.com/freeware/MMK/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 1.5. If you want to have Perl, Python or Tcl support in Vim you will need VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 distributions for them as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 1.6 If you want to have GTK executable, you need to have properly installed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 GTK libraries.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 NOTE: procedure in chapter 1 describes source code preparation from multi OS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 code,however it is available OpenVMS oprimized (and tested) source code from:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ftp://ftp.polarhome.com/pub/vim/source/vms/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 Current OpenVMS source code as .zip or .tar.gz file is possible to download
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 2. Configuration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 2.1. Edit vim-X.X/src/feature.h for your preference. (You can skip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 this, then you will get the default behavior as is documented,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 which should be fine for most people.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 For example, if you want to add the MULTI_BYTE feature, turn on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 #define MULTI_BYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 2.2 Edit vim-X.X/src/Make_vms.mms to customize your Vim. Options are:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 Parameter name : MODEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 Description : Build model selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 Options: : TINY - Almost no features enabled, not even
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 multiple windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 SMALL - Few features enabled, as basic as possible
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 NORMAL - A default selection of features enabled
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 BIG - Many features enabled, as rich as possible.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 (OpenVMS default)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 HUGE - All possible featues enabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 Uncommented - will default to BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 Default : MODEL = BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 Parameter name : GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 Description : GUI or terminal mode executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 Options: : YES - GUI executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 Uncommented - char only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 Default : GUI = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 Parameter name : GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Description : Enable GTK in GUI mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 It enables features as toolbar etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 Options: : YES - GTK executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 Uncommented - without GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 Parameter name : DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 Description : Compiler selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 Options: : YES - DECC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 Uncommented - VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 Default : DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 Parameter name : CCVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 Description : Compiler version with :ver command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 Options: : YES - Compiler version info will be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 Uncommented - will not be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 Default : CCVER = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Parameter name : DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 Description : Building a debug version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Options: : YES - debug version will be built
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Uncommented - building normal executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 Parameter name : VIM_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 Description : Add Tcl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 Parameter name : VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 Description : Add Perl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 Parameter name : VIM_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 Description : Add Python support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 Parameter name : VIM_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 Description : X Input Method. For entering special languages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 like chinese and Japanese. Please define just
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 Parameter name : VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 Description : Internal Hangul input method. GUI only.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 Please define just one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 Parameter name : VIM_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 Description : Allow any white space to separate the fields in a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 tags file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 When not defined, only a TAB is allowed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 You can edit the *_INC and *_LIB qualifiers, but it is really
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 not recommended for beginners.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 3. Compilation DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 3.1. If you have MSS on your system, the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 mms /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 will start building your own customized version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 The adequate command for mmk is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 mmk /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 NOTE: Because of empty /auto/config.h (needed for Unix configure) build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 will fail with very strange messages. Therefore before building, it is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 recommended to make one clean up, to prepare everything for OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 development. The command is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 mms /descrip=Make_vms.mms clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 4. Compilation VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 4.1. VAXC compiler is not fully ANSI C compatible in pre-processor directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 semantics, therefore you have to use a converter program what will do the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 lion part of the job.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 @os_vms_fix.com *.c *.h <.proto>*.pro
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 more information can be found in os_vms_fix.com file itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 NOTE: even if os_vms_fix.com will fix all pre-processor directives it will
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 leave singe (long) line directives. You have to fix them manually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 Known problematic files are option.h and option.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 4.2. After the conversion you can continue building as it has been described
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 above.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 5. CTAGS, XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 5.1. MMS_VIM.EXE is building together with VIM.EXE, but for CTAGS.EXE and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 XXD.EXE you should change to subdirectory <.CTAGS> or <.XXD> and build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 them separately.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 5.2. In these directories you can found one make file for VMS as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 Please read the detailed build instructions in the related *.MMS file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 6. Deployment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 6.1. Copy over all executables to the deployment directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 6.2. Vim uses a special directory structure to hold the document and runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 vim (or wherever)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 |-- doc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 |-- syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 vimrc (system rc files)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 gvimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 6.3 Define logicals VIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 define/nolog VIM device:[leading-path-here.vim]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 to get vim.exe to find its document, filetype, and syntax files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 Now, if you are lucky you should have one own built, customized and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 working Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 7. GTK and other features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 7.1 General notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 To be able to build external GUI or language support wyo have to enable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 related feature in MAKE_VMS.MMS file. Usually it need some extra tuning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 around include files, shared libraries etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 Please note, that leading "," are valuable for MMS/MMK syntax.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 MAKE_VMS.MMS uses defines as described below:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 7.1.1 feature_DEF = ,"SOME_FEATURE"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 Submits definition to compiler preprocessor to enable code blocks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 defined with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 #ifdef SOME_FEATURE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 {some code here}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 Example: TCL_DEF = ,"FEAT_TCL"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 7.1.2 feature_SRC = code1.c code2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 Defines source code related with particular feature.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 Example: TCL_SRC = if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 7.1.3 feature_OBJ = code1.obj code2.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 Lists objects created from source codes listed in feature_SRC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 Example: PERL_OBJ = if_perlsfio.obj if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 7.1.4 feature_LIB = ,OS_VMS_TCL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 Defines the libraries that have to be used for build.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 If it is an OPT file then MAKE_VMS.MMS creates OPT files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 in gen_feature procedure.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 Example:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 PERL_LIB = ,OS_VMS_PERL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 .IFDEF VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 -@ write sys$output "creating OS_VMS_PERL.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 -@ open/write opt_file OS_VMS_PERL.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 -@ write opt_file "PERLSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 7.1.5 feature_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 Defines the directory where the necessary include files are.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 Example: TCL_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 7.2 GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 To build VIM with GTK you have to install GTK on your OpenVMS.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 So far it works just on Alphas. More information at:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 http://www.openvms.compaq.com/openvms/products/ips/gtk.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 You need also the OpenVMS Porting Library:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 http://www.openvms.compaq.com/openvms/products/ips/porting.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 Enable GTK in make_vms.mms file with GTK = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 Define GTK_ROOT that points to your GTK root directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 Build it as normally.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 Used sharable images are:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 gtk_root:[glib]libglib.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 gtk_root:[glib.gmodule]libgmodule.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 gtk_root:[gtk.gdk]libgdk.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 gtk_root:[gtk.gtk]libgtk.exe /share
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 During runtime it is suggested to have all these files installed and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 copyed to SYS$LIBRARY: to be able to use it without problems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 Also VMS_JACKETS.EXE from OpenVMS Porting Library.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 complier directives that is not compatible with "standard" VMS usage,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 therefore other external features might fail as PERL, PYTHON and TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 7.3 PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 You have to install OpenVMS perl package from:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 http://www.openvms.compaq.com/openvms/products/ips/apache/csws_perl_relnotes.html or build on your own from sources downloaded from http://www.perl.org
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 You need defined PERLSHR logical that points to PERL shareable image
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 (or you can just copy over to SYS$LIBRARY:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 Enable Perl feature at make_vms.mms with VIM_PERL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 Edit PERL_INC = to point to perl includes directory where is extern.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 7.4 PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 You have to install an OpenVMS python package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 Set up the normal Python work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 You have to have defined PYTHON_INCLUDE and PYTHON_OLB logicals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 PYTHON_INCLUDE should point to Python include files where for ex:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 python.h is located.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 Enable Python feature at make_vms.mms with VIM_PYTHON = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 7.5 TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 You have to install an OpenVMS TCL package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 Set up the normal TCL work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 You have to have defined TCLSHR logical that points to shareable image.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 Enable TCL feature at make_vms.mms with VIM_TCL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 Edit TCL_INC = to point to TCL includes directory where is tcl.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 8. Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 8.1. New Compaq C compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 If you are using Compaq C compiler V6.2 or newer, Informational messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 of the type QUESTCOMPARE will be displayed. You should ignore those
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 messages ; they are generated only because some test comparisons are done
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 with variables which type vary depending on the OS. Under VMS, those are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 "unsigned" and the compiler issue a message whenever the comparison is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 done with '<=' to 0. However, the code is correct and will behave as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 expected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 ( Jerome Lauret <JLAURET@mail.chem.sunysb.edu> Vim 6.0n )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 NOTE: from version 6.0ad Vim code has been reviewed and these warnings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 have been corrected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 9. Authors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 Initial version, 2000 Jul 19, Zoltan Arpadffy <arpadffy@polarfox.com>