Re: need help: build gcc on HP-UX 10.20 (175 Views)
Reply
Occasional Visitor
David Ason
Posts: 1
Registered: ‎10-17-1999
Message 1 of 3 (175 Views)

need help: build gcc on HP-UX 10.20

Hi,

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
following errors:
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
product; ignored.
make[3]: Leaving directory `/home2/gcc_src/gcc_obj/texinfo/makeinfo' make[2]:
Leaving directory `/home2/gcc_src/gcc_obj/texinfo'
make[1]: Leaving directory `/home2/gcc_src/gcc_obj/texinfo'
Bootstrapping the compiler
make[1]: Entering directory `/home2/gcc_src/gcc_obj/gcc'
make[1]: *** No rule to make target `bootstrap'. Stop.
make[1]: 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,
Dave

Occasional Visitor
Walter Reich_1
Posts: 1
Registered: ‎10-17-1999
Message 2 of 3 (175 Views)

Re: need help: build gcc on HP-UX 10.20

Hi,

don't know if it helps:

Try looking at

http://155.99.188.50/hppd/hpux/Gnu/gcc-2.8.1/
and surrounding URLs

there is something 'bout GNU CC on HP-UX 10.20
we have tried GNU CC 2.7.2.3 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

kr
Walter
Occasional Visitor
Steve Hall_12
Posts: 1
Registered: ‎10-18-1999
Message 3 of 3 (175 Views)

Re: need help: build gcc on HP-UX 10.20

Sounds like you are using the brain version of the C compiler that is really
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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.