🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99765

Re: gnu emacs for ps2 aix

#99765
From: Minh Tran-Le
Date: Wed, 13 Jun 1990 20:02
118 lines
4035 bytes
Hi,
there is some changes needed for compiling gnu emacs under ps2 aix with gcc.
So here are the diff files:

*** m-ibmps2-aix.h-orig	Fri Dec 22 09:28:07 1989
--- m-ibmps2-aix.h	Sat Mar 24 16:01:39 1990
***************
*** 140,143
  #define BROKEN_FIONREAD
  
  /* Define C_ALLOCA if this machine does not support a true alloca
     and the one written in C should be used instead.

--- 140,167 -----
  #define BROKEN_FIONREAD
  
+ /* AIX has sigsetmask() */
+ #undef sigsetmask
+ 
+ /* AIX386 has BSD4.3 PTYs */
+ 
+ #define HAVE_PTYS
+ 
+ /* AIX has IPC. It also has sockets, and either can be used for client/server.
+    I would suggest the client/server code be changed to use HAVE_SOCKETS rather
+    than BSD as the conditional if sockets provide any advantages. */
+ 
+ #define HAVE_SYSVIPC
+ 
+ /* AIX has sockets */
+ 
+ #define HAVE_SOCKETS
+ /* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */
+ 
+ /* Specify the font for X to use.  */
+ 
+ #define X_DEFAULT_FONT "8x13"
+ 
+ /* Here override various assumptions in ymakefile */
+ 
  /* Define C_ALLOCA if this machine does not support a true alloca
     and the one written in C should be used instead.
***************
*** 150,154
  #define HAVE_ALLOCA
  #define alloca(n) __builtin_alloca(n)
! #define LIBS_MACHINE /usr/local/lib/gcc-gnulib -lbsd -lrts
  #else
  #define C_ALLOCA

--- 174,179 -----
  #define HAVE_ALLOCA
  #define alloca(n) __builtin_alloca(n)
! #define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc 
! #define C_DEBUG_SWITCH -O -fwritable-strings -fcombine-regs -fstrength-reduce -fdelayed-branch
  #else
  #define C_ALLOCA
***************
*** 159,160
  #define OBJECTS_MACHINE hftctl.o
  #define LD_SWITCH_MACHINE -T0x00400000 -K -e start

--- 184,186 -----
  #define OBJECTS_MACHINE hftctl.o
  #define LD_SWITCH_MACHINE -T0x00400000 -K -e start
+ 
*** process.c-orig	Fri Dec 22 09:29:51 1989
--- process.c	Fri Dec 22 09:28:26 1989
***************
*** 114,118
  
  #ifndef WAITTYPE
! #if !defined (BSD) && !defined (UNIPLUS) && !defined (STRIDE) && !(defined (HPUX) && !defined (NOMULTIPLEJOBS))
  #define WAITTYPE int
  #define WIFSTOPPED(w) ((w&0377) == 0177)

--- 114,118 -----
  
  #ifndef WAITTYPE
! #if !defined (BSD) && !defined (UNIPLUS) && !defined (STRIDE) && !(defined (HPUX) && !defined (NOMULTIPLEJOBS)) && !defined(aix386)
  #define WAITTYPE int
  #define WIFSTOPPED(w) ((w&0377) == 0177)
*** sysdep.c-orig	Fri Dec 22 09:28:23 1989
--- sysdep.c	Fri Dec 22 09:27:12 1989
***************
*** 146,151
  #include <string.h>
  #ifdef TIOCGWINSZ
! #ifndef IRIS_4D
! #ifndef mips
  /* Some USG systems with TIOCGWINSZ need this file; some don't have it.
     We don't know how to distinguish them.

--- 146,150 -----
  #include <string.h>
  #ifdef TIOCGWINSZ
! #if !(defined(IRIS_4D) || defined(mips) || defined(aix386))
  /* Some USG systems with TIOCGWINSZ need this file; some don't have it.
     We don't know how to distinguish them.
***************
*** 152,156
     If this #include gets an error, just delete it.  */
  #include <sys/sioctl.h>
- #endif
  #endif
  #endif

--- 151,154 -----
     If this #include gets an error, just delete it.  */
  #include <sys/sioctl.h>
  #endif
  #endif

Minh Tran-Le

arpanet: tranle@intellicorp.com
uucp:    ..sun!icmv!mtranle
-------
Technical Details
Message-ID: <9006132003.AA03885@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!INTELLICORP.COM!TRANLE
References: <9006131942.AA15340@aio>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,111644a816874078,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-06-14 01:14:10 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!INTELLICORP.COM!TRANLE
From: TRANLE@INTELLICORP.COM (Minh Tran-Le)
Newsgroups: gnu.emacs.bug
Subject: Re: gnu emacs for ps2 aix
Message-ID: <9006132003.AA03885@life.ai.mit.edu>
Date: 13 Jun 90 20:02:05 GMT
References: <9006131942.AA15340@aio>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 118
Posted: Wed Jun 13 21:02:05 1990