annotate src/INSTALLvms.txt @ 14442:6ae689a04195

Added tag v8.1.0234 for changeset 2d6703d4448a48789029f91660d21cc30ec29df1
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Aug 2018 22:00:07 +0200
parents 04736b4030ec
children 6d11fc4aa683
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
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
3 Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1188
diff changeset
4 Last change: 2008 Jan 06
7
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
1188
2a276274c592 updated for version 7.1b
vimboss
parents: 856
diff changeset
59 code, however it is available OpenVMS optimized (and tested) source code from:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ftp://ftp.polarhome.com/pub/vim/source/vms/
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
61 (http://www.polarhome.com/vim/files/source/vms/)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 Current OpenVMS source code as .zip or .tar.gz file is possible to download
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
65 (http://www.polarhome.com/cvs/SOURCE/)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 2. Configuration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 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
70 this, then you will get the default behavior as is documented,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 which should be fine for most people.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 For example, if you want to add the MULTI_BYTE feature, turn on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 #define MULTI_BYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 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
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 Parameter name : MODEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 Description : Build model selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 Options: : TINY - Almost no features enabled, not even
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 multiple windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 SMALL - Few features enabled, as basic as possible
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 NORMAL - A default selection of features enabled
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 BIG - Many features enabled, as rich as possible.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 (OpenVMS default)
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1188
diff changeset
86 HUGE - All possible features enabled.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 Uncommented - will default to BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 Default : MODEL = BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 Parameter name : GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 Description : GUI or terminal mode executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 Options: : YES - GUI executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 Uncommented - char only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 Default : GUI = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Parameter name : GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 Description : Enable GTK in GUI mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 It enables features as toolbar etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 Options: : YES - GTK executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Uncommented - without GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
103 Parameter name : XPM
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
104 Description : Enable XPM libraries in GUI/Motif mode.
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
105 It enables features as toolbar etc.
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
106 Options: : YES - GUI executable
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
107 Uncommented - without XPM
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
108 Default : Uncommented
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
109
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 Parameter name : DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 Description : Compiler selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 Options: : YES - DECC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 Uncommented - VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Default : DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Parameter name : CCVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Description : Compiler version with :ver command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 Options: : YES - Compiler version info will be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 Uncommented - will not be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 Default : CCVER = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 Parameter name : DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 Description : Building a debug version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 Options: : YES - debug version will be built
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 Uncommented - building normal executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 Parameter name : VIM_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 Description : Add Tcl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 Parameter name : VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 Description : Add Perl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 Parameter name : VIM_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 Description : Add Python support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 Parameter name : VIM_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 Description : X Input Method. For entering special languages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 like chinese and Japanese. Please define just
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 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_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 Description : Internal Hangul input method. GUI only.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 Please define just one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 Parameter name : VIM_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 Description : Allow any white space to separate the fields in a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 tags file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 When not defined, only a TAB is allowed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 You can edit the *_INC and *_LIB qualifiers, but it is really
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 not recommended for beginners.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 3. Compilation DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 3.1. If you have MSS on your system, the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 mms /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 will start building your own customized version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 The adequate command for mmk is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 mmk /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 NOTE: Because of empty /auto/config.h (needed for Unix configure) build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 will fail with very strange messages. Therefore before building, it is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 recommended to make one clean up, to prepare everything for OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 development. The command is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 mms /descrip=Make_vms.mms clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 4. Compilation VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 4.1. VAXC compiler is not fully ANSI C compatible in pre-processor directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 semantics, therefore you have to use a converter program what will do the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 lion part of the job.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 @os_vms_fix.com *.c *.h <.proto>*.pro
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 more information can be found in os_vms_fix.com file itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 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
201 leave singe (long) line directives. You have to fix them manually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 Known problematic files are option.h and option.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 4.2. After the conversion you can continue building as it has been described
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 above.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 5. CTAGS, XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 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
210 XXD.EXE you should change to subdirectory <.CTAGS> or <.XXD> and build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 them separately.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 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
214 Please read the detailed build instructions in the related *.MMS file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 6. Deployment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 6.1. Copy over all executables to the deployment directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 6.2. Vim uses a special directory structure to hold the document and runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 vim (or wherever)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 |-- doc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 |-- syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 vimrc (system rc files)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 gvimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 6.3 Define logicals VIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 define/nolog VIM device:[leading-path-here.vim]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 to get vim.exe to find its document, filetype, and syntax files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 Now, if you are lucky you should have one own built, customized and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 working Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 7. GTK and other features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 7.1 General notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
2453
1cd1c68045a2 Fix typos in README files. (Dominique Pelle)
Bram Moolenaar <bram@vim.org>
parents: 1619
diff changeset
242 To be able to build external GUI or language support you have to enable
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 related feature in MAKE_VMS.MMS file. Usually it need some extra tuning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 around include files, shared libraries etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 Please note, that leading "," are valuable for MMS/MMK syntax.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 MAKE_VMS.MMS uses defines as described below:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 7.1.1 feature_DEF = ,"SOME_FEATURE"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 Submits definition to compiler preprocessor to enable code blocks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 defined with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 #ifdef SOME_FEATURE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 {some code here}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 Example: TCL_DEF = ,"FEAT_TCL"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 7.1.2 feature_SRC = code1.c code2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 Defines source code related with particular feature.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 Example: TCL_SRC = if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 7.1.3 feature_OBJ = code1.obj code2.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 Lists objects created from source codes listed in feature_SRC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 Example: PERL_OBJ = if_perlsfio.obj if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 7.1.4 feature_LIB = ,OS_VMS_TCL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 Defines the libraries that have to be used for build.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 If it is an OPT file then MAKE_VMS.MMS creates OPT files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 in gen_feature procedure.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 Example:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 PERL_LIB = ,OS_VMS_PERL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 .IFDEF VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 -@ write sys$output "creating OS_VMS_PERL.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 -@ open/write opt_file OS_VMS_PERL.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 -@ write opt_file "PERLSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 7.1.5 feature_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 Defines the directory where the necessary include files are.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 Example: TCL_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 7.2 GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 To build VIM with GTK you have to install GTK on your OpenVMS.
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
300 So far it works just on Alpha and IA64. More information at:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 http://www.openvms.compaq.com/openvms/products/ips/gtk.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 You need also the OpenVMS Porting Library:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 http://www.openvms.compaq.com/openvms/products/ips/porting.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305
856
8cd729851562 updated for version 7.0g
vimboss
parents: 701
diff changeset
306 Source code for GTK and porting library that is used to build
701
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
307 VMS executables at polarhome.com are at
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
308 http://www.polarhome.com/vim/files/source/vms/
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
309
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 Enable GTK in make_vms.mms file with GTK = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 Define GTK_ROOT that points to your GTK root directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312
701
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
313 You will need to edit GTKDIR variable in order to point
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
314 to GTK header files and libraries.
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
315
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
316 GTK_DIR = ALPHA$DKA0:[GTK128.]
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
317
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
318 ".]" at the end is very important.
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
319
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 Build it as normally.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 Used sharable images are:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 gtk_root:[glib]libglib.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 gtk_root:[glib.gmodule]libgmodule.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 gtk_root:[gtk.gdk]libgdk.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 gtk_root:[gtk.gtk]libgtk.exe /share
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 During runtime it is suggested to have all these files installed and
1188
2a276274c592 updated for version 7.1b
vimboss
parents: 856
diff changeset
329 copied to SYS$LIBRARY: to be able to use it without problems.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 Also VMS_JACKETS.EXE from OpenVMS Porting Library.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 2453
diff changeset
333 compiler directives that is not compatible with "standard" VMS usage,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 therefore other external features might fail as PERL, PYTHON and TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 7.3 PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 You have to install OpenVMS perl package from:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 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
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 You need defined PERLSHR logical that points to PERL shareable image
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 (or you can just copy over to SYS$LIBRARY:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 Enable Perl feature at make_vms.mms with VIM_PERL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 Edit PERL_INC = to point to perl includes directory where is extern.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 7.4 PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 You have to install an OpenVMS python package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 Set up the normal Python work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 You have to have defined PYTHON_INCLUDE and PYTHON_OLB logicals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 PYTHON_INCLUDE should point to Python include files where for ex:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 python.h is located.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 Enable Python feature at make_vms.mms with VIM_PYTHON = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 7.5 TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 You have to install an OpenVMS TCL package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 Set up the normal TCL work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 You have to have defined TCLSHR logical that points to shareable image.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 Enable TCL feature at make_vms.mms with VIM_TCL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 Edit TCL_INC = to point to TCL includes directory where is tcl.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 Build as usually.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 8. Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 8.1. New Compaq C compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 If you are using Compaq C compiler V6.2 or newer, Informational messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 of the type QUESTCOMPARE will be displayed. You should ignore those
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 messages ; they are generated only because some test comparisons are done
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 with variables which type vary depending on the OS. Under VMS, those are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 "unsigned" and the compiler issue a message whenever the comparison is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 done with '<=' to 0. However, the code is correct and will behave as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 expected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 ( Jerome Lauret <JLAURET@mail.chem.sunysb.edu> Vim 6.0n )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 NOTE: from version 6.0ad Vim code has been reviewed and these warnings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 have been corrected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 9. Authors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
393 Initial version, 2000 Jul 19, Zoltan Arpadffy <arpadffy@polarhome.com>