Mercurial > emacs
annotate nextstep/INSTALL @ 102288:254c772b313f
*** empty log message ***
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Thu, 26 Feb 2009 14:31:00 +0000 |
parents | fc3f7f3a49fc |
children | e0d2d5addcbf |
rev | line source |
---|---|
100955 | 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 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
12 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
|
13 in -nw (terminal) mode. |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
14 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
15 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
|
16 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
17 make install |
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 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
|
20 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
21 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
|
22 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
|
23 /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
|
24 require 'sudo' for "make install"). |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
25 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
26 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
|
27 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
|
28 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
|
29 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
|
30 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
|
31 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
32 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
|
33 outside of its project directory. |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
34 |
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 Installation |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
37 ------------ |
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 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
|
40 |
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 Distributions and Universal Binaries |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
43 ------------------------------------ |
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 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
|
46 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
|
47 "-arch ppc -arch i386". |
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 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
50 This file is part of GNU Emacs. |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
51 |
d92ec7333164
make more parallel to other platforms
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
diff
changeset
|
52 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
|
53 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
|
54 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
|
55 (at your option) any later version. |
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 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
|
58 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
|
59 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
|
60 GNU General Public License for more details. |
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 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
|
63 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |