Add definitions to enable the dynamic loading primitives on those
authorChris Hanson <org/chris-hanson/cph>
Fri, 19 Nov 1993 22:21:33 +0000 (22:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 19 Nov 1993 22:21:33 +0000 (22:21 +0000)
operating systems that support them.

v7/src/microcode/s/aix.h
v7/src/microcode/s/hpux.h
v7/src/microcode/s/sunos4.h

index 1f9ca1ae4c87cd113a6af8f47e8698485241fe9d..b781839f204c731b61500a5687bf288b374c0726 100644 (file)
@@ -1,7 +1,7 @@
 /* -*-C-*-
    System file for AIX
 
-$Id: aix.h,v 1.1 1993/11/08 06:11:11 gjr Exp $
+$Id: aix.h,v 1.2 1993/11/19 22:21:31 cph Exp $
 
 Copyright (c) 1993 Massachusetts Institute of Technology
 
@@ -37,3 +37,7 @@ MIT in each case. */
 
 #define LIBS_SYSTEM -lbsd -ltermcap
 
+/* These definitions configure the microcode to support dynamic loading. */
+#define SOURCES_SYSTEM pruxdld.c
+#define OBJECTS_SYSTEM pruxdld.o
+#define LD_SWITCH_SYSTEM -bE:scheme.exp
index 8cf34bb44e7cbaa298367933fb133e614a35da1a..300be32e79891b73584abc98ee7f7d9d52caca83 100644 (file)
@@ -1,7 +1,7 @@
 /* -*-C-*-
    System file for HP-UX
 
-$Id: hpux.h,v 1.10 1993/03/22 16:04:07 cph Exp $
+$Id: hpux.h,v 1.11 1993/11/19 22:21:32 cph Exp $
 
 Copyright (c) 1989-93 Massachusetts Institute of Technology
 
@@ -48,6 +48,10 @@ MIT in each case. */
 /* For releases of hp-UX prior to 9.0 change the following lines to
    read X11R4 instead of X11R5.  */
 #define C_SWITCH_SYSTEM -D_HPUX -I/usr/include/X11R5
-#define LD_SWITCH_SYSTEM -L /usr/lib/X11R5
+#define LD_SWITCH_SYSTEM -L /usr/lib/X11R5 -Wl,-E
 
-#define LIB_DYNAMIC_LOAD /usr/lib/libdld.sl
+/* These definitions, and the -Wl,-E in LD_SWITCH_SYSTEM, configure
+   the microcode to support dynamic loading. */
+#define SOURCES_SYSTEM pruxdld.c
+#define OBJECTS_SYSTEM pruxdld.o
+#define LIBS_SYSTEM -ldld
index 2a65e487a92e8fa2fc55a3277481cd6d3107af70..a6b52f10e7c78e5e9016d0f511e367a1aa25f5c6 100644 (file)
@@ -1,7 +1,7 @@
 /* -*-C-*-
    System file for SUNOS
 
-$Id: sunos4.h,v 1.4 1993/06/24 07:30:44 gjr Exp $
+$Id: sunos4.h,v 1.5 1993/11/19 22:21:33 cph Exp $
 
 Copyright (c) 1990-1993 Massachusetts Institute of Technology
 
@@ -38,3 +38,8 @@ MIT in each case. */
 #define LIBS_TERMCAP -ltermcap
 
 #define ALTERNATE_M4 s/ultrix.m4
+
+/* These definitions configure the microcode to support dynamic loading. */
+#define SOURCES_SYSTEM pruxdld.c
+#define OBJECTS_SYSTEM pruxdld.o
+#define LIBS_SYSTEM = -ld