home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / bug / 1624 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.9 KB  |  58 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!starlight.HQ.ILeaf.COM!karl
  3. From: karl@starlight.HQ.ILeaf.COM
  4. Subject: emacs 18.59 on hp700 running hpux8
  5. Message-ID: <9301090115.AA20292@starlight.HQ.Ileaf.COM>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: karl@hq.ileaf.com
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Fri, 8 Jan 1993 15:15:17 GMT
  11. Approved: bug-gnu-emacs@prep.ai.mit.edu
  12. Lines: 44
  13.  
  14. The part of my previous bug report about [s]random being undefined on an
  15. hp700 running hpux8 was somewhat in error -- the libraries usually
  16. provided in /usr/lib/X11R4 do indeed define [s]random, so that much is
  17. ok.  (However, it's still true that the R5 libraries don't define
  18. [s]random, as far as I can tell, so that sounds like trouble ahead to me.)
  19.  
  20. I also found another problem when linking with gcc: s-hpux8.h defines
  21. LD_SWITCH_SYSTEM to include -a archive, but gcc has its own -a flag (and
  22. it already passes -a archive to ld, anyway).
  23.  
  24. Here is a diff.
  25.  
  26. Fri Jan  8 20:14:08 1993  Karl Berry    (karl@cs.umb.edu)
  27.  
  28.     * s-hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Don't include -a archive.
  29.  
  30. *** ./ORIG/s-hpux8.h    Thu Oct  1 21:14:01 1992
  31. --- ./s-hpux8.h    Fri Jan  8 20:06:12 1993
  32. ***************
  33. *** 8,15 ****
  34.   
  35.   #define C_SWITCH_SYSTEM -I/usr/include/X11R4
  36.   
  37. ! /* Don't use shared libraries.  unexec doesn't handle them.  */
  38.   #define LD_SWITCH_SYSTEM -a archive  -L/usr/lib/X11R4
  39.   
  40.   /* Some hpux 8 machines seem to have TIOCGWINSZ,
  41.      and none have sioctl.h, so might as well define this.  */
  42. --- 8,21 ----
  43.   
  44.   #define C_SWITCH_SYSTEM -I/usr/include/X11R4
  45.   
  46. ! /* Don't use shared libraries.  unexec doesn't handle them.
  47. !    GCC automatically passes -a archive to ld, and it has its own
  48. !    conflicting -a.  */
  49. ! #ifdef __GNUC__
  50. ! #define LD_SWITCH_SYSTEM  -L/usr/lib/X11R4
  51. ! #else
  52.   #define LD_SWITCH_SYSTEM -a archive  -L/usr/lib/X11R4
  53. + #endif
  54.   
  55.   /* Some hpux 8 machines seem to have TIOCGWINSZ,
  56.      and none have sioctl.h, so might as well define this.  */
  57.  
  58.