Re: Porting HP C from Alpha to Itanium - __DIVG_C



In article <f3jrui$pr4$1@xxxxxxxxxxxxxxxxxxx>, "FredK" <fred.nospam@xxxxxxx> writes:

"Larry Kilgallen" <Kilgallen@xxxxxxxxxxx> wrote in message
news:LkYWkZCqZrm8@xxxxxxxxxxxxxxxxxxxxxxxxxxx
I have not had much contact with Itanium due to the lack of PLI and
compatible Ada compilers. But I (naively) told someone their Alpha
C program would be "compile-and-link" on Itanium and she could keep
her VAX behavior with compatible source between Alpha and Itanium.

Now when I try HP C V7.2-022 on OpenVMS IA64 V8.3, I get:

cc/standard=vaxc/extern=strict/nomember_alignment/debug/nooptimize/list=DISK$USER:[KILGALLEN.TEST.LIS]/show=include/float=d_float
MATH.C

dfloat_temp = __DIVG_C(dfloat_temp, gfloat_ten);
.......................^
%CC-E-BIFNOTAVAIL, Built-in function __DIVG_C is not available on this
platform.
at line number 1872 in file DISK$USER:[KILGALLEN.TEST.SRC]MATH.C;1
%MMS-F-ABORT, For target MATH.OBJ, CLI returned abort status: %X10B91262

What is the replacement technique for __DIVG_C on Itanium ?

The documentation all seems to indicate that it is still there... but
perhaps it is because you are doing a divide G chopped and compiling with
D_FLOAT?

Thanks for the suggestion, but when I switch that /float=d_float
to /float=g_float, I get the same compilation error.
.



Relevant Pages

  • Re: Porting HP C from Alpha to Itanium - __DIVG_C
    ... compatible Ada compilers. ... But I told someone their Alpha ... What is the replacement technique for __DIVG_C on Itanium? ...
    (comp.os.vms)
  • Re: Porting HP C from Alpha to Itanium - __DIVG_C
    ... compatible Ada compilers. ... But I told someone their Alpha ... her VAX behavior with compatible source between Alpha and Itanium. ... What is the replacement technique for __DIVG_C on Itanium? ...
    (comp.os.vms)
  • Re: common code base for ALPHA and Itanium and compilers
    ... Presumably, this means that, at least as long as ALPHA is not ... > dark about what the situation is with compilers. ... > whether or not there is a common code base between ALPHA and Itanium. ... To answer your Fortran questions, I'm not the Fortran expert, but I'll ...
    (comp.os.vms)
  • Re: common code base for ALPHA and Itanium and compilers
    ... Presumably, this means that, at least as long as ALPHA is not ... >> dark about what the situation is with compilers. ... >> whether or not there is a common code base between ALPHA and Itanium. ... > To answer your Fortran questions, I'm not the Fortran expert, but I'll ...
    (comp.os.vms)
  • Re: Porting HP C from Alpha to Itanium - __DIVG_C
    ... compatible Ada compilers. ... But I told someone their Alpha ... What is the replacement technique for __DIVG_C on Itanium? ...
    (comp.os.vms)