CCadmin(1)
NAME
CCadmin − clean the templates database; provide information from and updates to the database.
SYNOPSIS
CCadmin [ -clean ] [ -ddir ] [ -info [=symbol [,...]] ]
[ -V ]
DESCRIPTION
CCadmin performs the following functions:
Cleans the database (this is the same as the obsolete utility ptclean).
Provides information from the database for a given list of mangled filenames in the database. The information provided for each filename includes: header file dependencies, symbols instantiated in the file, and command line options used to compile the file.
Provides information from the database for a given list of symbols. Here, a symbol is a template name. For each symbol, the information provided includes: all instantiated names that match the given symbol, and the file in which they are instantiated.
OPTIONS
−clean
Clean the template database. This will simply do:
rm -rf SunWS.cache/CC_∗
−ddir
Use dir as the directory containing the database. The default value of dir is the current directory. Example: If the database directory is /foo/bar/SunWS_cache, use:
CCadmin -d/foo/bar
−flags
Show summary of options.
−info[=symbol[,...]]
Provide information from the database about each symbol in the list. If only -info is specified, information is printed about all object files in the database. If a symbol list is specified, information is printed only for those symbols.
A symbol can be one of:
- object file name created by the user (example: t.o)
- mangled file name created in the database
- a string specifying a template name. If ’<’ or ’>’ is used in the name, the name should be enclosed in quotes to keep these characters from being treated as shell redirection symbols.
If a template name is specified, CCadmin simply does a string comparison and prints information about the template names starting with that string.
-V Print version string.
EXAMPLES
CCadmin -info
lists information about all objects in the templates database
CCadmin -info=t.o,EpuXSD5gnAQhdXWFrwohZBoZ3
lists information about the specified symbols
CCadmin -info=st
lists information about all template names starting with "st"
CCadmin -info="stack<int"
lists information about all template names starting with "stack<int"
CCadmin -info="stack<int,int>::p"
lists information about all template names starting with "stack<int,int>::p"
FILES
./SunWS_config/CC_tmpl_opt
Replaces Template.opt
./SunWS_cache/CC_state
Replaces Dependency.state and CDR.state
./SunWS_cache/CC_import/
Lists imported template instantiations
./SunWS_cache/CC_obj_[0-9@A-Z_a-z]
Places objects under two-level hierarchy
SEE ALSO
SunOS WorkShop_5.0 — Last change: 98/11/30