Mercurial > vim
annotate src/INSTALLmac.txt @ 22809:b736ff223ecc
Added tag v8.2.1952 for changeset 96dbb61a54c2b0a29fa0c5061003927fb0fb47d2
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Nov 2020 13:45:05 +0100 |
parents | 35921b7fc07a |
children | fab58304f77d |
rev | line source |
---|---|
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 | |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
6 First, make sure you've installed Xcode or CommandLineToots. If not, open a |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
7 terminal and do |
7 | 8 |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
9 $ make --version |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
10 |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
11 A window pops up instructing you to install the developer tools. |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
12 |
7 | 13 |
14 ---------------------------------------------------------------------------- | |
15 Summary | |
16 ---------------------------------------------------------------------------- | |
17 | |
18 1 MacOS X | |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
19 1.1. Terminal version |
7 | 20 1.2. X (Athena, GTK, Motif) or plain text. |
21 | |
574 | 22 MacOS Classic is no longer supported. If you really want it use Vim 6.4. |
7 | 23 |
24 ---------------------------------------------------------------------------- | |
25 1 MacOS X | |
26 ---------------------------------------------------------------------------- | |
27 | |
28 1.0 Considerations | |
29 | |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
30 Only '/' is supported as path separator. |
7 | 31 |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
32 1.1 Terminal version (default) |
7 | 33 |
34 You can compile vim with the standard Unix routine: | |
699 | 35 cd .../src |
36 make | |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
37 make test |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
38 sudo make install |
7 | 39 |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
40 You need at least Xcode 1.5. |
699 | 41 |
42 To overrule the architecture do this before running make: | |
43 | |
856 | 44 ./configure --with-mac-arch=intel |
699 | 45 or |
856 | 46 ./configure --with-mac-arch=ppc |
699 | 47 |
674 | 48 |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
49 1.2 X-Windows |
7 | 50 |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
51 You must explicitly tell configure to use a GUI. |
7 | 52 |
699 | 53 cd .../src |
674 | 54 ./configure --disable-darwin --enable-gui=gtk2 |
7 | 55 make; make install |
56 | |
21745
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
57 NOTE: The following GUI options are possible (but might not work): |
35921b7fc07a
patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents:
7482
diff
changeset
|
58 no (for terminal only), motif, athena, nextaw |
7 | 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 ------------------------------------------------------ |