🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Karl Berry Wed, 14 Oct 1992 10:34
gdb 4.6/ISC 2.2.1/libiberty
#479
Author: Karl Berry
Date: Wed, 14 Oct 1992 10:34
47 lines
1857 bytes
I tried to compile GDB 4.6 on Interactive Unix 2.2.1, a system
V-based-but-supposedly-POSIX system, and had a few troubles, which I
will detail in separate messages following.

I did `configure i386-sysv', and compiled with
CC="gcc -O -posix -DHAVE_UNISTD_H -DUSG -DTIOCGETC_BROKEN -DTIOCGLTC_BROKEN"

In libiberty, I had to make the following changes, as ISC requires (per
POSIX) <sys/types.h> before <signal.h> and already has _POSIX_SOURCE
defined.

Sun Oct 11 12:15:14 1992  Karl Berry  (karl@cs.umb.edu)

	* strsignal.h: Include <sys/types.h> before <signal.h>

	* sigsetmask.c (_POSIX_SOURCE) [!_POSIX_SOURCE]: Add conditional
	to avoid warning about redefinition.

*** ./ORIG/sigsetmask.c	Mon Jul  6 13:12:01 1992
--- ./sigsetmask.c	Sun Oct 11 12:04:33 1992
***************
*** 20,27 ****
--- 20,31 ----
  /* Set the current signal mask to the set provided, and return the 
     previous value */
  
+ #ifndef _POSIX_SOURCE
  #define _POSIX_SOURCE
+ #endif
+ 
  #include <ansidecl.h>
+ #include <sys/types.h>
  #include <signal.h>
  
  #ifdef SIG_SETMASK
*** ./ORIG/strsignal.c	Mon Jul  6 13:12:03 1992
--- ./strsignal.c	Sun Oct 11 11:52:47 1992
***************
*** 19,24 ****
--- 19,25 ----
  #include "config.h"
  
  #include <stdio.h>
+ #include <sys/types.h>
  #include <signal.h>
  
  /*  Routines imported from standard C runtime libraries. */
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