comparison nextstep/INSTALL @ 103242:e0d2d5addcbf

* Cocoa/Emacs.xcodeproj/project.pbxproj: Update and redo targets to utilize Makefiles for assembly portions of the build. * INSTALL: Describe the Xcode project.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 18 May 2009 07:56:09 +0000
parents fc3f7f3a49fc
children 1d1d5d9bd884
comparison
equal deleted inserted replaced
103241:059a04a8ce32 103242:e0d2d5addcbf
21 If you pass the --disable-ns-self-contained option to configure, the lisp 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 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 23 /usr/local). The bundle will be smaller, but depend on these resources (may
24 require 'sudo' for "make install"). 24 require 'sudo' for "make install").
25 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 26
36 Installation 27 Installation
37 ------------ 28 ------------
38 29
39 Move nextstep/Emacs.app to any desired install location. 30 Move nextstep/Emacs.app to any desired install location.
31
32
33 Xcode
34 -----
35
36 On OS X Emacs can be built under Xcode. You need to run "configure"
37 as described above first. There are two targets: 'temacs' and 'Emacs.app'.
38
39 'temacs' will build the undumped emacs executable, and copy it and the
40 *.o files to the src directory. These steps are necessary so the next target
41 works.
42
43 'Emacs.app' uses "Run Script" build phases to assemble the Emacs.app bundle.
44 It uses the 'ns-app' target in src/Makefile together with the 'install' target
45 in the top level Makefile.
46
47 The source files under the temacs target must list "pre-crt0" first
48 and "lastfile" last, so that dumping works.
49
50 (Note, under GNUstep, you CAN'T use ProjectCenter, since PC cannot work
51 with files outside of its project directory.)
40 52
41 53
42 Distributions and Universal Binaries 54 Distributions and Universal Binaries
43 ------------------------------------ 55 ------------------------------------
44 56