This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: Update for AC_PROG_STDC_CC fix


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:

>> Or better yet, can we get rid of it completely from GDB?   The only reason
>> this causes problems is the bogus definition of prog_cc_stdc found when
>> configuring gdb bleeds into other directories which use prog_cc_stdc
>> via a shared config.cache.

Andrew> Isn't something needed for HP/UX to get the compiler into the right 
Andrew> mode?  But yes I agree, even after renaming the macro, there is a 
Andrew> problem with prog_cc_stdc clashes.

I think clashes should only be a problem if you are using different
versions of this macro in different directories.  If so, that's a
no-no.  It has always been the case that all configure scripts in a
given project must agree about how to compute cache values.  I think
this is an undocumented requirement :-(, but careful examination of
the ChangeLogs will show bug fixes for problems like this dating back
at least to 1996.

HTH,
Tom


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