Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptclean(1) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PTCLEAN(1)  —  USER COMMANDS

NAME

ptclean − clean up the parameterized types database

SYNOPSIS

ptclean

DESCRIPTION

ptclean clears out (removes) everything from the default templates database, except the possibly user-modified Templates.opt file.  This database (currently, a subdirectory called Templates.DB) is used to store parameterized type (template) instantiations.  Since templates are instantiated automatically by the compiler, changes in the user’s program can render some already-instantiated templates superfluous, but the compiler cannot efficiently verify which instantiations are not currently used.  So, the "ptclean" command removes all instantiations, temporary files, and dependency files from the database.  One reasonable way to use the ptclean command is as one of the commands executed by the "clean:" target in your Makefile. 

FILES

Templates.DB The default database (directory) of template instantiations

Templates.DB/Template.opt
instantiation options file ("mapfile")

Templates.DB/∗.o template instantiation files

Templates.DB/Dependency.state
keeps track of dependencies

Templates.DB/Template.system
auxiliary dependency and map file

Templates.DB/∗.promise auxiliary dependency and map file

LIMITATIONS

ptclean does not yet know how to clean up any alternate template databases. 
 

Sun Release 4.1  —  Last change: 24 June 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026