1825659 Members
3552 Online
109686 Solutions
New Discussion

Installing gcc on 10.20b

 
Henry Chua
Super Advisor

Installing gcc on 10.20b

Hi Guys,

I am trying to install gcc compiler on my 10.20b. This is the first time I am attempting the installation. I have visited the site "https://www.beepz.com/personal/merijn/#Downloads" .. but am unsure which version of gcc i should download and how I should go about with the installation. Can anyone help me.. Thanks!!

Regards
Henry
2 REPLIES 2
Denver Osborn
Honored Contributor

Re: Installing gcc on 10.20b

You can download...

https://www.beepz.com/personal/merijn/gcc-3.4.3-32-10.20-hppa1.1.tbz

And install it...

bzip2 -d

You may not have bzip2 on your box, you can also download it from merjin's site.

download https://www.beepz.com/personal/merijn/bzip2-1.0.2-pa1.1 and save it somewhere like /usr/contrib/bin/bzip2 and chmod 755 bzip2. The run the command above to bunzip, tar the gcc files.

Hope this helps,
-denver
H.Merijn Brand (procura
Honored Contributor

Re: Installing gcc on 10.20b

Can you please tell me what is unclear about the installation instructions, so I can change it:

--8<---
The 3.4.3 version of gcc available in the download section includes binutils 2.15 and gdb-6.2.1. I know that by the time I uploaded the builds gdb-6.3 was already out, but I'm having trouble building recent gdb's in 64bit mode so I postpone those to later, where I either replace the current builds or include it in the next gcc builds. Install it like this:

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

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

bzip2 is the first download available in the Downloads section, and the most recent 10.20 port is gcc-3.4.3-32-10.20-hppa1.1.tbz

That would translate to, assumed you've downloaded the files to /tmp

# cd /usr/local/bin
# mv /tmp/bzip2-1.0.2-pa1.1 bzip2
# chmod 755 bzip2
# cd /usr/local
# /usr/local/bin/bzip2 -d # export PATH=$PATH:/usr/local/bin:/usr/local/pa11_32/bin
# gcc --version

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn