changeset 2470:6643737d26ae

* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead of defining LINKER to use cc. * s/aix3-1.h (LINKER): Don't use cc for linking command if we're using GCC. * s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
author Jim Blandy <jimb@redhat.com>
date Wed, 07 Apr 1993 16:36:59 +0000
parents 250c60d32a5a
children c5e43751f9aa
files src/m/ibmrs6000.h src/s/aix3-1.h src/s/aix3-2.h
diffstat 3 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/ibmrs6000.h	Wed Apr 07 15:14:21 1993 +0000
+++ b/src/m/ibmrs6000.h	Wed Apr 07 16:36:59 1993 +0000
@@ -131,5 +131,9 @@
 #undef NEED_SIOCTL
 #undef NEED_PTEM_H
 
-#undef LINKER
-#define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
+#ifdef __GNUC__
+#  define ORDINARY_LINK
+#else
+#  undef LINKER
+#  define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
+#endif
--- a/src/s/aix3-1.h	Wed Apr 07 15:14:21 1993 +0000
+++ b/src/s/aix3-1.h	Wed Apr 07 16:36:59 1993 +0000
@@ -209,7 +209,9 @@
 
 /* #define ADDR_CORRECT(x) (x) */
 
+#ifndef __GNUC__
 #define LINKER cc
+#endif
 
 /* Prevent -lg from being used for debugging.  Not needed.  */
 
--- a/src/s/aix3-2.h	Wed Apr 07 15:14:21 1993 +0000
+++ b/src/s/aix3-2.h	Wed Apr 07 16:36:59 1993 +0000
@@ -12,3 +12,8 @@
 #undef index
 
 #define HAVE_FSYNC
+
+/* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
+   3.2, and a cc-compiled Emacs works with this undefined.
+   --karl@cs.umb.edu.  */
+#undef SYSTEM_MALLOC