Article View: gnu.emacs.bug
Article #942emacs 18.59 on hp700 running hpux8
From: karl
Date: Fri, 08 Jan 1993 15:15
Date: Fri, 08 Jan 1993 15:15
43 lines
2041 bytes
2041 bytes
The part of my previous bug report about [s]random being undefined on an
hp700 running hpux8 was somewhat in error -- the libraries usually
provided in /usr/lib/X11R4 do indeed define [s]random, so that much is
ok. (However, it's still true that the R5 libraries don't define
[s]random, as far as I can tell, so that sounds like trouble ahead to me.)
I also found another problem when linking with gcc: s-hpux8.h defines
LD_SWITCH_SYSTEM to include -a archive, but gcc has its own -a flag (and
it already passes -a archive to ld, anyway).
Here is a diff.
Fri Jan 8 20:14:08 1993 Karl Berry (karl@cs.umb.edu)
* s-hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Don't include -a archive.
*** ./ORIG/s-hpux8.h Thu Oct 1 21:14:01 1992
--- ./s-hpux8.h Fri Jan 8 20:06:12 1993
***************
*** 8,15 ****
#define C_SWITCH_SYSTEM -I/usr/include/X11R4
! /* Don't use shared libraries. unexec doesn't handle them. */
#define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R4
/* Some hpux 8 machines seem to have TIOCGWINSZ,
and none have sioctl.h, so might as well define this. */
--- 8,21 ----
#define C_SWITCH_SYSTEM -I/usr/include/X11R4
! /* Don't use shared libraries. unexec doesn't handle them.
! GCC automatically passes -a archive to ld, and it has its own
! conflicting -a. */
! #ifdef __GNUC__
! #define LD_SWITCH_SYSTEM -L/usr/lib/X11R4
! #else
#define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R4
+ #endif
/* Some hpux 8 machines seem to have TIOCGWINSZ,
and none have sioctl.h, so might as well define this. */
Technical Details
Message-ID:
<9301090115.AA20292@starlight.HQ.Ileaf.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!starlight.HQ.ILeaf.COM!karlShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!starlight.HQ.ILeaf.COM!karl From: karl@starlight.HQ.ILeaf.COM Subject: emacs 18.59 on hp700 running hpux8 Message-ID: <9301090115.AA20292@starlight.HQ.Ileaf.COM> Sender: gnulists@ai.mit.edu Reply-To: karl@hq.ileaf.com Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 8 Jan 1993 15:15:17 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 44