🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #846

Emacs 18.59 on IBM RT

#846
From: Karl Berry
Date: Wed, 11 Nov 1992 05:55
24 lines
1313 bytes
Emacs 18.59 doesn't quite compile as-is on an IBM RT running AOS (4.3
BSD) using gcc 2.3.1: m-ibmrt.h unconditionally defines alloca=_Alloca,
but this is wrong if gcc is being used.  Here is a small patch that makes the
define conditional.

Sat Nov  7 07:21:05 1992  Karl Berry  (karl@red.cs.umb.edu)

        * m-ibmrt.h (C_SWITCH_MACHINE) [!__GNUC__]: Make the -Dalloca
          conditional; we don't need it for gcc.

*** ./ORIG/m-ibmrt.h	Tue Jan  8 09:54:26 1991
--- ./m-ibmrt.h	Sat Nov  7 03:47:24 1992
***************
*** 126,132 ****
--- 126,134 ----
  
  /* Special switches to give the C compiler.  */
  
+ #ifndef __GNUC__
  #define C_SWITCH_MACHINE -Dalloca=_Alloca
+ #endif
  
  /* Don't attempt to relabel some of the data as text when dumping.
     It does not work because their virtual addresses are not consecutive.
Technical Details
Message-ID: <199211111555.AA01966@claude.cs.umb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl
From: karl@claude.cs.umb.edu (Karl Berry)
Subject: Emacs 18.59 on IBM RT
Message-ID: <199211111555.AA01966@claude.cs.umb.edu>
Sender: gnulists@ai.mit.edu
Reply-To: karl@cs.umb.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 11 Nov 1992 05:55:02 GMT
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 25