This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building gcc on HPUX 11.00
- To: gcc-help at gcc dot gnu dot org
- Subject: Building gcc on HPUX 11.00
- From: Eric Gilmore <ergi at rc dot rose dot hp dot com>
- Date: Fri, 26 Jan 2001 18:13:58 -0800
I've been trying to compile gcc on an HP C110 workstation (PARISC 1.1
architecture) on which I recently installed HPUX 11.00. I finally got gcc
built using the following procedure:
1) Install make 3.79.1
2) Install bison 1.28
3) Install flex 2.5.4a
4) Install binutils 2.9.1
5) Bootstrap gcc 2.95.2
Despite numerous warning during the compilation, it succeeded. However,
when I try to compile even a pretty basic application, I get warnings
similar to the following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 haven't been able to find any information on this error. However, in the
process of looking, I noticed several messages in the archives stating that
gcc 2.95.X will not work on HPUX 11.00.
What I would like to know is this: what is the latest gcc (and binutils)
that compiles and runs on HPUX 11.00 without any major problems? Also, is
there anything that I need to change in my procedure for building and
installing gcc?
Thanks,
Eric