Operating System - HP-UX
1837838 Members
2400 Online
110121 Solutions
New Discussion

Re: install gcc on hp 10.20

 
SOLVED
Go to solution
Reggie Chang
Frequent Advisor

install gcc on hp 10.20

Hi there,

I got error messages to install gcc on our system.

I have gcc-core-2.95.2.tar.gz and used following steps
1. untar and place at srcdir
2. create a ojbdir
3. run srcdir/configure
4. make bootstrap

Any suggestions? Do I need to have GAS installed first?

Thanks.

Reggie


7 REPLIES 7
Bill Douglass
Esteemed Contributor

Re: install gcc on hp 10.20

Try following the directions at

http://gcc.gnu.org/ml/gcc/2002-06/msg00158.html

Precompiled binaries are available at

http://www.smellycat.net/hp.html

The archive at

http://hpux.cs.utah.edu/

used to have a gcc for 10.20, but it appears to have rolled off of the site; only version HP-UX 11 binaries are available. There is source code available there.
H.Merijn Brand (procura
Honored Contributor

Re: install gcc on hp 10.20

Get a fresh gcc-3.3/binutils-2.13/gdb-5.3 distro for 10.20 from my ITRC site: https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/

There are also some small directives in how to build gcc yourself

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Reggie Chang
Frequent Advisor

Re: install gcc on hp 10.20

Bill and Procura,

Thanks a lot for the info. They seem to be very promising. I already assigned points but were not displayed. I'll follow up on this.

Procura,
2nd link does not work. With 1st link (https), I could download bzip2 but could not get those gcc.
If I have gcc-3.2-32-10.20-hppa1.1.tbz (or another one), do I get gcc executable (maybe and others) after using "bzip2 -d
Bill,
I got gcc-2.95.2-sd-10.20.depot.gz from smellcat. However, I gunziped it and ran swinstall (specify local drive at GUI providing the full path), it could not locate gcc-2.95.2-sd-10.20.depot. Did I do anything wrong?

Thank you again.


Reggie
H.Merijn Brand (procura
Honored Contributor
Solution

Re: install gcc on hp 10.20

It's all on that page :)

--8<--- quote
The 3.3 version of gcc available in the download section includes binutils 2.13.2.1 and gdb-5.3. Install it like this:

# cd /usr/local
# bzip2 -d < /var/tmp/gcc-3.3-64-11.00-elf64.tbz | tar xf -

And add /usr/local/pa20_64/bin to your $PATH, preferably in /etc/PATH.
-->8---

Both sites are up to date, but out of my control. I only have the rights to maintain my space.

Please be sure to only pick downloads from the 10.20 column.


Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Reggie Chang
Frequent Advisor

Re: install gcc on hp 10.20

Thank you for info, Merijn.

Part of the download problem is probably caused by me. In my first attempt, the download box did appear but not much going. I closed it and tried again but never saw the box afterward. I probably will wait until tomorrow (or next week) to get the tbz file.

Really appreciate your help and Bill. I notice that you give credit to Steven and Clemens for the web sites. As a matter of fact, Steven responded at least one of my questions on HP ITRC before.

Best regards,

Reggie



Bill Douglass
Esteemed Contributor

Re: install gcc on hp 10.20

From the command line (as root), try

swinstall -s /path/to/gcc-2.95.2-sd-10.20.depot \*

This should install in batch mode (no interaction required). If this fails, please post the diagnostics.

Also, you can check the archive by doing

swlist -s /path/to/gcc-2.95.2-sd-10.20.depot

This will test it for a valid sw depot.
Scott McCort
Advisor

Re: install gcc on hp 10.20

Reggie,
I had similar problems with gcc. I could not get it to compile on 10.20. I had to install 2.95 from binary. After that I could 'upgrade' by compiling any newer versions of gcc.