Sign in Join
FPDoc Onlineexperiment

User's Guide

Installing Free Pascal, compiling, the command line and its options, configuration files and the tools.

  1. Introduction
    1. About this document
    2. About the compiler
    3. Getting more information.
  2. Installing the compiler
    1. Before Installation : Requirements
    2. Installing the compiler.
    3. Optional configuration steps
    4. Before compiling
    5. Testing the compiler
  3. Compiler usage
    1. File searching
    2. Compiling a program
    3. Compiling a unit
    4. Units, libraries and smartlinking
    5. Reducing the size of your program
  4. Compiling problems
    1. General problems
    2. Problems you may encounter under DOS
  5. Compiler configuration
    1. Using the command line options
    2. Using the configuration file
    3. Variable substitution in paths
  6. The IDE
    1. First steps with the IDE
    2. Navigating in the IDE
    3. Windows
    4. The Menu
    5. Editing text
    6. Searching and replacing
    7. The symbol browser
    8. Running programs
    9. Debugging programs
    10. Using Tools
    11. Project management and compiler options
    12. Customizing the IDE
    13. The help system
    14. Keyboard shortcuts
  7. Porting and portable code
    1. Free Pascal compiler modes
    2. Turbo Pascal
    3. Porting Delphi code
    4. Writing portable code
  8. Utilities that come with Free Pascal
    1. Demo programs and examples
    2. fpcmake
    3. fpdoc - Pascal Unit documenter
    4. h2pas - C header to Pascal Unit converter
    5. h2paspp - preprocessor for h2pas
    6. ppudump program
    7. ppumove program
    8. ptop - Pascal source beautifier
    9. rstconv program
    10. unitdiff program
  9. Units that come with Free Pascal
    1. Standard units
    2. Under DOS
    3. Under Windows
    4. Under Linux and BSD-like platforms
    5. Under OS/2
    6. Unit availability
  10. Debugging your programs
    1. Compiling your program with debugger support
    2. Using gdb to debug your program
    3. Caveats when debugging with gdb
    4. Support for gprof , the GNUprofiler
    5. Detecting heap memory leaks
    6. Line numbers in run-time error backtraces
    7. Combining heaptrc and lineinfo
  11. Alphabetical listing of command line options
    1. Alphabetical list of reserved words
      1. Compiler messages
        1. General compiler messages
        2. Scanner messages.
        3. Parser messages
        4. Type checking errors
        5. Symbol handling
        6. Code generator messages
        7. Errors of assembling/linking stage
        8. Executable information messages.
        9. Linker messages
        10. Unit loading messages.
        11. Command line handling errors
        12. Whole program optimization messages
        13. Package loading messages.
        14. Assembler reader errors.
      2. Run-time errors
        1. A sample gdb.ini file
          1. Options and settings
            1. Getting the latest sources or installers
              1. Download via Git
              2. Downloading a source zip
              3. Downloading a snapshot
            2. Terminal emulator configuration examples
              1. XTerm terminal configuration file
              2. Kitty terminal configuration file

            An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.