- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C compiler
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
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
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-01-2019 07:56 AM
10-01-2019 07:56 AM
Hi,
I'm an ISV and I need to recompile a program the machine we have has an old version of the compiler:
$ cc -V
(Bundled) cc: HP C/aC++ B3910B A.06.12 [Oct 11 2006]
In the past, I was able to download from the OLD DSPP program. Where can I find the most recent verison of the compiler.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:34 AM
10-01-2019 11:34 AM
Re: C compiler
> [...] I need to recompile a program [...]
Not much meat on that bone.
> [...] the machine we have [...]
Is what?
uname -a
> (Bundled) cc: HP C/aC++ B3910B A.06.12 [Oct 11 2006]
The bundled C compiler on HP-UX is intended for building a kernel,
and is not much good for much else. Are you looking for a newer bundled
C compiler, or for a useful C compiler? What's the actual problem which
you're having with the compiler which you have now?
> [...] the OLD DSPP program [...]
Are you now in whatever program HPE has for developers?
> [...] Where can I find the most recent verison of the compiler.
_Which_ "the compiler", and why?
You might also look at GCC. For example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:40 AM
10-01-2019 11:40 AM
Re: C compiler
Hi,
We have bl860c running hpux 11iv3 of march 2019. We are having difficultier with a function inside of a library that we created few years ago. We are trying to had some debug info, but all the documented features don't work. Yes, we are still part of the Partner Ready program,but they are refering me to Micro Focus to get help. We would required a usefull compiler and I thought the hpux compiler was better then gcc.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 03:17 PM
10-01-2019 03:17 PM
Re: C compiler
> [...] all the documented features don't work. [...]
Such as? (Are you _trying_ to make this painful?)
The bundled compiler is deliberately crippled, so if you're expecting
all the features of the for-money compiler to be there, then you may be
disappointed. (The bundled compiler on IA64 is significantly less
crippled than the one on PA-RISC, if that makes you feel any better.)
> [...] we are still part of the Partner Ready program [...]
I know nothing about what that might do for you. If you can get an
HP[E] compiler that way, then you certainly have my permission.
> [...] I thought the hpux compiler was better then gcc.
"better" how? For the money, a free GCC is hard to beat with any
non-free compiler. If you mean performance of the resulting executable,
then that might depend on the program. I haven't done any serious
benchmarking, and I know nothing about your program, so I know nothing
about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 01:41 PM
10-02-2019 01:41 PM
Re: C compiler
this is an example of what we are trying to do...
Example:
The -g0 option enables generation of debug information:
$ aCC -g0 program.C
On Powergirl
$ cc -DLinux -DHPUX -g0 -c errno.c -oerrno.o
(Bundled) cc: warning 922: "-g0" is unsupported in the bundled compiler, ignored.
When I try
$ aCC -DLinux -DHPUX -g0 -c errno.c -oerrno.o
sh: aCC: not found.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 04:20 PM
10-02-2019 04:20 PM
Re: C compiler
> (Bundled) cc: warning 922: "-g0" is unsupported in the bundled
> compiler, ignored.
As I said, crippled. "-g0" looks like an HP-C-specific option; gcc
(gcc) uses different options for debug control. If you wanted to use
GCC, then you'd need to adjust your builders to deal with the different
options. I suspect that you'd also need to use the GNU debugger (gdb).
> sh: aCC: not found.
Either you don't have that compiler installed, or else your PATH
misses it.
If you want the HP[E] compiler, then I can't help you.
> On Powergirl
Should that mean anything to anyone other than you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 02:06 AM
10-03-2019 02:06 AM
SolutionHi,
The C Compiler bundled with HP-UX is primarily included for rebuild of the HP-UX kernel.
You need the HP-UX C/C++ Development Environment that includes the latest C compiler.
The product number for this is B9007AA. This is a licensed/purchased product and hence a Per-Socket or Per-Core license applies depending upon the age/model of your server. e.g. for a rx2800i6 with 2 CPU the PN would be:-
1x B9007AA C/C++ Dev LTU
2x B9007AA 404 C/C++ Dev LTU PSL
DSPP has been retired for many years and the trial version of the compiler is no longer available.
The Technology Partner Program (TPP) was created, although it did not directly replace DSPP.
https://www.hpe.com/us/en/alliance/technology.html
It may be possible to access HP-UX software, such as the C Compiler depot, if you have the correct Partner registration on the TPP. The above link provides contact information for the TPP program. Access to a depot may be provided via a direct FTP link.
Note that Micro Focus are not resposnible for licensing and distribution of the C Compiler, this is HPE proprietary technology, you were advised incorrectly. Certain HP-UX layered product software e.g. GlancePlus did transfer to Micro Focus.
If you are already registered as a Partner, and have access to the Partner Ready Portal, then registration and access to TPP should be easier, but not necessarily straightforward.
You can purchase the C Compiler from your local HPE Sales Rep or HPE Reseller. If you order the Electronic LTU (E-LTU) (append E to the PN) then once the order is complete you will receive a FTP site from which to directly download the depot.
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center Knowledge-base
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 05:52 AM
12-21-2022 05:52 AM
Re: C compiler
Hi
I want to point out that you can download gcc-4.7.2 for HP-UX 11i v3