xref: /vim-8.2.3635/src/INSTALLmac.txt (revision 097148e8)
1INSTALLmac.txt - Installation of Vim on Macintosh
2
3This file contains instructions for compiling Vim. If you already have an
4executable version of Vim, you don't need this.
5
6First, make sure you've installed Xcode or CommandLineToots.  If not, open a
7terminal and do
8
9	$ make --version
10
11A window pops up instructing you to install the developer tools.
12
13
14----------------------------------------------------------------------------
15Summary
16----------------------------------------------------------------------------
17
181 MacOS X
19 1.1. Terminal version
20 1.2. X (Athena, GTK, Motif) or plain text.
21
22MacOS Classic is no longer supported.  If you really want it use Vim 6.4.
23
24----------------------------------------------------------------------------
251 MacOS X
26----------------------------------------------------------------------------
27
281.0 Considerations
29
30 Only '/' is supported as path separator.
31
321.1 Terminal version (default)
33
34 You can compile vim with the standard Unix routine:
35   cd .../src
36   make
37   make test
38   sudo make install
39
40 You need at least Xcode 1.5.
41
42 To overrule the architecture do this before running make:
43
44	./configure --with-mac-arch=intel
45 or
46	./configure --with-mac-arch=ppc
47
48
491.2 X-Windows
50
51 You must explicitly tell configure to use a GUI.
52
53  cd .../src
54  ./configure --disable-darwin --enable-gui=gtk2
55  make; make install
56
57 NOTE: The following GUI options are possible (but might not work):
58	no (for terminal only), motif, athena, nextaw
59	gtk, gtk2, gnome, gnome2,
60
61 NOTE: You need to first install XFree86 and XDarwin.
62       Please visit http://www.XDarwin.org
63
64------------------------------------------------------
65