From 3ad2a91bd79e8b33ff79abde1f24a58bd7f05e00 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 30 Jun 1995 00:04:25 +0000 Subject: [PATCH] Don't use hard-par under linux since it isn't needed and it signals an error due to some GCC randomness. --- v7/src/microcode/unxutl/ymkfile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/unxutl/ymkfile b/v7/src/microcode/unxutl/ymkfile index 9b42bcc5d..17fa921d1 100644 --- a/v7/src/microcode/unxutl/ymkfile +++ b/v7/src/microcode/unxutl/ymkfile @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: ymkfile,v 1.89 1994/03/25 01:12:35 gjr Exp $ +$Id: ymkfile,v 1.90 1995/06/30 00:04:25 cph Exp $ -Copyright (c) 1989-1994 Massachusetts Institute of Technology +Copyright (c) 1989-95 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -680,6 +680,20 @@ 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__) + +/* `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. */ + +limits.h : + rm -f limits.h + echo "#include " > limits.h +float.h : + rm -f float.h + echo "#include " > float.h + +#else /* not (__linux && __GNUC__) */ + limits.h : hard-par rm -f limits.h RUN(hard-par) -l > limits.h @@ -689,6 +703,8 @@ float.h : hard-par hard-par : hard-par.c $(CC) -DNO_SC $(LDFLAGS) -o hard-par hard-par.c +#endif /* not (__linux && __GNUC__) */ + hppacach.o : hppacach.h hppacach : hppacach.o -- 2.25.1