This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch for -Wno-long-long and early GNAT compilers


On Tue, Mar 19, 2002 at 12:59:12PM -0500, Richard Kenner wrote:
>     What do you think of this patch?  
> 
> I understand the Makefile change, but not the rest.

The raise.c changes work around two separate problems.  2.95 and later
provide <stdbool.h>; if ADAC is 2.8.1 but CC is 2.95, configure will
record stdbool.h as available, and system.h will try to include it.
Since 2.8.1 didn't have it, the compile fails.

When raise.c is compiled by 2.8.1, it refers to __dummy.  That symbol
was removed from libgcc.a in 3.0, so if ADAC is 2.8.1 and CC is 3.0,
unless we provide a definition, the link will fail.

Both these changes are conservative (err in the direction of assuming
some feature is not present) so they should be safe.

The install.texi change just adds "and the matching @file{cc1}" right
after "@file{gnat1}"; this is not obvious because the paragraph got
re-wrapped.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]