f2c configure fix
Jeffrey A Law
law@hurl.cygnus.com
Sun Feb 28 18:15:00 GMT 1999
In message < 199902081932.OAA27779@caip.rutgers.edu >you write:
> > From: Richard Henderson <rth@twiddle.net>
> >
> > I don't recall noticing when it started, but libf2c's fragile
> > integer size detection widgetry has broken again.
> >
> > This time it gets confused because f/proj.h includes system,
> > which includes system.h, which includes libiberty.h, which
> > includes ansidecl.h (the libiberty version), which defines
> > PROTO in a way that is incompatible with gcc's headers. So
> > you wind up with lots of error messages from cpp. Why libf2c
> > doesn't die in its configury here, I don't know.
> >
> > But it winds up deciding that an int is a long, and on Alpha
> > things go downhill with that.
> >
> > It appears one must get gansidecl.h to define PROTO properly,
> > which requires IN_GCC and tm.h.
> >
> > The following seems to work. Kaveh, is this the best thing
> > to do to get what's needed?
> > r~
>
>
> In trying to understand what's not working here, I
> bootstrapped on alphaev5-dec-osf4.0b (which was successful.)
>
> I then looked at alphaev5-dec-osf4.0b/libf2c/config.log and
> found this:
[ .. ]
Yup. There's already been a thread on this and a proposed patch. I don't
think Dave and I ever pushed it through to the end.
jeff
More information about the Gcc-patches
mailing list