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: "Puneet Singhal" <puneet at opussoft dot com>, <gcc-help at gcc dot gnu dot org>
- Subject: RE: Building gcc on HPUX 11.00
- From: Eric Gilmore <ergi at rc dot rose dot hp dot com>
- Date: Mon, 05 Feb 2001 14:03:48 -0800
- References: <5.0.2.1.0.20010126180124.00a69930@xrose02.rose.hp.com>
Hello Puneet,
Since I had tossed the 2.95.2 build, I had to recompile. This time I used
the latest release (2.95.1). I watched the compilation process more
carefully than last time and noticed that the same warning messages occur
during the bootstrap of the compiler. So it would seem to me that this
problem is more likely the result of a problem in the HP-UX source instead
of my build environment.
If you are curious, this is the command I used to build bootstrap the compiler:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
I got this out of the gcc-2.95.2/install/BUILD file.
Thanks,
Eric
At 10:49 PM 1/28/01, Puneet Singhal wrote:
>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
--
HP strives to improve customer loyalty through customer support. It
is our goal to be your support services provider of choice. Please
forward any comments or suggestions to my manager at the following
e-mail address: <tim_estes@hp.com>
Please take the opportunity to check out these additional resources
that may help troubleshoot or avoid future problems:
HP Documentation in an on-line viewable and/or downloadable format:
http://docs.hp.com
In addition to the Technical Knowledge Base and the Knowledge Trees,
the ITRC also allows you to submit problem cases directly to the
Response Center and communicate with an HP engineer through the web
and/or e-mail:
http://itrc.hp.com
*********************************************************************
********* / / ************** *
******* / / ************ Eric Gilmore *
***** / /___ _____ ********** Hewlett-Packard Company *
**** / __ // __ / ********* Roseville Response Center *
**** / / / // /_/ / ********* 8000 Foothills Blvd, MS 5713 *
***** /_/ /_// /___/ ********** Roseville, California 95747 *
******* / / ************ email: ergi@rc.rose.hp.com *
********* / / ************** *
*********************************************************************