Mercurial > vim
view src/INSTALLmac.txt @ 24196:1040b294bfd3 v8.2.2639
patch 8.2.2639: build failure when fsync() is not available
Commit: https://github.com/vim/vim/commit/5ea79a2599d35f75e1ae8a75d2711c754c4cb7c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 16:45:35 2021 +0100
patch 8.2.2639: build failure when fsync() is not available
Problem: Build failure when fsync() is not available.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 17:00:03 +0100 |
parents | fab58304f77d |
children | 9f41bfdbc6fc |
line wrap: on
line source
INSTALLmac.txt - Installation of Vim on Macintosh This file contains instructions for compiling Vim. If you already have an executable version of Vim, you don't need this. First, make sure you've installed Xcode or CommandLineTools. If not, open a terminal and do $ make --version A window pops up instructing you to install the developer tools. ---------------------------------------------------------------------------- Summary ---------------------------------------------------------------------------- 1 MacOS X 1.1. Terminal version 1.2. X (Athena, GTK, Motif) or plain text. MacOS Classic is no longer supported. If you really want it use Vim 6.4. ---------------------------------------------------------------------------- 1 MacOS X ---------------------------------------------------------------------------- 1.0 Considerations Only '/' is supported as path separator. 1.1 Terminal version (default) You can compile vim with the standard Unix routine: cd .../src make make test sudo make install You need at least Xcode 1.5. To overrule the architecture do this before running make: ./configure --with-mac-arch=intel or ./configure --with-mac-arch=ppc 1.2 X-Windows You must explicitly tell configure to use a GUI. cd .../src ./configure --disable-darwin --enable-gui=gtk2 make; make install NOTE: The following GUI options are possible (but might not work): no (for terminal only), motif, athena, nextaw gtk, gtk2, gnome, gnome2, NOTE: You need to first install XFree86 and XDarwin. Please visit http://www.XDarwin.org ------------------------------------------------------