Building gcc on HPUX 11.00
Puneet Singhal
puneet@opussoft.com
Tue Jan 30 00:03:00 GMT 2001
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
More information about the Gcc-help
mailing list