Merge from emacs-24; up to 2012-04-24T21:47:24Z!michael.albinus@gmx.de
[bpt/emacs.git] / nextstep / INSTALL
1 Copyright (C) 2008-2012 Free Software Foundation, Inc.
2 See the end of the file for license conditions.
3
4
5 Compilation
6 -----------
7
8 In the top-level directory, use:
9
10 ./configure --with-ns
11
12 This will compile all the files, but emacs will not be able to be run except
13 in -nw (terminal) mode.
14
15 In order to run Emacs.app, you must run:
16
17 make install
18
19 This will assemble the app in nextstep/Emacs.app (i.e., the --prefix
20 argument has no effect in this case).
21
22 If you pass the --disable-ns-self-contained option to configure, the lisp
23 files will be installed under whatever 'prefix' is set to (defaults to
24 /usr/local). The bundle will be smaller, but depend on these resources (may
25 require 'sudo' for "make install").
26
27
28 Installation
29 ------------
30
31 Move nextstep/Emacs.app to any desired install location.
32
33
34 Distributions and Universal Binaries
35 ------------------------------------
36
37 Building as outlined above will create ordinary binaries running on your
38 architecture only. To create universal binaries, set CFLAGS to include
39 "-arch ppc -arch i386".
40
41 \f
42 This file is part of GNU Emacs.
43
44 GNU Emacs is free software: you can redistribute it and/or modify
45 it under the terms of the GNU General Public License as published by
46 the Free Software Foundation, either version 3 of the License, or
47 (at your option) any later version.
48
49 GNU Emacs is distributed in the hope that it will be useful,
50 but WITHOUT ANY WARRANTY; without even the implied warranty of
51 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52 GNU General Public License for more details.
53
54 You should have received a copy of the GNU General Public License
55 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.