[comp.unix.aux] More patches to gcc 1.37.1

coolidge@casca.cs.uiuc.edu (John Coolidge) (03/20/90)

Here are a couple of minor patches to tm-aux.h for gcc 1.37.1 (although
these should work fine with any version). They do two things: #define
a couple of things to make g++ happy (see related posting) and add the
symbols 'macII' and 'AUX' to the symbols cpp predefines. This should make
life a bit less of a hassle w.r.t. finding out what sort of machine you're
compiling on.

--John

---------------------------------------------------------------------------
*** old/tm-aux.h	Mon Mar 12 13:11:41 1990
--- tm-aux.h	Sat Mar 17 16:05:45 1990
***************
*** 33,38 ****
--- 33,40 ----
  #define SDB_DEBUGGING_INFO
  #define ASM_REVERSE_CMP			/* cmp has operands backwards */
  #define BUGGY_TST_ADDRESS		/* tst a0 doesn't assemble */
+ #define NO_DOLLAR_IN_LABEL
+ #define NO_DOT_IN_LABEL
  #ifdef USE_GAS
  #error "Can't define AUX_ASM and USE_GAS"
  #endif
***************
*** 88,94 ****
  /* Names to predefine in the preprocessor for this target machine
     (for non-strict-ANSI programs only).  */
  
! #define CPP_PREDEFINES "-Dunix -Dm68k -D_SYSV_SOURCE -D_BSD_SOURCE -D_AUX_SOURCE"
  
  /* Every structure or union's size must be a multiple of 2 bytes.  */
  
--- 90,96 ----
  /* Names to predefine in the preprocessor for this target machine
     (for non-strict-ANSI programs only).  */
  
! #define CPP_PREDEFINES "-Dunix -Dm68k -D_SYSV_SOURCE -D_BSD_SOURCE -D_AUX_SOURCE -DmacII -DAUX"
  
  /* Every structure or union's size must be a multiple of 2 bytes.  */

--------------------------------------------------------------------------
John L. Coolidge     Internet:coolidge@cs.uiuc.edu   UUCP:uiucdcs!coolidge
Of course I don't speak for the U of I (or anyone else except myself)
Copyright 1990 John L. Coolidge. Copying allowed if (and only if) attributed.
You may redistribute this article if and only if your recipients may as well.