[comp.lang.c] A bug in VAX C language -- missing rename

11EKIM%GALLUA.BITNET@CUNYVM.CUNY.EDU (12/11/87)

Hello Everyone:

    When I have work on his own program in C language for VAX/VMS system.
I tried to compile it and it seems ok but LINK command failed to figure
rename statement in VAX C RTL is missing. But VMS help's cc run-time show
rename statement. What happens??? Should I send SPR to DEC company for fix
a bug?

-- Robert E. Kim

BitNet:     11EKIM@GALLUA.BITNET
InterNet:   11EKIM%GALLUA.BITNET@CUNYVM.CUNY.EDU

==============================================================================
11EKIM@BITNET.....

x_borge_k%use.uio.uninett@tor.nta.no (Knut Borge) (12/18/87)

It's not a bug, the problem stems from the fact that the C
runtime-system is shipped with VMS, not with the C compiler.
The rename() function (together with system, memcpy etc.) is
relatively new, and comes with the vaxcrtl shipped with VMS
4.6. The solution is either to upgrade to VMS 4.6, or to
write your own rename function. The latter is not very hard,
I wrote one before we got 4.6, please feel free to contact me
if you want a copy.

Knut Borge
Computing Centre
University of Oslo
Norway

ARPA: x_borge_k%use.uio.uninett@tor.nta.no
      x_borge_k%use.uio.uninett@nta-vax.arpa (old style)

EARN: borge@norunit