10-17-1999 10:16 PM
I am trying to build gcc on an HP-UX 10.20 system. For those of you who don't
know, gcc is the GNU c/c++ compiler...I have tried using both the make utility
that comes with HP-UX and the GNU make utility.
The version of GNU make I have is 3.78.1
The version of gcc I am trying to build is: 2.95.1
The src tree and obj tree are separate.
The configure works fine
However, when I try a make, make bootstrap, or make bootstrap-lean, I get the
cc -g -o makeinfo makeinfo.o
multi.o ../lib/libtxi.a ../intl/libintl.a
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
make: Leaving directory `/home2/gcc_src/gcc_obj/texinfo/makeinfo' make:
Leaving directory `/home2/gcc_src/gcc_obj/texinfo'
make: Leaving directory `/home2/gcc_src/gcc_obj/texinfo'
Bootstrapping the compiler
make: Entering directory `/home2/gcc_src/gcc_obj/gcc'
make: *** No rule to make target `bootstrap'. Stop.
make: Leaving directory `/home2/gcc_src/gcc_obj/gcc'
make: *** [bootstrap] Error 2
What must I do to install gcc on an HP-UX 10.20 machine?
Thanks in advance,
10-17-1999 11:20 PM
don't know if it helps:
Try looking at
and surrounding URLs
there is something 'bout GNU CC on HP-UX 10.20
we have tried GNU CC 188.8.131.52 and it seems to be OK
on our system. We tried to compile samba with it,
but found out later that this is also compilable
with HP-C (Standard) just watching out all possible
switches (for ex. -a) and fixing this, also it is
IMPORTANT to read pre req. before compiling GNU CC
see above link
10-18-1999 01:03 AM
intended for *just* recompiling the kernel. I'm not sure that you can get gcc
going with this version of the compiler or not. I've never tried.
If you are just trying to get the compiler and don't really care if you build
it or not, you can download compiled binaries for gcc (and several other
packages) at the URL I'm attaching. At the search prompt, enter gcc. They've
got version 2.8.1, posted Aug 1999.
I've had pretty good luck downloading/using this software... and it has saved
me quite a bit of time because I didn't have to build it.