From: Chris Hanson Date: Thu, 1 May 1997 01:18:42 +0000 (+0000) Subject: Add switch USE_BUILT_IN_LIMITS_FILES for systems that have built-in X-Git-Tag: 20090517-FFI~5203 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=0966130c9eb13b9cf9ae848762a3a5048d3cff5d;p=mit-scheme.git Add switch USE_BUILT_IN_LIMITS_FILES for systems that have built-in and . Previously this hack was specific to Linux. --- diff --git a/v7/src/microcode/s/linux.h b/v7/src/microcode/s/linux.h index 87366993a..6f817039a 100644 --- a/v7/src/microcode/s/linux.h +++ b/v7/src/microcode/s/linux.h @@ -1,9 +1,9 @@ /* -*-C-*- System file for Linux -$Id: linux.h,v 1.10 1996/12/16 04:40:03 cph Exp $ +$Id: linux.h,v 1.11 1997/05/01 01:18:42 cph Exp $ -Copyright (c) 1995-96 Massachusetts Institute of Technology +Copyright (c) 1995-97 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -57,3 +57,7 @@ MIT in each case. */ #define SOURCES_SYSTEM pruxdld.c #define OBJECTS_SYSTEM pruxdld.o #define LIBS_SYSTEM -ldl + +/* Use the built-in files and rather than those + generated by the "hard-par" program. */ +#define USE_BUILT_IN_LIMITS_FILES diff --git a/v7/src/microcode/unxutl/ymkfile b/v7/src/microcode/unxutl/ymkfile index 17fa921d1..a401a2688 100644 --- a/v7/src/microcode/unxutl/ymkfile +++ b/v7/src/microcode/unxutl/ymkfile @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: ymkfile,v 1.90 1995/06/30 00:04:25 cph Exp $ +$Id: ymkfile,v 1.91 1997/05/01 01:17:49 cph Exp $ -Copyright (c) 1989-95 Massachusetts Institute of Technology +Copyright (c) 1989-97 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -680,7 +680,7 @@ psbmap.tch : config.h object.h bignum.h bignmint.h bitstr.h types.h \ sdata.h const.h psbmap.h $(GC_HEAD_FILES) comlin.h comlin.c usrdef.tch : usrdef.h config.h object.h prim.h -#if defined(__linux) && defined(__GNUC__) +#ifdef USE_BUILT_IN_LIMITS_FILES /* `hard-par' dies trying to generate float.h under linux (using GCC 2.6.3). However, the built-in limits file generates all the constants we need. */ @@ -692,7 +692,7 @@ float.h : rm -f float.h echo "#include " > float.h -#else /* not (__linux && __GNUC__) */ +#else /* not USE_BUILT_IN_LIMITS_FILES */ limits.h : hard-par rm -f limits.h @@ -703,7 +703,7 @@ float.h : hard-par hard-par : hard-par.c $(CC) -DNO_SC $(LDFLAGS) -o hard-par hard-par.c -#endif /* not (__linux && __GNUC__) */ +#endif /* not USE_BUILT_IN_LIMITS_FILES */ hppacach.o : hppacach.h