This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HPPA STMP_FIXPROTO patch
- From: Jeff Law <law at porcupine dot slc dot redhat dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Aug 2002 10:48:52 -0600
- Subject: Re: HPPA STMP_FIXPROTO patch
- Reply-to: law at redhat dot com
In message <200208291833.LAA24004@hpsje.cup.hp.com>, Steve Ellcey writes:
>> Really the way to go is to get HP to fix the hpux header files so that neit
>her
>> fixincludes nor fixproto are necessary. Then it becomes a hell of a lot ea
>sier
>> to use tools built under one rev of the OS with newer revs of the OS.
>
>I guess I can see that, are there any platforms where this can be done
>today?
Linux. Solaris comes very close as well.
> I am curious how they handle some of the generic fixincludes
>changes like mapping va_list and __va_list to __gnuc_va_list.
Linux just adds the appropriate mapping under the assumption that it's
going to be compiled with GCC. The mapping is controlled by a suitable
#ifdef -- the alternate path just includes stdarg.h, which may not be
strictly ANSI/ISO conformant.
I believe stdio.h is one of the very few files that are munged on Solaris
and I believe it's strictly because of the va_list issue.
jeff