- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find the installed compiler in HPUX 11....
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
Discussions
Discussions
Forums
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
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
тАО10-02-2009 09:39 PM
тАО10-02-2009 09:39 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
> 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
I have installed the C-ANSI-Compiler.
How to check whether it is working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
Uhhhh . . . . . compile something?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
>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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
>>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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
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. :-)
- Tags:
- g++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
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.