This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Building gcc on HPUX 11.00
- To: "Eric Gilmore" <ergi at rc dot rose dot hp dot com>,<gcc-help at gcc dot gnu dot org>
- Subject: RE: Building gcc on HPUX 11.00
- From: "Puneet Singhal" <puneet at opussoft dot com>
- Date: Mon, 29 Jan 2001 12:19:55 +0530
Hi Eric,
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>In file included from /usr/include/pwd.h:99,
> from
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
> from foo.c:1:
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
>warning: `__va__list' redefined
>/usr/include/pwd.h:27: warning: this is the location of the
>previous definition
>In file included from
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:356,
> from foo.c:1:
>/usr/include/errno.h:26: warning: `__va__list' redefined
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
>warning: this is the location of the previous definition
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
I think this problem does not have anything to do with GCC not working on
HPUX
Actually, GCC provides some corrected header files like varargs.h etc. Find
the directory and include it While giving the gcc build command using the
"-I" switch as the first switch.
Tell me if this works.
Puneet