Commit | Line | Data |
---|---|---|
f5d0ac07 | 1 | Copyright (C) 2008, 2009 Free Software Foundation, Inc. |
4537179d AR |
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 | |
4537179d AR |
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 | On OS X you can also open Cocoa/Emacs.xcodeproj and build it again there. You | |
27 | may need to set some directories. (Note, ZeroLink currently does not work | |
28 | with Emacs owing to the use of private_extern in the code as well as some | |
29 | other, unidentifiable problem.) Before doing this you must run "make install" | |
30 | once as outlined above, to set up the lisp resources. | |
31 | ||
32 | On GNUstep, you CAN'T use ProjectCenter, since PC cannot work with files | |
33 | outside of its project directory. | |
34 | ||
35 | ||
36 | Installation | |
37 | ------------ | |
38 | ||
39 | Move nextstep/Emacs.app to any desired install location. | |
40 | ||
41 | ||
42 | Distributions and Universal Binaries | |
43 | ------------------------------------ | |
44 | ||
45 | Building as outlined above will create ordinary binaries running on your | |
46 | architecture only. To create universal binaries, set CFLAGS to include | |
47 | "-arch ppc -arch i386". | |
48 | ||
4537179d AR |
49 | \f |
50 | This file is part of GNU Emacs. | |
51 | ||
52 | GNU Emacs is free software: you can redistribute it and/or modify | |
53 | it under the terms of the GNU General Public License as published by | |
54 | the Free Software Foundation, either version 3 of the License, or | |
55 | (at your option) any later version. | |
56 | ||
57 | GNU Emacs is distributed in the hope that it will be useful, | |
58 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
59 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
60 | GNU General Public License for more details. | |
61 | ||
62 | You should have received a copy of the GNU General Public License | |
63 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |