Merge from emacs-24 branch
[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.
20
21 If you pass the --disable-ns-self-contained option to configure, the lisp
22 files will be installed under whatever 'prefix' is set to (defaults to
23 /usr/local). The bundle will be smaller, but depend on these resources (may
24 require 'sudo' for "make install").
25
26
27 Installation
28 ------------
29
30 Move nextstep/Emacs.app to any desired install location.
31
32
33 Distributions and Universal Binaries
34 ------------------------------------
35
36 Building as outlined above will create ordinary binaries running on your
37 architecture only. To create universal binaries, set CFLAGS to include
38 "-arch ppc -arch i386".
39
40 \f
41 This file is part of GNU Emacs.
42
43 GNU Emacs is free software: you can redistribute it and/or modify
44 it under the terms of the GNU General Public License as published by
45 the Free Software Foundation, either version 3 of the License, or
46 (at your option) any later version.
47
48 GNU Emacs is distributed in the hope that it will be useful,
49 but WITHOUT ANY WARRANTY; without even the implied warranty of
50 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 GNU General Public License for more details.
52
53 You should have received a copy of the GNU General Public License
54 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.