7
|
1 INSTALLmac.txt - Installation of Vim on Macintosh
|
|
2
|
|
3 This file contains instructions for compiling Vim. If you already have an
|
|
4 executable version of Vim, you don't need this.
|
|
5
|
|
6 An alternate way of building that Benji Fisher uses can be found here:
|
|
7
|
|
8 http://macvim.swdev.org/OSX/#Developers
|
|
9
|
|
10 ----------------------------------------------------------------------------
|
|
11 Summary
|
|
12 ----------------------------------------------------------------------------
|
|
13
|
|
14 1 MacOS X
|
|
15 1.1. Carbon interface
|
|
16 1.2. X (Athena, GTK, Motif) or plain text.
|
|
17
|
574
|
18 MacOS Classic is no longer supported. If you really want it use Vim 6.4.
|
7
|
19
|
|
20 ----------------------------------------------------------------------------
|
|
21 1 MacOS X
|
|
22 ----------------------------------------------------------------------------
|
|
23
|
|
24 1.0 Considerations
|
|
25
|
|
26 Only '/' supported as path separator.
|
|
27
|
|
28 1.1 Carbon interface (default)
|
|
29
|
|
30 You can compile vim with the standard Unix routine:
|
699
|
31 cd .../src
|
|
32 make
|
7
|
33
|
|
34 This will create a working Vim.app application bundle in the src
|
|
35 directory. You can move this bundle (the Vim.app directory) anywhere
|
699
|
36 you want. Or use this command to move it to /Applications:
|
|
37 make install
|
7
|
38
|
674
|
39 You need at least Xcode 1.5 to compile Vim 7.0.
|
|
40
|
699
|
41 Configure will create a universal binary if possible. This requires
|
|
42 installing the universal SDK (currently for 10.4).
|
|
43
|
|
44 To overrule the architecture do this before running make:
|
|
45
|
856
|
46 ./configure --with-mac-arch=intel
|
699
|
47 or
|
856
|
48 ./configure --with-mac-arch=ppc
|
699
|
49
|
674
|
50
|
7
|
51 1.2 X-Windows or Plain Text
|
|
52
|
|
53 If you do not want the Carbon interface, you must explicitly tell
|
|
54 configure to use a different GUI.
|
|
55
|
699
|
56 cd .../src
|
674
|
57 ./configure --disable-darwin --enable-gui=gtk2
|
7
|
58 make; make install
|
|
59
|
|
60 NOTE: The following GUI options are supported:
|
|
61 no (for text), motif, athena, nextaw
|
|
62 gtk, gtk2, gnome, gnome2,
|
|
63
|
|
64 NOTE: You need to first install XFree86 and XDarwin.
|
|
65 Please visit http://www.XDarwin.org
|
|
66
|
|
67 ------------------------------------------------------
|