annotate nextstep/INSTALL @ 101886:60d716da7ee7

(url-temporary-directory): Mark as obsolete.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 07 Feb 2009 21:22:03 +0000
parents afc4e413cca5
children fc3f7f3a49fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100955
afc4e413cca5 Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 96771
diff changeset
1 Copyright (C) 2008, 2009 Free Software Foundation, Inc.
96771
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
2 See the end of the file for license conditions.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
3
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
4
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
5 Compilation
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
6 -----------
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
7
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
8 In the top-level directory, use:
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
9
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
10 ./configure --with-ns
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
11 make -j2
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
12
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
13 Make the -j higher on multi-core systems, usually one higher than number of
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
14 cores is best.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
15
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
16 This will compile all the files, but emacs will not be able to be run except
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
17 in -nw (terminal) mode.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
18
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
19 In order to run Emacs.app, you must run:
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
20
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
21 make install
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
22
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
23 This will assemble the app in nextstep/Emacs.app.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
24
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
25 If you pass the --disable-ns-self-contained option to configure, the lisp
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
26 files will be installed under whatever 'prefix' is set to (defaults to
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
27 /usr/local). The bundle will be smaller, but depend on these resources (may
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
28 require 'sudo' for "make install").
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
29
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
30 On OS X you can also open Cocoa/Emacs.xcodeproj and build it again there. You
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
31 may need to set some directories. (Note, ZeroLink currently does not work
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
32 with Emacs owing to the use of private_extern in the code as well as some
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
33 other, unidentifiable problem.) Before doing this you must run "make install"
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
34 once as outlined above, to set up the lisp resources.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
35
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
36 On GNUstep, you CAN'T use ProjectCenter, since PC cannot work with files
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
37 outside of its project directory.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
38
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
39
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
40 Installation
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
41 ------------
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
42
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
43 Move nextstep/Emacs.app to any desired install location.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
44
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
45
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
46 Distributions and Universal Binaries
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
47 ------------------------------------
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
48
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
49 Building as outlined above will create ordinary binaries running on your
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
50 architecture only. To create universal binaries, set CFLAGS to include
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
51 "-arch ppc -arch i386".
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
52
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
53
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
54 Improve Ctrl-G Handling
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
55 -----------------------
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
56
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
57 To enable a version of the code that handles ctrl-g more responsively in
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
58 certain cases -- but may introduce other glitches -- pass
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
59 "--enable-cocoa-experimental-ctrl-g" to configure.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
60
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
61
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
62
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
63
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
64 This file is part of GNU Emacs.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
65
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
66 GNU Emacs is free software: you can redistribute it and/or modify
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
67 it under the terms of the GNU General Public License as published by
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
68 the Free Software Foundation, either version 3 of the License, or
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
69 (at your option) any later version.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
70
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
71 GNU Emacs is distributed in the hope that it will be useful,
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
72 but WITHOUT ANY WARRANTY; without even the implied warranty of
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
73 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
74 GNU General Public License for more details.
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
75
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
76 You should have received a copy of the GNU General Public License
d92ec7333164 make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff changeset
77 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.