🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by karl Fri, 08 Jan 1993 15:15
emacs 18.59 on hp700 running hpux8
#942
Author: karl
Date: Fri, 08 Jan 1993 15:15
43 lines
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.  */
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads