Difference between revisions of "Free Pascal on RPi"

From eLinux.org
Jump to: navigation, search
(External links)
(External links)
Line 26: Line 26:
* [http://www.freepascal.org Official Free Pascal site]
* [http://www.freepascal.org Official Free Pascal site]
* [http://www.lazarus.freepascal.org Lazarus portal]
* [http://www.lazarus.freepascal.org Lazarus portal]
* [http://wiki.lazarus.freepascal.org/Lazarus_on_Raspberry_Pi Tutorial in the Lazarus wiki (i/o code examples also apply to pure Free Pascal)]
* [http://wiki.lazarus.freepascal.org/Lazarus_on_Raspberry_Pi Tutorial in the Lazarus wiki] (i/o code examples also apply to pure Free Pascal)
{{Template:Raspberry Pi}}
{{Template:Raspberry Pi}}

Revision as of 00:30, 1 May 2013

Free Pascal on Raspbian Wheezy
Free Pascal on Raspberry Pi (shown is the text-mode IDE).

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 (see screenshot).
  • via Lazarus, a very comfortable IDE

See also

External links