Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

CCadmin(1)

Name

CCadmin - clean the templates database; provide information from and updates to the database

Synopsis

CCadmin [ -clean=o ] [ -ddir ] [ -info [=symbol [,...]] ]
     [ -V ]

Description

You can use the CCadmin utility to clean the template instantiation and source browser database (this is the same as the obsolete utility ptclean) as well as the SunWS_cache directory.

CCadmin provides information from the database for a given list of mangled filenames present 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.

Options

-clean=o

o must be one of the following:

pch

Clean C and C++ precompiled header information.

CCpch

Clean only C++ precompiled header information.

ccpch

Clean only C precompiled header information.

tmpl

Clean only template instantiations.

sb

Clean only source browser data.

all

Clean the entire cache.

CCadmin -clean means CCadmin -clean=all. The sub-options accumulate so the commands CCadmin -clean=CCpch -clean=tmpl have the same meaning as CCadmin -clean=CCpch,tmpl.

-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:

  • an object file name created by the user (example: t.o)

  • a 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

Example 1 List Information about all Objects in the Templates Database
CCadmin -info
Example 2 List Information about the Specified Symbols
CCadmin -info=t.o,EpuXSD5gnAQhdXWFrwohZBoZ3
Example 3 List Information about all Template Names Starting with "st"
CCadmin -info=st
Example 4 List Information about all Template Names Starting with "stack<int"
CCadmin -info="stack<int"
::p".">::p"."> Example 5 List Information about all Template Names Starting with "stack<int,int>::p".
CCadmin -info="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

CC(1)