Tools that come with FPC

Tools that come with Free Pascal

Free Pascal comes with several command-line tools that you can use to ease your programming. The following tools are available:
  1. h2pas is a small command-line utility that can be used to translate C header files to pascal units. The Free Pascal team uses it to make import units for important C libraries such as GTK or MySQL.
  2. fpcmake is a tool that allows you to make complex makefiles to compile programs and units with FPC. The Free Pascal team uses it to create all it's makefiles.
  3. ppdep is a small utility that scans a program or unit and creates a depend file that can be used for inclusion by make. It understands conditional symbols and interdependency of units.
  4. delp is a small utility that scans a directory for files left over by the Free Pascal compiler, and deletes them.
  5. ppudump dumps the contents of a unit in human-readable format. It understands older versions of units and gracefully handles unknown (future) versions.
  6. ppufiles lists the object files that you need to link in when using a unit file. It lists all libraries and units that are needed.
  7. ppumove combines several units into one; as such it can be used to create static and dynamic libraries.
  8. ptop is a configurable source formatter. It pretty-prints your pascal code, much like indent does for C code.
  9. rstconv is a small utility that converts .rst files (files that contain resource strings, as created by the compiler to some other format. (GNU gettext at the moment)
  10. TP Lex and Yacc, written by Albert Graef. It can be used to create pascal units from a Lex vocabulary and Yacc grammar.