RLSID(1-SysV) RISC/os Reference Manual RLSID(1-SysV)
NAME
rls_id - generate release identification file
SYNOPSIS
rlsid [ -c ] message [ output-file ]
DESCRIPTION
Starting with MIPS compiler release 1.30, the compiler
driver will use the value of the environment variable
RLS_ID_OBJECT as the name of a file to link in as the last
item in the link line (after all libraries). The intention
is that this will be used to mark executable files with
identification strings specific to a given release or set of
executables.
The command rlsid is used to generate a file that contains
strings that are understood by the RCS command ident(1) and
the SCCS command what(1). The strings are static, so they
do not affect the running of the executable.
The message argument may contain any alphanumeric charac-
ters, space, tab, or punctuation with the exception of $, ",
and > (RCS and SCCS control characters). Invalid messages
will be rejected.
Unless -c is given, the data is compiled and placed in the
file named by output-file or, if no output-file is given,
the file named by the variable RLS_ID_OBJECT.
OPTIONS
-c Generate the C source on the standard output.
This is useful when the compiler to be used to
generate the executables is not the standard com-
piler (/bin/cc or /usr/bin/cc).
EXAMPLES
The following three sets of commands will generate a file
called rlsid.o with the identification string ``RISC/os
4.5'':
rls_id "RISC/os 4.5" rls_id.o
RLS_ID_OBJECT ="rls_id.o"
export RLS_ID_OBJECT
rls_id "RISC/os 4.5"
rls_id -c "RISC/os 4.5" > rls_id.c
Printed 1/15/91 Page 1
RLSID(1-SysV) RISC/os Reference Manual RLSID(1-SysV)
cc -c rls_id.c
Note that the second set uses Bourne Shell (/bin/sh) syntax
and not that of the C-shell.
SEE ALSO
cc(1), ident(1), what(1).
Page 2 Printed 1/15/91