Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

need help: build gcc on HP-UX 10.20

David Ason
Occasional Visitor

need help: build gcc on HP-UX 10.20


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,

Walter Reich_1
Occasional Visitor

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


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 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

Steve Hall_12
Occasional Visitor

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.