annotate src/INSTALLmac.txt @ 19669:c4062bd1ff4f v8.2.0391

patch 8.2.0391: CI test coverage dropped Commit: https://github.com/vim/vim/commit/b2e1f8a28fab71c7ef38d39226967be8c3559590 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 16 12:09:30 2020 +0100 patch 8.2.0391: CI test coverage dropped Problem: CI test coverage dropped. Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes https://github.com/vim/vim/issues/5788)
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Mar 2020 12:15:04 +0100
parents 52d76b2f56c7
children 35921b7fc07a
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 INSTALLmac.txt - Installation of Vim on Macintosh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 This file contains instructions for compiling Vim. If you already have an
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 executable version of Vim, you don't need this.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 Summary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 1 MacOS X
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 1.1. Carbon interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 1.2. X (Athena, GTK, Motif) or plain text.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
574
25a70b1cd2da updated for version 7.0163
vimboss
parents: 7
diff changeset
22 MacOS Classic is no longer supported. If you really want it use Vim 6.4.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 1 MacOS X
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 1.0 Considerations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 Only '/' supported as path separator.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 1.1 Carbon interface (default)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 You can compile vim with the standard Unix routine:
699
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
35 cd .../src
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
674
4b8583e82cb8 updated for version 7.0201
vimboss
parents: 574
diff changeset
44 You need at least Xcode 1.5 to compile Vim 7.0.
4b8583e82cb8 updated for version 7.0201
vimboss
parents: 574
diff changeset
45
699
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
46 Configure will create a universal binary if possible. This requires
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
47 installing the universal SDK (currently for 10.4).
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
48
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
49 To overrule the architecture do this before running make:
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
50
856
8cd729851562 updated for version 7.0g
vimboss
parents: 699
diff changeset
51 ./configure --with-mac-arch=intel
699
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
52 or
856
8cd729851562 updated for version 7.0g
vimboss
parents: 699
diff changeset
53 ./configure --with-mac-arch=ppc
699
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
54
674
4b8583e82cb8 updated for version 7.0201
vimboss
parents: 574
diff changeset
55
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 1.2 X-Windows or Plain Text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 If you do not want the Carbon interface, you must explicitly tell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 configure to use a different GUI.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
699
2af8de31a3a8 updated for version 7.0211
vimboss
parents: 674
diff changeset
61 cd .../src
674
4b8583e82cb8 updated for version 7.0201
vimboss
parents: 574
diff changeset
62 ./configure --disable-darwin --enable-gui=gtk2
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 make; make install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 NOTE: The following GUI options are supported:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 no (for text), motif, athena, nextaw
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 gtk, gtk2, gnome, gnome2,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 NOTE: You need to first install XFree86 and XDarwin.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 Please visit http://www.XDarwin.org
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 ------------------------------------------------------