home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / misc / discuss / 4001 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.6 KB

  1. Xref: sparky gnu.misc.discuss:4001 comp.sys.sgi:18096
  2. Newsgroups: gnu.misc.discuss,comp.sys.sgi
  3. Path: sparky!uunet!noc.near.net!ns.draper.com!news.draper.com!MVS.draper.com!SEB1525
  4. From: SEB1525@MVS.draper.com (Steve Bacher)
  5. Subject: Re: makefile for gnu make on SGI
  6. Message-ID: <19921216111143SEB1525@MVS.draper.com>
  7. Sender: MVS NNTP News Reader <NNMVS@MVS.draper.com>
  8. Nntp-Posting-Host: mvs.draper.com
  9. Organization: Draper Laboratory
  10. References: <1992Dec16.000738.12900@microunity.com>
  11. Date: Wed, 16 Dec 1992 16:11:00 GMT
  12. Lines: 33
  13.  
  14. In article <1992Dec16.000738.12900@microunity.com>,
  15. brendan@microunity.com (Brendan Eich) writes:
  16.  
  17. >I just got GNU make 3.62 running on an Indigo R4000, and I didn't
  18. >define sparc (which sounds like a mistake).  Here are the relevant
  19. >Makefile lines:
  20.  
  21. [...]
  22.  
  23. ># If your system doesn't have alloca, or the one provided is bad,
  24. ># get it from the Emacs distribution and define these.
  25. ># [ I used gcc-2.2's alloca.c.  /be ]
  26. >ALLOCA = alloca.o
  27. >ALLOCASRC = alloca.c
  28.  
  29. Irix Release 4.0.1 System V (which is where I did the build)
  30. appears to have __builtin_alloca, as shown in /usr/include/alloca.h,
  31. which is why I used -Dsparc (which doesn't trigger anything else in
  32. this particular make).  Is this OK to use, or do I still need to get
  33. the GNU alloca?
  34.  
  35. >I did change make.h to define SIGHANDLER as a pointer-to-void-function,
  36. >not pointer-to-int, #ifndef __STDC__:
  37. >
  38. >#define SIGHANDLER      void (*)()
  39.  
  40. Is this critical?  I'd rather not do source code changes, as a matter
  41. of general policy, unless absolutely required.
  42.  
  43.  
  44. --
  45. Steve Bacher (Batchman)                 Draper Laboratory
  46. Internet: seb@draper.com                Cambridge, MA, USA
  47.