Operating System - HP-UX
1834237 Members
2791 Online
110066 Solutions
New Discussion

gcc compiler installation on hpux 11v1 (PA-RISC)

 
SOLVED
Go to solution
Luigi Cristofalo
New Member

gcc compiler installation on hpux 11v1 (PA-RISC)

Hi to everyone,
I installed a gcc compiler 4.0.3 from a software depot, apparently without any problem.
But why when i type gcc at the prompt it says "... not found"?
There is some post-action to be done after installation?
Thanks a lot.
4 REPLIES 4
H.Merijn Brand (procura
Honored Contributor
Solution

Re: gcc compiler installation on hpux 11v1 (PA-RISC)

Depends on where you got the depot, and where that depot installed gcc

If e.g. gcc is installed in /usr/local/pa20_64/bin, you should add that to your $PATH (prefereably also in /etc/PATH) before you can invoke it

See also my explanation on http://mirrors.develooper.com/hpux/#Gcc

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Steven E. Protter
Exalted Contributor

Re: gcc compiler installation on hpux 11v1 (PA-RISC)

Shalom,

Set the PATH variable to include where the gcc executable installed.

find /usr -name gcc

or find /opt

Not sure where it installs myself.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: gcc compiler installation on hpux 11v1 (PA-RISC)

Hi,

You can easily find out via swlist, just do this.
# swlist -l file gcc

It will list all the file's installed location. From there, you can easily find out where it is.

Also, Try this as well,
# /usr/local/bin/gcc

# /opt/gcc/bin/gcc

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Luigi Cristofalo
New Member

Re: gcc compiler installation on hpux 11v1 (PA-RISC)

Thanks to everybody.

Procura, your explanation from your link has been very clear and resolutive.

I downloaded the gcc package from hp official site. I will start working now with more knoweledge.

Thanks a lot.