.\".\" Copyright 1987-1992 Sun Microsystems, Inc. .\" @(#)CCadmin.1 1.5 98/11/30 SMI; from _source_ .TH CCadmin 1 "98/11/30" .SH NAME CCadmin \- clean the templates database; provide information from and updates to the database. .SH SYNOPSIS \f3CCadmin\f1 [ \f3-clean\f1 ] [ \f3-d\f2dir\f1 ] [ \f3-info\f1 [\f3=\f2symbol\f1 [\f3,\f1...]] ] .br [ \f3-V\f1 ] .SH DESCRIPTION .LP 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. .SH OPTIONS .TP .B \-clean Clean the template database. This will simply do: .br rm -rf SunWS.cache/CC_* .TP .BI \-d dir Use .I dir as the directory containing the database. The default value of .I dir is the current directory. Example: If the database directory is /foo/bar/SunWS_cache, use: .br CCadmin -d/foo/bar .TP .B \-flags Show summary of options. .TP .B \-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. .IP A symbol can be one of: .br - object file name created by the user (example: t.o) .br - mangled file name created in the database .br - 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. .IP If a template name is specified, CCadmin simply does a string comparison and prints information about the template names starting with that string. .TP .B -V Print version string. .SH EXAMPLES .PD 0 .TP 8 .B CCadmin -info lists information about all objects in the templates database .PD .PD 0 .TP 8 .B CCadmin -info=t.o,EpuXSD5gnAQhdXWFrwohZBoZ3 lists information about the specified symbols .PD .PD 0 .TP 8 .B CCadmin -info=st lists information about all template names starting with "st" .PD .PD 0 .TP 8 .B CCadmin -info="stack::p" .PD .SH FILES .PD 0 .TP 8 .B \./SunWS_config/CC_tmpl_opt Replaces Template.opt .PD .PD 0 .TP 8 .B \./SunWS_cache/CC_state Replaces Dependency.state and CDR.state .PD .PD 0 .TP 8 .B \./SunWS_cache/CC_import/ Lists imported template instantiations .PD .PD 0 .TP 8 .B \./SunWS_cache/CC_obj_[0-9@A-Z_a-z] Places objects under two-level hierarchy .PD .SH "SEE ALSO" .LP CC(1)