From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Lipe To: egcs@cygnus.com Subject: Re: autoconf between stages. was: java fails to build Date: Fri, 29 Jan 1999 22:20:00 -0000 Message-id: <19990130002021.A1384@rjlhome.sco.com> References: <28978.917549542@hurl.cygnus.com> X-SW-Source: 1999-01/msg00404.html So far in this thread, I've seen lots of suggestions that make me nervous. [ Perhaps I have a faint stomach. ] We already have too many things trying to outsmart each other; adding more will only worsen things. This implements Jeff's suggestion. It is, of course, not really meant to be applied. It's meant as an existence proof that removing this line of code solves problems. Armed with this (and Joerne's loop.c fix that was just committed) I'm now back in bootstrapsville. Building Java no longer croaks with duplicate defs when stage1 is built with a non-gcc compiler. If someone approves deleting this line and associated comment, I'll do the commit. I'm not at all sure that autoconf works as described in the comment anyway... > > > bootstrapping on hosts that don't support 'inline' is now broken. > > > Point me in the right direction and I'll try to implement it. > > > > One possibility that comes to my mind is to grep -v '^#define > > inline' away from auto-host.h in the `stage1:' Makefile rule. > > Or remove it completely. I'm not sure why Kenner added it. Don't we > already have code somewhere to conditionally define "inline" away? Index: config.in =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/gcc/config.in,v retrieving revision 1.43 diff -u -p -r1.43 config.in --- config.in 1999/01/27 01:41:58 1.43 +++ config.in 1999/01/30 05:57:55 @@ -146,8 +146,10 @@ /* Define if you have the vprintf function. */ #undef HAVE_VPRINTF +#if 0 /* Define as __inline if that's what the C compiler calls it. */ #undef inline +#endif /* Define to `long' if doesn't define. */ #undef off_t