RETRO.COM.ES

Web sobre informática retro y vintage

Herramientas de usuario

Herramientas del sitio


vax:c

Lenguaje C

Si se desean instalar juntos el lenguaje C y C++, deberán instalarse en este orden, primero el C++ y después el C

Material necesario:

  • Software CC0641).
  • Un PAK de licencia C válido.

Se arranca el sistema y se abre sesión con SYSTEM

Si no está ya, se “introduce” la imagen de disco en el “lector virtual”.

$ (Pulsar Ctrl+E)
Simulation stopped, PC: 834B4F43 (CMPL R4,R5)
sim> attach -r rq3 AG-RX5RG-BE.iso
RQ: unit is read only
sim> cont
_

Se monta el CDROM

mount/over=id dua3:
%MOUNT-I-WRITELOCK, volume is write locked
%MOUNT-I-MOUNTED, VAXBINDEC073 mounted on _VAX$DUA3:
$ _

Se resgistra y activa el PAK

$ LICENSE REGISTER C /ISSUER=DEC /AUTHORIZATION=HOBBYIST-XX-KEY99999-999999 /PRO
DUCER=DEC /UNITS=0 /ACTIVITY=CONSTANT=100 /TERMINATION_DATE=dd-mmm-yyyy /CHECKSUM
=9-XXXX-XXXX-XXXX-XXXX
$ LICENSE LOAD C
%LICENSE-I-LOADED, DEC C was successfully loaded with 0 units
$ _

Si está instalado e iniciado TCP/IP se detiene con

$ @sys$startup:tcpip$shutdown

Se realiza la instalación

$ @sys$update:vmsinstal cc064 dua3:[cc064.kit]


	OpenVMS VAX Software Product Installation Procedure V7.3


It is DD-MMM-YYYY at HH:MM.

Enter a question mark (?) at any time for help.

* Are you satisfied with the backup of your system disk [YES]? (Pulsar ENTER)



The following products will be processed:

  CC V6.4


	Beginning installation of CC V6.4 at HH:MM

%VMSINSTAL-I-RESTORE, Restoring product save set A ...
%VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP.

  Compaq C Version 6.4 for OpenVMS VAX Systems
!
!  Copyright 2001 Compaq Computer Corporation
!
!  Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office.
!  
!  Confidential computer software. Valid license from Compaq required for
!  possession, use or copying. Consistent with FAR 12.211 and 12.212,
!  Commercial Computer Software, Computer Software Documentation, and
!  Technical Data for Commercial Items are licensed to the U.S. Government
!  under vendor's standard commercial license. 
!


        Product:      C
        Producer:     DEC
        Version:      6.4
        Release Date: 05-JAN-2001


* Does this product have an authorization key registered and loaded? y

    HTML, postscript and text versions of the Compaq C Users Guide,
    Language Reference Manual and RTL Reference Manual may be optionally
    installed into SYS$COMMON:[SYSHLP.CC$VAX_HELP_064].
    These documents consume approximately 40000 blocks.

* Should these manuals be provided [NO]: (Pulsar ENTER)

    This kit contains a file summarizing the new features, changes,
    restrictions, and compatibility issues in this release of Compaq C.
    This file is named CC064.RELEASE_NOTES and has been placed in
    sys$common:[syshlp.cc$vax_help064]

    This file contains information valuable to Compaq C programmers.
    Please inform your user community of this file's existence. 


    VAX C is not installed on the system.  Should you install VAX C at
    some future time, you must reinstall Compaq C to provide a command line
    definition for the CC command that can can invoke either product.


    This kit contains an Installation Verification Procedure (IVP)
    to verify the correct installation of Compaq C.  The IVP will
    be left in:

	SYS$COMMON:[SYSTEST]DECC$IVP.COM

    After the installation is complete, you can invoke the command
    file at any time to verify that Compaq C is installed and
    working correctly.

* Do you want to run the IVP after the installation [YES]? (Pulsar ENTER)
* Do you want to purge files replaced by this installation [YES]? (Pulsar ENTER)

All questions have been answered. The installation will take a few minutes.


	The C Runtime Library headers and Starlet headers are installed as 
        a Text Library (.TLB).	The traditional text form  of the headers 
        (.H files) is also provided (for  reference  purposes only) in 
        the directories: SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF] and
        SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C].  
 
        Please note that the compiler does not search the reference areas
        SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF] and 
	SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C] during compilation.  
        Instead headers are taken from the text library.


    Please add SYS$STARTUP:CCXX$STARTUP.COM to the system startup
    procedure called SYS$STARTUP:SYSTARTUP_xxx.

    To use Compaq C for OpenVMS VAX on other VAX nodes of a VMScluster
    enter the command "$ @SYS$STARTUP:CCXX$STARTUP.COM" from a privileged
    account on each such node.  This will install Compaq C images and define
    "DECC$*" system-wide logical names.

%VMSINSTAL-I-SYSDIR, This product creates system disk directory  VMI$ROOT:[SYSHLP.CC$VAX_HELP_064].

        The CXXDEMANGLE utility appears on this system.
	Installation of the kit version will not be performed.
 

    Your OpenVMS system will now be modified to include the
    following new and modified files:

    [SYSEXE]DECC$COMPILER.EXE             [new]
    [SYSMSG]DECC$MSG_SHR.EXE              [new]
    [SYSHLP]HELPLIB.HLP                   [modified]
    [SYSHLP.CC$VAX_HELP_064]*.*           [new]
    [SYSHLP]CC064.RELEASE_NOTES           [new]
    [SYSLIB]DCLTABLES.EXE                 [modified]
    [SYSLIB]DECC$RTLDEF.TLB               [new]
    [DECC$LIB.REFERENCE.SYS$STARLET_C]*.H [new]
    [DECC$LIB.REFERENCE.DECC$RTLDEF]*.H   [new]
    [SYSLIB]DECC$OLB.EXE                  [new]
    [SYSLIB]DECC$OLB.README               [new]
    [SYSLIB]DECC$OLB.OLB                  [new]
    [SYS$STARTUP]CCXX$STARTUP.COM         [modified]
    [SYSEXE]DECC$SET_VERSIONS.COM         [new]
    [SYSEXE]DECC$SHOW_VERSIONS.COM        [new]
    [SYSTEST]DECC$IVP.COM                 [modified]


    The file SYS$STARTUP:CCXX$STARTUP.COM contains commands to be
    executed at system startup to allow for the best compilation
    performance.  You may want to invoke this command file from your
    system's site specific start up file.  This command file does not
    have to be invoked for correct operation of Compaq C.

%VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories...

    Beginning COMPAQ C V6.4 Installation Verification Procedure

    Copyright 2001 Compaq Computer Corporation

    Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office.

    Confidential computer software. Valid license from Compaq required for
    possession, use or copying. Consistent with FAR 12.211 and 12.212,
    Commercial Computer Software, Computer Software Documentation, and
    Technical Data for Commercial Items are licensed to the U.S. Government
    under vendor's standard commercial license.

    Image Check Complete
    License Check Complete
    Version Check Complete
    Message Check Complete
    Header Check Complete
    Run Time Library Check Complete

    COMPAQ C V6.4 Installation Verification Procedure Successful


	Installation of CC V6.4 completed at HH:MM

    Adding history entry in VMI$ROOT:[SYSUPD]VMSINSTAL.HISTORY


	VMSINSTAL procedure done at HH:MM


$ _

Si se ha detenido TCP/IP se puede volver a inciar con

$ @sys$startup:tcpip$startup

Si no se ha instalado el C++, o bién se omitió este paso se edita sys$manager:systartup_vms.com para añadir la línea @SYS$STARTUP:CCXX$STARTUP al final

$ set term/vt100
$ edit sys$manager:systartup_vms.com

Se pulsa [AvPág] hasta el final, y se añade la línea indicada en rojo.

$! To start the OpenVMS Management Station server application, remove the
$! the comment delimiter ($!) from the command line below.
$!
$!$ @SYS$STARTUP:TNT$STARTUP
$!
$!
$! Remove the comment delimiter ($!) from the following line to have
$! Monitor run with TCP/IP.
$!
$!$ @SYS$STARTUP:VPM$STARTUP.COM
$!
$!
$! Remove the comment delimiter ($!) from the following line to start
$! RPC services.
$!
$!$ @SYS$STARTUP:DCE$RPC_STARTUP.COM
$!
$ MOUNT/SYSTEM DUA1 DATA1
$ @SYS$MANAGER:STARTNET
$ @SYS$STARTUP:CCXX$STARTUP
$ EXIT
 Buffer: SYSTARTUP_VMS.COM                           | Write | Insert | Forward 

410 lines read from file SYS$COMMON:[SYSMGR]SYSTARTUP_VMS.COM;3

Se pulsa [Ctrl+Z] para salir y guardar, y ya está listo.

Se puede probar algún programa de ejemplo o seguir instalando otros lenguajes.

1)
Disponible en el disco 3 AG-RX5RG-BE del Software Products Library for OpenVMS VAX (2007 December)
©2017-2024, jCæsar Contacto

Herramientas de la página