From: Chris Hanson Date: Fri, 19 Nov 1993 22:21:33 +0000 (+0000) Subject: Add definitions to enable the dynamic loading primitives on those X-Git-Tag: 20090517-FFI~7470 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5f96a00c381ab5bb129ef011d0d4e1f075ce992f;p=mit-scheme.git Add definitions to enable the dynamic loading primitives on those operating systems that support them. --- diff --git a/v7/src/microcode/s/aix.h b/v7/src/microcode/s/aix.h index 1f9ca1ae4..b781839f2 100644 --- a/v7/src/microcode/s/aix.h +++ b/v7/src/microcode/s/aix.h @@ -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 diff --git a/v7/src/microcode/s/hpux.h b/v7/src/microcode/s/hpux.h index 8cf34bb44..300be32e7 100644 --- a/v7/src/microcode/s/hpux.h +++ b/v7/src/microcode/s/hpux.h @@ -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 diff --git a/v7/src/microcode/s/sunos4.h b/v7/src/microcode/s/sunos4.h index 2a65e487a..a6b52f10e 100644 --- a/v7/src/microcode/s/sunos4.h +++ b/v7/src/microcode/s/sunos4.h @@ -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