1830031 Members
2501 Online
109998 Solutions
New Discussion

gcc on hp-ux

 
SOLVED
Go to solution
cuma_1
New Member

gcc on hp-ux

Hi folks,
I?m quite unexperienced with hp-ux.
Do I have to download binutils for the compiler too?what else?
How can I install them.
I would be happy if you could send me some instructions via
e.mail:cumasuer@web.de
you¦ve to put a lot in to get a lot back
1 REPLY 1
Stefan Farrelly
Honored Contributor
Solution

Re: gcc on hp-ux


Got to http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-2.95.2/
and download; HP-UX 11.00 Dynamically Linked Binary (gzipped) [HTTP]

Click on the binutils dependency link and download;
HP-UX 11.00 Dynamically Linked Binary (gzipped) [HTTP]

Go the directory you downloaded both to, gunzip both of them.
Now, to install them we need to do;
swinstall -s binutils
swinstall -s gcc

Now theryre both installed, you should add the following to /etc/PATH;
:/opt/binutils/bin:/opt/gcc/bin
and the following to /etc/MANPATH
:/opt/binutils/man:/opt/gcc/man

Now, whenever you login you can find the man pages for binutils and gcc in your manpath and the binaries in your path.
Im from Palmerston North, New Zealand, but somehow ended up in London...