home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / README.NeXT < prev    next >
Text File  |  1995-03-21  |  2KB  |  55 lines

  1. --
  2. -- README.NeXT
  3. --
  4. -- Lennart Lovstrand, Thu Dec 10 16:28:00 1992
  5. --
  6.  
  7. Attention Emacs Builders -- This version of GNU Emacs has been endowed with a
  8. carefully crafted Makefile that will create a Jasperized environment for Emacs
  9. in which to build and install the various parts in their preferred locations
  10. on a NeXT system.  It will even make sure that config.h and paths.h are set up
  11. to build a NeXT version of Emacs and synchronize version.el with the current
  12. SGS version of the Emacs source.  All this with absolutely no change to the
  13. GNU distribution at all.  (Not unless it itself changes in some drastic way,
  14. of course.)
  15.  
  16. All you need to do to incorporate a new version of Emacs from FSF are the
  17. following easy 6 steps:
  18.  
  19. 1. Unpack the compressed tar file.
  20.     % tar xvfp emacs-42.13.tar.Z
  21.  
  22. 2. cd to the top level directory.
  23.     % cd emacs-42.13
  24.  
  25. 3. Rename Makefile to be Makefile.orig.
  26.     % mv Makefile Makefile.orig
  27.  
  28. 4. Copy Makefile.NeXT, README.NeXT, and SGS_ENV from the old version of emacs.
  29.     % cp -p <olddir>/*.NeXT SGS_ENV .
  30.  
  31. 5. Link Makefile.NeXT to Makefile
  32.     % ln Makefile.NeXT Makefile
  33.  
  34. 6. You're done; do "make" to try it out!
  35.  
  36.  
  37. *** 4.0 CAVEAT
  38. ***
  39. *** Lennart Lovstrand, Tue Mar 21 18:30:31 1995
  40.  
  41. With the addition of machine/endian.h, both BIG_ENDIAN and LITTLE_ENDIAN are
  42. now defined with BYTE_ORDER set to one or the other as a way to find out what
  43. architecture you're running on.  Since Emacs depends on only ONE of the two to
  44. be defined, we'll have to change all BIG_ENDIAN and LITTLE_ENDIAN references
  45. in the Emacs source to be __BIG_ENDIAN__ resp. __LITTLE_ENDIAN__ instead.
  46. I've made the Makefile do this automatically for src/lisp.h at build time, but
  47. if any other source files start using this, you'll have to add that manually.
  48.  
  49. Emacs can't be compiled dynamic yet.  The error I'm seeing is:
  50.  
  51.     dyld: malformed executable: ./temacs (dynamic symbol table
  52.     commandbut no __LINKEDITsegment)
  53.  
  54. I've added explicit -static flags to src/m-next.h for the time being.
  55.