- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc compiler error on hp-ux 10.20
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
03-27-2002 05:01 AM
03-27-2002 05:01 AM
---> src
---> src/regex
gcc -I. -I../OS/unix -I../include -DHPUX10 -DUSE_HSREGEX
-DUSE_EXPAT......................
In file included from /usr/local/lib/gcc-lib/hppa1.0-hp-hpux9.04/2.7.2/include/sys/parm.h:29 ...
It is looking at the gcc version 2.7.2 not the recent one that I have installed. Also when I enter gcc ???v it???s pointing to the 2.7.2 there too. I have uninstalled gcc 2.95.3 several times and reinstalled it back again to see any difference, no luck.
Does any one know any thing about it? I have been stuck to this problem since last 2 days. Any help is appreciated.
Thanks!
Mahima
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 05:05 AM
03-27-2002 05:05 AM
Re: gcc compiler error on hp-ux 10.20
type in "which gcc", then do an ls -l on that to see if it is linked somewhere else. It's probably just a PATH thing.
Locate all of your "gcc's":
find / -type f -name gcc -exec ls -l {} \;
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 05:26 AM
03-27-2002 05:26 AM
Re: gcc compiler error on hp-ux 10.20
Which gcc returns:
'/opt/softbench/bin/gcc'.
find in other hand returns several dir. like:
/opt/langtools/dde/softbench/newconfig/opt/softbench/config
/compiler_info/gcc
/opt/softbench/bin/gcc
/opt/softbench/config/compiler_info/gcc
/opt/gcc/bin/gcc
etc.
Thnaks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 05:31 AM
03-27-2002 05:31 AM
Re: gcc compiler error on hp-ux 10.20
do this, to find which is what version:
/opt/langtools/dde/softbench/newconfig/opt/softbench/config/compiler_info/gcc -v
/opt/softbench/bin/gcc -v
/opt/softbench/config/compiler_info/gcc -v
/opt/gcc/bin/gcc -v
when you use gcc, the default, returned by which, is /opt/gcc/bin/gcc.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 05:48 AM
03-27-2002 05:48 AM
Re: gcc compiler error on hp-ux 10.20
You are a big help. I now know that I want /opt/gcc/bin/gcc to be added to my PATH. My other question is that can I simply add this new path or do I have to remove those other once (specially the one with softbench in it).
I really appreciate your help.
Mahima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 11:53 AM