- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- best way to determine what "C compiler" is executi...
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
02-18-2004 08:51 AM
02-18-2004 08:51 AM
Just would like your respected opinions on locating "compilers" on hp-ux system. The proceedures I have followed in the past have been as follows:
which cc ( locates path of "cc" ):
/usr/bin/cc
what /usr/bin/cc ( delivers product # & version # ):
HP92453-01 A.11.01.21 HP C (Bundled) Compiler
$ Sep 8 2000 23:13:51 $
ls -la /usr/bin/cc ( delivers what "/usr/bin/cc" is linked to ):
lrwxr-xr-t 1 root sys 15 Dec 12 09:17 /usr/bin/cc -> /usr/ccs/bin/cc
( actual bundled "C" compiler )
Does this sound correct ? I attempted to execute "swlist" for ( product, bundle, fileset ) but only received the following:
swlist -l product | grep -i compiler
CPS B.11.11 Compiler Parallel Support Library
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 09:05 AM
02-18-2004 09:05 AM
Re: best way to determine what "C compiler" is executing on system
coc741(root):/opt/mcafee> swlist -l product |grep -i compiler
C-ANSI-C B.11.11.08 HP C/ANSI C Compiler
CPS B.11.11 Compiler Parallel Support Library
coc741(root):/opt/mcafee> swlist |grep -i ansi
B3901BA B.11.11.08 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800)
coc741(root):/opt/mcafee>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 09:08 AM
02-18-2004 09:08 AM
Re: best way to determine what "C compiler" is executing on system
HP bundles a minimal C compiler in the OS strictly to compile the kernel - no more, no less. Anything further requires the non-free C product. Tully's method will determine whether you have it or not.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 09:12 AM
02-18-2004 09:12 AM
Re: best way to determine what "C compiler" is executing on system
of "cc" compiler. I will talk to old "money bags" abount getting the "ANSI C" product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 09:12 AM
02-18-2004 09:12 AM
Re: best way to determine what "C compiler" is executing on system
Elena's correct - The Ansi C compiler is a BUNDLE & will not be reported in an -l product command - just do
swlist | grep -i ansi
Rgds,
Jeff