Forrest logo
tool overview
On this page you find all important commands for the CLI tool gprclean. If the command you are looking for is missing please ask our AI.


Gprclean is a command line tool used for cleaning and removing temporary files generated during the Ada program build process. It is part of the GNAT programming suite, which is an Ada compiler and associated tools developed by AdaCore. The tool's purpose is to remove all intermediate and generated files that are not required for the final executable. The cleaning process includes removing object files, temporary files, dependency files, and other artifacts related to the build. Gprclean is particularly useful when performing a clean build to ensure that no remnants of previous builds interfere with the current build process. It is typically invoked after running the Gprbuild command to build an Ada program. Gprclean supports various command line options for customizing its behavior, such as cleaning specific project files or directories. The tool efficiently analyzes the project's dependencies to determine which files need to be removed, ensuring that only unnecessary files are deleted. By using Gprclean regularly, developers can keep their build directories clean and improve build times by avoiding the recompilation of non-changed files. Gprclean is a valuable tool in the Ada development workflow, helping developers maintain a well-organized and efficient build environment.

List of commands for gprclean:

tool overview