Free Pascal on RPi

From eLinux.org
Revision as of 19:03, 23 March 2013 by Jwdietrich (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Free Pascal is a professional but free 32 bit / 64 bit compiler for Pascal and ObjectPascal. The Raspberry Pi system is supported with Raspbian OS.

Simple installation

In the Raspbian distribution Free Pascal is easily installed with the following shell commands:

  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get install fpc

You might also want to install Lazarus, a graphical IDE.

There are three modes to use Free Pascal on Raspbian:

  • via the shell command fpc. This requires to enter a number of options along with the fpc command.
  • via the shell command fp. This command starts a text-based IDE.
  • via Lazarus, a very comfortable IDE

See also

External links