- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to find the installed compiler in HPUX 11.11
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
How to find the installed compiler in HPUX 11.11
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 04:48 AM
09-30-2009 04:48 AM
I am new to HP-UX.
My team lead asked me that what is the compiler has been installed (like C / C++ / COBOL) in one of hpux server (HPUX 11.11).
I used below command to find the compiler
# swlist -l product | grep -i compiler
C-ANSI-C B.11.11.04 HP C/ANSI C Compiler
CPS B.11.00 Compiler Parallel Support Library
So as per above output the C compiler has been installed, am i correct?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 04:50 AM
09-30-2009 04:50 AM
SolutionYou should probably be aware that there is a stripped down, basic version of the C compiler installed on every HP-UX system. It is intended to compile the kernel and is not much good for anything else.
You, however, have the full-blown ANSI-C compiler, so that's a good thing.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 04:51 AM
09-30-2009 04:51 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
> So as per above output the C compiler has been installed, am i correct?
Yes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 05:09 AM
09-30-2009 05:09 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
Is it possible?
If not, which version of "ANSI-C Compiler" supports HPUX 11i v3?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 05:15 AM
09-30-2009 05:15 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 05:20 AM
09-30-2009 05:20 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
Can i install the same "C-ANSI-C B.11.11.04 HP C/ANSI C Compiler" in HPUX 11i V3?
No you cannot. A much newer bundle gives you both C and C++. The link Pete offered is correct.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 09:43 AM
09-30-2009 09:43 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
http://www.hp.com/go/c
>Can I install the same "C-ANSI-C B.11.11.04 HP C/ANSI C Compiler" in HP-UX 11i V3? Is it possible?
It might be possible but it wouldn't be supported.
Is your 11.31 system PA or Integrity?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 11:08 AM
09-30-2009 11:08 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-30-2009 04:58 PM
09-30-2009 04:58 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
So it is Integrity.
You can't install an obsolete PA compiler on Integrity.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2009 05:16 AM
10-02-2009 05:16 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
I have installed guest OS (HPUX 11.31) on Integrity VM.
I need to install ANSI-C compiler for that OS.
I checked if ANSI-C compiler is already installed?
# swlist -l product | grep -i compile
COMPLIBS B.11.31 Compiler Support Libraries
PHCO_36769 1.0 linker/compiler English manpages
PHCO_37027 1.0 linker/compiler Japanese patch
where we can download the ANSI-C compiler as depot from?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2009 09:39 PM
10-02-2009 09:39 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
You must purchase it. Or you can download gcc.
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=e9083a7373f021103a7373f02110275d6e10RCRD
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 09:25 AM
10-07-2009 09:25 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
Is gcc is C++ compiler?
what is the download location to gcc compiler?
what is the cost of C-ANSI-Compiler?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 09:47 AM
10-07-2009 09:47 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
> what is the download location to gcc compiler?
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/
> what is the cost of C-ANSI-Compiler? $996
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 11:22 AM
10-07-2009 11:22 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
I have installed the C-ANSI-Compiler.
How to check whether it is working fine.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 11:27 AM
10-07-2009 11:27 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
Uhhhh . . . . . compile something?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 11:32 AM
10-07-2009 11:32 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
>I have installed the C-ANSI-Compiler.
>How to check whether it is working fine.
Following steps can be done to check :
1. # swlist -l | grep -i -e C-ANSI -e C++
# swlist -l fileset -a state | grep -i -e C-ANSI -e C++
2. Compile a simple program and check the output:
# vi test1.c # & save the file
#include
main ()
{
printf ("Welcome! This is a test.\n");
printf ("------------------------\n");
}
- Check with : # which cc
[ Make sure this is refereing the correct cc : path for cansi that installed currently. ]
- Compile & execute:
# cc test1.c -o test1
# chmod +x test1 ; ./test1
If output looks ok, you are done.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 07:35 PM
10-07-2009 07:35 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
>>How to check whether it is working fine
If you have any c or c++ code then compile the same or else download from net any c/c++ program and compile.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2009 11:21 PM
10-07-2009 11:21 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
No, that's a C compiler. You really should use g++ when compiling and linking C++ sources.
>How to check whether it is working fine.
You should see something like this for swlist:
B9007AA B.11.11.20 HP C/aC++ Developer's Bundle
By definition if it is installed, it works fine. :-)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-2009 06:49 AM
10-08-2009 06:49 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
I tried your insturction.
But when compiling i am getting following error.
# cc test1.c -o test1
Internal Error: Corrupted codeword in file /opt/aCC/newconfig/aCC.cwd.
Then i checked that file:
# more /opt/aCC/newconfig/aCC.cwd
6429351087c3366d6f30124070
How to solve this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-2009 12:11 PM
10-08-2009 12:11 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
It looks like a licnese /codeword issue,
Have you applied the HP C++ codeword correctly, that came in a printed paper or you may got from HP licensing support:
Check this link for 'Internal Error: Corrupted codeword' issue :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=1290876
http://www.unix.com/hp-ux/25238-ansi-c-compiler-hp-ux-11-11-a.html
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-2009 09:47 PM
10-08-2009 09:47 PM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
Internal Error: Corrupted codeword in file /opt/aCC/newconfig/aCC.cwd.
>How to solve this?
Make sure you don't have a DOS file with a CR on the end of the line. See dos2ux(1).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-13-2009 05:01 AM
10-13-2009 05:01 AM
Re: How to find the installed compiler in HPUX 11.11
Re: How to find the installed compiler in HPUX 11.11
You are correct now it is working fine.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP