cancel
Showing results for 
Search instead for 
Did you mean: 

C compiler

 
SOLVED
Go to solution
christian_derek
Regular Advisor

C compiler

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

6 REPLIES 6
Steven Schweda
Honored Contributor

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:

      http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/

christian_derek
Regular Advisor

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,

Steven Schweda
Honored Contributor

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.

christian_derek
Regular Advisor

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,

Steven Schweda
Honored Contributor

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?

Hawkeye
HPE Pro
Solution

Re: C compiler

Hi,

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.

I work for HPE
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


Accept or Kudo