- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc compiler installation on hpux 11v1 (PA-RISC)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:19 AM
07-18-2006 04:19 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:23 AM
07-18-2006 04:23 AM
SolutionIf 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:24 AM
07-18-2006 04:24 AM
Re: gcc compiler installation on hpux 11v1 (PA-RISC)
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:37 AM
07-18-2006 04:37 AM
Re: gcc compiler installation on hpux 11v1 (PA-RISC)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 06:14 PM
07-18-2006 06:14 PM
Re: gcc compiler installation on hpux 11v1 (PA-RISC)
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.