diff 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
line wrap: on
line diff
--- a/nextstep/INSTALL	Mon May 18 01:56:12 2009 +0000
+++ b/nextstep/INSTALL	Mon May 18 07:56:09 2009 +0000
@@ -23,15 +23,6 @@
 /usr/local).  The bundle will be smaller, but depend on these resources (may
 require 'sudo' for "make install").
 
-On OS X you can also open Cocoa/Emacs.xcodeproj and build it again there.  You
-may need to set some directories.  (Note, ZeroLink currently does not work
-with Emacs owing to the use of private_extern in the code as well as some
-other, unidentifiable problem.)  Before doing this you must run "make install"
-once as outlined above, to set up the lisp resources.
-
-On GNUstep, you CAN'T use ProjectCenter, since PC cannot work with files
-outside of its project directory.
-
 
 Installation
 ------------
@@ -39,6 +30,27 @@
 Move nextstep/Emacs.app to any desired install location.
 
 
+Xcode
+-----
+
+On OS X Emacs can be built under Xcode.  You need to run "configure"
+as described above first.  There are two targets: 'temacs' and 'Emacs.app'.
+
+'temacs' will build the undumped emacs executable, and copy it and the
+*.o files to the src directory.  These steps are necessary so the next target
+works.
+
+'Emacs.app' uses "Run Script" build phases to assemble the Emacs.app bundle.
+It uses the 'ns-app' target in src/Makefile together with the 'install' target
+in the top level Makefile.
+
+The source files under the temacs target must list "pre-crt0" first
+and "lastfile" last, so that dumping works.
+
+(Note, under GNUstep, you CAN'T use ProjectCenter, since PC cannot work
+with files outside of its project directory.)
+
+
 Distributions and Universal Binaries
 ------------------------------------