Mercurial > vim
annotate src/INSTALLmac.txt @ 20324:23188ef99fc2 v8.2.0717
patch 8.2.0717: Vim9: postponed constant expressions does not scale
Commit: https://github.com/vim/vim/commit/7d131b071539e73e4f8a1e6ffbb4d7bfc69a57ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 8 19:10:34 2020 +0200
patch 8.2.0717: Vim9: postponed constant expressions does not scale
Problem: Vim9: postponed constant expressions does not scale.
Solution: Add a structure to pass around postponed constants.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 May 2020 19:15:03 +0200 |
parents | 52d76b2f56c7 |
children | 35921b7fc07a |
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 | |
19 1.1. Carbon interface | |
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 | |
30 Only '/' supported as path separator. | |
31 | |
32 1.1 Carbon interface (default) | |
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 |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
40 "make" will create a working Vim.app application bundle in the src |
7 | 41 directory. You can move this bundle (the Vim.app directory) anywhere |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
42 you want. Or use "make install" to move it to /Applications. |
7 | 43 |
674 | 44 You need at least Xcode 1.5 to compile Vim 7.0. |
45 | |
699 | 46 Configure will create a universal binary if possible. This requires |
47 installing the universal SDK (currently for 10.4). | |
48 | |
49 To overrule the architecture do this before running make: | |
50 | |
856 | 51 ./configure --with-mac-arch=intel |
699 | 52 or |
856 | 53 ./configure --with-mac-arch=ppc |
699 | 54 |
674 | 55 |
7 | 56 1.2 X-Windows or Plain Text |
57 | |
58 If you do not want the Carbon interface, you must explicitly tell | |
59 configure to use a different GUI. | |
60 | |
699 | 61 cd .../src |
674 | 62 ./configure --disable-darwin --enable-gui=gtk2 |
7 | 63 make; make install |
64 | |
65 NOTE: The following GUI options are supported: | |
66 no (for text), motif, athena, nextaw | |
67 gtk, gtk2, gnome, gnome2, | |
68 | |
69 NOTE: You need to first install XFree86 and XDarwin. | |
70 Please visit http://www.XDarwin.org | |
71 | |
72 ------------------------------------------------------ |