United States |
Previous | Contents |
When you install this kit, it provides the latest CLD file (to established DCL tables), the latest decc$rtldef.tlb, and the latest documentation, even if you select the option of having the new compiler as the alternate compiler. The new CLD file and the new decc$rtldef.tlb do not adversely impact a preexisting Version 6-based compiler because they are upwardly compatible. However, if you attempt to use a new compiler option with an older compiler, you will no longer get a DCL error that the option is not supported. Instead, the option will be silently ignored. For example, note that before installation of Version 6.4, the following would have produced: "%DCL-W-IVQUAL, unrecognized qualifier ...."
$@sys$system:decc$set_version.com 6.2 $ cc /first_include foo.c ! /first_include new in 6.4 $ !No complaint |
And because you must have the newest CLD file and header files in order to use the newest compiler, if you run an older installation procedure to put an older compiler back on your system, you must then re-run the Version 6.4 installation to get the newest files.
Note that there are two logical names involved in establishing the
compiler version: one for the compiler image and one for its message
file. This version of the compiler issues a diagnostic if it is invoked
with the wrong version of the message file, but prevous versions of the
compiler do not detect this situation. If you find that an older
version of the compiler is issuing diagnostics that do not make sense
for the code construct they are attached to, or if the message text is
missing and only a message number is issued, check that you have
matched versions of the files designated by the two logicals using the
command "$ show logical decc$compiler*". The response should show
matching version-numbered files as in the example that selects the
Version 6.2 compiler. Or if you are using the system compiler, the
response should be "%SHOW-S-NOTRAN, no translation for logical name
DECC$COMPILER*".
1.5.3 Installation Procedure Changes
When you install Compaq C Version 6.4 on a system that already has a Version 6.0 or higher compiler installed, you are given the chance to preserve the currently installed system compiler. To do this, answer YES to the following question (the xxx will be replaced by the full version number of the existing system compiler):
"Should the existing xxx system compiler be preserved [NO]:" |
If you answer NO, the installation proceeds in the traditional manner, overwriting the currently installed system compiler.
If you answer YES, you are then asked an additional question. To get the traditional behavior of installing the kit compiler as the system default, answer NO to the question:
"Should this xxx system compiler remain the default when cc is typed [NO]:" |
Because you have previously asked to preserve the existing system compiler, that compiler is made an alternate compiler before the new system compiler is installed from the kit. If you answer YES to the question, the kit compiler is installed as an alternate compiler with a name that is based on its ident, and the existing system default compiler remains the default.
This chapter explains how to install Compaq C:
The Compaq C installation procedure consists of a series of questions and informational messages. See Appendix A for sample installations.
To abort the installation procedure at any time, press Ctrl/Y. When you press Ctrl/Y, the installation procedure deletes all files it has created up to that point and exits. You can then start the installation again.
Defaults appear in brackets ([]) throughout the installation procedure.
Username: SYSTEM Password: $ SET DEFAULT SYS$UPDATE |
@SYS$UPDATE:VMSINSTAL saveset-name device-name OPTIONS N |
saveset-name
The installation name for the component. For Compaq C, use the following installation name:
CC06n
Where n represents the minor (point) release number of Compaq C, such as CC064 for Version 6.4. Refer to the label on the Compaq C distribution kit or the Compaq C BOM or BIL for the maintenance update number of your kit.device-name
The name of the device on which you plan to mount the media, or the name of the device:[directory] that contains the save sets. For example, DKA400: is the device name used in examples in this guide. The directory is [CC06n.KIT], where n is the minor release number.
To specify the device name on the @VMSINSTAL command line, type:
DKA400:[CC06n.KIT]OPTIONS N
An optional parameter that indicates you want to see the question on release notes. If you do not include the OPTIONS N parameter, VMSINSTAL does not ask you about the release notes. You should review the release notes before proceeding with the installation in case they contain additional information about the installation. If you are restarting the installation and have already reviewed the release notes, you do not need to specify OPTIONS N.
There are several other options you can select when you invoke VMSINSTAL:
- Auto_answer (A): Initially creates a file that contains your answers to VMSINSTAL questions and prompts. This option, and the answer file it produces, can save time during a reinstallation (typically after upgrading your system).
- Get save set (G): Stores product save sets temporarily on a magnetic tape or in a disk directory.
- File log (L): Logs all activity to the terminal during installation.
- Alternate root (R): Installs the product to a system root other than that of the running system.
See the OpenVMS documentation on software installation in the OpenVMS System Management Subkit for detailed information on these options. If you specify more than one option, separate the options with commas (for example: OPTIONS A,N).
$ @SYS$UPDATE:VMSINSTAL CC06n DKA400:[CC06n.KIT] OPTIONS N OpenVMS Alpha Software Product Installation Procedure V6.2 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]? |
Where will the distribution volumes be mounted: DKA400:[CC06n.KIT] |
Please mount the first volume of the set on DKA400:. * Are you ready? YES %MOUNT-I-MOUNTED, Compaq C mounted on DKA400: |
The following products will be processed: CC V6.n Beginning installation of CC V6.n at hh:mm %VMSINSTAL-I-RESTORE, Restoring product saveset A... |
Release notes included with this kit are always copied to SYS$HELP. Additional Release Notes Options: 1. Display release notes 2. Print release notes 3. Both 1 and 2 4. None of the above * Select option [2]: |
* Queue name [SYS$PRINT]: |
* Do you want to continue the installation [N]?: YES %VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP. |
SYS$HELP:CC06n.RELEASE_NOTES |
The name of the release notes file installed by VMSINSTAL consists of the current product name and version number. Do not delete release notes for previous versions of Compaq C (if any). |
Compaq C Version 6.n for OpenVMS Alpha 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. |
A C V6.0-001 compiler was found on your system. Type YES to keep this compiler on your system either as the default system compiler, or as an alternate compiler. Type NO to supersede C V6.0-001. |
* Should the existing V6.0-001 system compiler be preserved [NO]: YES |
Type NO to have the compiler on this kit become the default system compiler and to have the currently installed compiler saved as an alternate compiler. Type YES to keep the current system compiler as the default compiler and to have the compiler on this kit available as an alternate compiler. Alternate compilers can be invoked with the cc command after invoking sys$system:decc$set_version.com passing a version_number. |
Should this V6.0-001 system compiler remain the default when cc is typed [NO]: [Return] |
Product: C Producer: DEC Version: 6.4 Release Date: dd-mmm-yyyy |
* Does this product have an authorization key registered and loaded?: yes [Return] |
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]? |
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$ALPHA_HELP_064]. These documents consume approximately 40000 blocks. |
* Should these manuals be provided [NO]? yes [Return] |
SYS$COMMON:[SYSHLP.CC$ALPHA_HELP_064]INDEX.HTM |
This kit contains a file summarizing the new features, changes, restrictions, and compatibility issues in this release of Compaq C. This file is named CC06n.RELEASE_NOTES and has been placed in SYS$HELP:. This file contains information valuable to Compaq C programmers. Please inform your user community of this file's existence. |
* Do you want to purge files replaced by this installation [YES]? |
You have answered all of the questions for this installation. The installation will now execute in 5 to 15 minutes without further intervention, depending on your configuration, installation media, and so forth. The C Runtime Library headers and Starlet headers are installed as a Text Library (.TLB). The traditional text form of the headers (.H files) are 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. %VMSINSTAL-I-SYSDIR, This product creates system disk directory VMI$ROOT:[SYSTEST.DECC]. Your OpenVMS system will now be modified to include the following new and modified files: [SYSEXE]DECC$COMPILER_V06_00-001.EXE [renamed] [SYSMSG]DECC$COMPILER_MSG_V06_01-001.EXE [renamed] [SYSEXE]DECC$COMPILER.EXE [new] [SYSMSG]DECC$COMPILER_MSG.EXE [new] [SYSHLP]HELPLIB.HLB [modified] [SYSHLP]CC$HELP*.HTML [new] [SYSHLP.CC$ALPHA_HELP_064] [new] [SYSHLP]CC064.RELEASE_NOTES [new] [SYSHLP]CC064_RELEASE_NOTES.PS [new] [SYSLIB]DCLTABLES.EXE [modified] [SYSLIB]DECC$COMPILED_PRINTF.OLB [new] [SYSLIB]DECC$RTLDEF.TLB [new] [DECC$LIB.REFERENCE.SYS$STARLET_C]*.H [new] [DECC$LIB.REFERENCE.DECC$RTLDEF]*.H [new] [SYSLIB]DECC$CRTL.OLB [new] [SYSLIB]DECC$CRTL.README [new] [SYS$STARTUP]DECC$STARTUP.COM [modified] [SYSTEST]DECC$IVP.COM [new] [SYSEXE]DECC$SET_VERSIONS.COM [new] [SYSEXE]DECC$SHOW_VERSIONS.COM [new] [SYSTEST.DECC]DECC$IVP*.* [new] The file SYS$STARTUP:DECC$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 startup 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 Help 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.n completed at hh:mm Adding history entry in VMI$ROOT:[SYSUPD]VMSINSTAL.HISTORY Creating installation data file: VMI$ROOT:[SYSUPD]CC06n.VMI_DATA VMSINSTAL procedure done at hh:mm $ LOGOUT SYSTEM logged out at dd-mmm-yyyy hh:mm:ss.ss |
Previous | Next | Contents |
|