Lazarus and the Free Pascal Compiler
The recommended/required version of the Free Pascal Compiler for the Lazarus IDE depends from the Lazarus version:
- Lazarus 1.0 up to 1.0.6: FPC 2.6.0
- Lazarus 1.0.8 - 1.2.2: FPC 2.6.2
- Lazarus 1.2.4 and newer: FPC 2.6.4
The recommended FPC version together with the matching Lazarus release can be found at the Lazarus sourceforge download area. FPC standalone releases can be found at the Free Pascal sourceforge site. Various source packages and binaries are available from these download sites.
From the Free Pascal Compiler website:
Free Pascal (originally named FPK Pascal) is a 32-bit and 64-bit modern Pascal compiler. It is available for different processors (including the Intel 80386 and compatibles and Motorola 680x0) and operating systems (Linux, FreeBSD, NetBSD, DOS, Windows, OS/2, BeOS, SunOS (Solaris), QNX and Classic Amiga).
The language syntax is semantically compatible with Turbo Pascal 7.0 as well as most versions of Delphi (classes, rtti, exceptions, ansistrings). Furthermore Free Pascal supports function overloading, operator overloading and other such features.
For the Intel x86 version at least a 386 processor is required, but a 486 is recommended. For the Motorola 680x0 version, a 68020 or later processor is recommended. In all cases, a minimum of 8 Megabytes of RAM is recommended, but the compiler is reported to work with 2 Megabytes of RAM.
The packages and runtime library come under a modified Library GNU Public License to allow the use of static libraries when creating applications. The compiler source itself comes under the GNU General Public License. The source code for both the compiler and runtime library are available; the complete compiler is written in Pascal.
- FPC wiki
- User's guide
- Programmer's guide
- Reference guide for the system unit, and supported Pascal constructs
- Standard units reference manual
- Run Time Library reference manual
- Free Component Library reference manual
- Free Pascal documentation tool manual