This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: f2c configure fix
- To: Richard Henderson <rth at twiddle dot net>
- Subject: Re: f2c configure fix
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Sun, 28 Mar 1999 03:58:36 -0700
- cc: egcs-patches at egcs dot cygnus dot com, ghazi at caip dot rutgers dot edu
- Reply-To: law at cygnus dot com
In message <19990204222706.A21615@twiddle.net>you write:
> 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?
I ran into this problem myself today. I'm going to commit this along with
the "search the right subdirs" patch.
jeff