Difference between revisions of "Lazarus on RPi"

From eLinux.org
Jump to: navigation, search
(Compiling from sources: dead link)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[File:Lazarus on Raspberry Pi.jpg|thumb|200px|right|alt=Lazarus on Raspbian Wheezy|Lazarus on Raspberry Pi.]]
 
[[File:Lazarus on Raspberry Pi.jpg|thumb|200px|right|alt=Lazarus on Raspbian Wheezy|Lazarus on Raspberry Pi.]]
'''[[Lazarus]]''' is a cross-platform IDE for [[Free Pascal]], a professional 32 bit / 64 bit [[Pascal]] Compiler. Lazarus supports a wide variety of processors and Linux distributions including the Raspberry Pi, where it runs natively.
+
'''[[Lazarus]]''' is a cross-platform IDE for [[Free Pascal]], a professional 32 bit / 64 bit [[Pascal]] Compiler. Lazarus supports a wide variety of processors and [[Linux]] distributions including the [[Raspberry Pi]], where it runs natively.
  
 
==Simple installation==
 
==Simple installation==
Line 17: Line 17:
 
==Compiling from sources==
 
==Compiling from sources==
  
The newest versions of Lazarus are distributed as source code. In order to compile Lazarus from subversion sources see [http://www.michellcomputing.co.uk/blog/2012/11/lazarus-on-the-raspberry-pi/ Michell Computing: Lazarus on the Raspberry Pi] for details.
+
The newest versions of Lazarus are distributed as source code. In order to compile Lazarus from subversion sources see [http://www.michellcomputing.co.uk/blog/2012/11/lazarus-on-the-raspberry-pi/ Michell Computing: Lazarus on the Raspberry Pi]<sup>(dead link)</sup> for details.
 +
 
 +
==See also==
 +
 
 +
* [[Free Pascal on RPi]]
 +
 
 +
==Accessing low-level hardware==
 +
 
 +
Hardware hacking is easily possible with the Lazarus wrapper unit for Gordon Henderson's wiringPi C library (see below). Alternatively, the [[GPIO]] port is also accessible directly from Free Pascal as described in the article on [[RPi_Low-level_peripherals#Lazarus_.2F_Free_Pascal|RPi Low-level peripherals]] or, in more detail, in the [http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi Lazarus Wiki].
  
 
== External Links ==
 
== External Links ==
* [http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi Additional information about Lazarus on Raspberry Pi in the Free Pascal wiki]
+
* [http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi Additional information about Lazarus on Raspberry Pi in the Free Pascal wiki] (covers also i/o over the GPIO terminal)
 
* [http://www.lazarus.freepascal.org/index.php/topic,17404.0.html Lazarus wrapper unit for Gordon Henderson's wiringPi C library]
 
* [http://www.lazarus.freepascal.org/index.php/topic,17404.0.html Lazarus wrapper unit for Gordon Henderson's wiringPi C library]
 
+
* [http://superbitysoft.co.uk/lazberrypi/ Lazberry Pi: Comprehensive information on Lazarus on the Raspberry Pi computer].
  
 
{{Template:Raspberry Pi}}
 
{{Template:Raspberry Pi}}
 
[[Category: RaspberryPi]]
 
[[Category: RaspberryPi]]
 
[[Category:Free Pascal]]
 
[[Category:Free Pascal]]

Latest revision as of 13:45, 3 January 2014

Lazarus on Raspbian Wheezy
Lazarus on Raspberry Pi.

Lazarus is a cross-platform IDE for Free Pascal, a professional 32 bit / 64 bit Pascal Compiler. Lazarus supports a wide variety of processors and Linux distributions including the Raspberry Pi, where it runs natively.

Simple installation

In the Raspbian distribution Lazarus and Free Pascal are easily installed with the following shell commands:

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

This installs a ready-to-use precompiled version of Lazarus, however not necessarily the newest one.

Compiling from sources

The newest versions of Lazarus are distributed as source code. In order to compile Lazarus from subversion sources see Michell Computing: Lazarus on the Raspberry Pi(dead link) for details.

See also

Accessing low-level hardware

Hardware hacking is easily possible with the Lazarus wrapper unit for Gordon Henderson's wiringPi C library (see below). Alternatively, the GPIO port is also accessible directly from Free Pascal as described in the article on RPi Low-level peripherals or, in more detail, in the Lazarus Wiki.

External Links