HP OpenVMS Systems

ask the wizard
Content starts here

C Programming (LINK) Questions?

» close window

The Question is:

Here is my configuration:
DEC C V5.6-003 on OpenVMS VAX V6.2
I have read some of the FAQs about the missing C library, and my question is
 about  " using the backport library available with DEC C V5.6 and later
Since I have installed C 5.6 compiler, I should have installed the C library
 too. Right? But it does not compile as I expect.
Does "backport library" mean that I must compile on VMS7.0 and can run on 6.2?
Or does it mean that I need to install some library package on my 6.2? If so
 where can I find it?
Thank you for your help.

The Answer is :

  Missing C library?  The OpenVMS Wizard will assume that this is a
  reference to a failure to include the /PREFIX qualifier on the C
  compilation.  When compiling with Compaq C, please specify the
  appropriate keyword on the /PREFIX qualifier, such as /PREFIX=ALL.
  The Compaq C backport library IS NOT intended for moving code from
  later OpenVMS releases to earlier OpenVMS releases, it is intended
  to permit access to more recent OpenVMS features on earlier OpenVMS
  The OpenVMS Wizard recommends the use of the standard shareable image
  run-time libraries, the /PREFIX qualifier, the use of the current ECO
  kit for the Compaq C RTL (which will normally get you the latest
  available C functions), and the use of upward-compatibility.
  For details on using the C object libraries -- an approach that the
  OpenVMS Wizard generally does NOT recommend -- please see the available
  C product documentation (http://www.openvms.compaq.com/commercial/c/).

answer written or last revised on ( 15-NOV-2000 )

» close window