view src/INSTALLmac.txt @ 22041:f55cba26348f v8.2.1570

patch 8.2.1570: configure check for dirfd() does not work on HPUX Commit: https://github.com/vim/vim/commit/9d8bfae50fdaf5f5ec6307c60ebd1fad0927c6be Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 2 21:21:35 2020 +0200 patch 8.2.1570: configure check for dirfd() does not work on HPUX Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes https://github.com/vim/vim/issues/6838)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Sep 2020 21:30:03 +0200
parents 35921b7fc07a
children fab58304f77d
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 CommandLineToots.  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

------------------------------------------------------