home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2842 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  3.0 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!Sirius.dfn.de!chx400!sicsun!disuns2!disuns2.epfl.ch!simon
  2. From: simon@lia.di.epfl.ch (Simon Leinen)
  3. Newsgroups: comp.emacs
  4. Subject: Re: Emacs on the SGI Indigo
  5. Message-ID: <SIMON.92Aug13111112@liasg1.epfl.ch>
  6. Date: 13 Aug 92 09:11:12 GMT
  7. References: <MAT.92Aug12205357@ibmps.unh.edu>
  8. Sender: news@disuns2.epfl.ch
  9. Organization: DI-LIA -- Ecole Polytechnique Federale de Lausanne
  10. Lines: 61
  11. Nntp-Posting-Host: liasg1.epfl.ch
  12. In-reply-to: mat@unh.edu's message of 13 Aug 92 01:53:57 GMT
  13. X-Md4-Signature: 04918413cbf61a5cbf97b06e9c622328
  14.  
  15. In article <MAT.92Aug12205357@ibmps.unh.edu> mat@unh.edu (Mike Thomas)
  16. writes:
  17.  
  18.    I have been using emacs for a LONG time, and I just got my new SGI
  19.    Indigo, and I can't get emacs to compile on it, has anyone been
  20.    able to compile it for Iris 4.0.5 ??
  21.  
  22. Sure, GNU Emacs 18.58 contains support for IRIX 4.0 and compiles out
  23. of the box (as they say).  Use the "s-irix4-0.h" and "m-iris4d.h"
  24. files in src/config.h.  The only problem is that stripping the binary
  25. causes it to core dump - I include (without permission) a patch for
  26. this from a friendly person at SGI.
  27.  
  28. Hope this helps,
  29. -- 
  30. Simon.
  31.  
  32. From: scotth@hoshi.corp.sgi.com (Scott Henry)
  33. Subject: Patch to Gnu Emacs 18.58 to run stripped under Irix 4.0.1
  34. Message-ID: <SCOTTH.92Mar3161127@hoshi.corp.sgi.com>
  35. Nntp-Posting-Host: hoshi.corp.sgi.com
  36. Organization: Silicon Graphics Inc, Mountain View, CA
  37. Date: Tue, 3 Mar 1992 21:11:27 GMT
  38.  
  39.  
  40. I can't find the message to followup to, but here is a little patch
  41. that allows emacs to exec when stripped. Funny, I thought I remember
  42. posting this patch back when Irix 3.3 hit the streets. Same fix,
  43. anyway. It's an unexec error that the loader is now intolerant of.
  44.  
  45.  
  46. *** src/unexmips.c.~1~    Fri Oct 25 11:55:27 1991
  47. --- src/unexmips.c    Tue Mar  3 10:16:20 1992
  48. ***************
  49. *** 190,196 ****
  50.     rdata_section->s_size = data_start - DATA_START;
  51.     data_section->s_vaddr = data_start;
  52.     data_section->s_paddr = data_start;
  53. !   data_section->s_size = brk - DATA_START;
  54.     data_section->s_scnptr = rdata_section->s_scnptr + rdata_section->s_size;
  55.     vaddr = data_section->s_vaddr + data_section->s_size;
  56.     scnptr = data_section->s_scnptr + data_section->s_size;
  57. --- 190,196 ----
  58.     rdata_section->s_size = data_start - DATA_START;
  59.     data_section->s_vaddr = data_start;
  60.     data_section->s_paddr = data_start;
  61. !   data_section->s_size = brk - data_start;
  62.     data_section->s_scnptr = rdata_section->s_scnptr + rdata_section->s_size;
  63.     vaddr = data_section->s_vaddr + data_section->s_size;
  64.     scnptr = data_section->s_scnptr + data_section->s_size;
  65.  
  66.  
  67. This is unsupported software, Silicon Graphics doesn't make any
  68. warrantly, etc, etc. I've only tested this patch under (what is
  69. supposed to be) the released Irix version 4.0.2.
  70.  
  71. =-=-=
  72. --
  73.  Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
  74.  Networking Services,        / Help! My disclaimer is missing!
  75.  Silicon Graphics, Inc      / Bureaucracy is the enemy of success.
  76.