This is the mail archive of the gcc-help@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]

RE: Building gcc on HPUX 11.00


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



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