Operating System - HP-UX
1753701 Members
5011 Online
108799 Solutions
New Discussion юеВ

need help: build gcc on HP-UX 10.20

 
David Ason
New Member

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

2 REPLIES 2
Walter Reich_1
New Member

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
Steve Hall_12
New Member

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.