Difference between revisions of "Free Pascal"

From Lazarus wiki
(Imported from epikwiki)
 
(Lazarus and the Free Pascal Compiler)
 
(21 intermediate revisions by 12 users not shown)
Line 1: Line 1:
==Lazarus and the Free Pascal Compiler==
+
{{Free Pascal}}
The recommended version of the Free Pascal Compiler for the Lazarus IDE is 1.9.3; there are more recent versions (1.9.4 and 1.9.5, but intermittent instabilities are still being found. The released version 1.9.4 is probably OK). The most recent releases can be found at the [http://sourceforge.net/project/showfiles.php?group_id=2174 Free Pascal sourceforge] site, though the recommended version together with the matching Lazarus release can be found at the [http://sourceforge.net/project/showfiles.php?group_id=89339 Lazarus sourceforge] download area. Various source packages and binaries are available from these download sites.
 
  
The recommended version of the Free Pascal Compiler for the Lazarus IDE is 1.0.10. The latest version can be found in the [http://sourceforge.net/project/showfiles.php?group_id=2174 Files section] of the Lazarus-CCR site as a package called "FPC - updated version". The 1.0.x branch lacks variant and thread support but is well tested and production stable. The 1.1 branch of the compiler also works with Lazarus and will eventually add variants and threads but is under continuous development.
+
== Lazarus and the Free Pascal Compiler ==
 +
The recommended/required version of the '''Free Pascal''' Compiler for the [[Lazarus Faq|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 - 1.4.2: FPC 2.6.4
 +
* Lazarus 1.6.0 - 1.6.2: FPC 3.0.0
 +
* Lazarus 1.6.4: FPC 3.0.2
 +
* Lazarus 1.8.0 and newer: FPC 3.0.4
  
Information where fpc 1.1 can be downloaded or how to connect to CVS, can be found at http://www.freepascal.org/develop.html .
+
The recommended FPC version together with the matching Lazarus release can be found at the [http://sourceforge.net/project/showfiles.php?group_id=89339 Lazarus sourceforge] download area.
 +
FPC standalone releases can be found at the [http://sourceforge.net/project/showfiles.php?group_id=2174 Free Pascal sourceforge] site. Various source packages and binaries are available from these download sites.
  
==From the Free Pascal Compiler website:==
+
== From the Free Pascal Compiler website: ==
===Overview===
+
=== Overview ===
Free Pascal (aka FPK Pascal) is a 32 bit pascal compiler. It is available for different processors (Intel 80386 and compatibles and Motorola 680x0) and operating systems (Linux, FreeBSD, NetBSD, DOS, Win32, OS/2, BeOS, SunOS (Solaris), QNX and Classic Amiga).
+
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).
  
===Features===
+
=== Features ===
The language syntax is semantically compatible with TP 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.
+
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.
  
===Requirements===
+
=== Requirements ===
For the intel 80x86 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.
+
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.
  
===License===
+
=== License ===
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 sources for both the compiler and runtime library are available; the complete compiler is written in Pascal.
+
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.
  
===Documentation===
+
=== Documentation ===
 
The Free Pascal Compiler documentation is available on [http://lazarus-ccr.sourceforge.net/fpcdoc/ this site] or it can be found online and in a variety of downloadable formats on the main [http://www.freepascal.org/docs.html Free Pascal Compiler site].
 
The Free Pascal Compiler documentation is available on [http://lazarus-ccr.sourceforge.net/fpcdoc/ this site] or it can be found online and in a variety of downloadable formats on the main [http://www.freepascal.org/docs.html Free Pascal Compiler site].
 +
* [[fpc:Main Page | FPC wiki]]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/user/user.html User's guide]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/prog/prog.html Programmer's guide]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/ref/ref.html Reference guide for the system unit, and supported Pascal constructs]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/units/units.html Standard units reference manual]
 +
* [http://lazarus-ccr.sourceforge.net/docs/rtl/index.html Run Time Library reference manual]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/fcl/index.html Free Component Library reference manual]
 +
* [http://lazarus-ccr.sourceforge.net/fpcdoc/fpdoc/fpdoc.html Free Pascal documentation tool manual]
  
[http://lazarus-ccr.sourceforge.net/fpcdoc/user/user.html User's guide] <br>
+
=== Free Pascal Compiler Homepage ===
[http://lazarus-ccr.sourceforge.net/fpcdoc/prog/prog.html Programmer's guide] <br>
+
* http://www.freepascal.org/ - Main site <br>
[http://lazarus-ccr.sourceforge.net/fpcdoc/ref/ref.html Reference guide for the system unit, and supported Pascal constructs] <br>
+
* http://sourceforge.net/projects/freepascal/ - Sourceforge download site
[http://lazarus-ccr.sourceforge.net/fpcdoc/units/units.html Standard units reference manual] <br>
 
[http://lazarus-ccr.sourceforge.net/docs/rtl/index.html Run Time Library reference manual] <br>
 
[http://lazarus-ccr.sourceforge.net/fpcdoc/fcl/index.html Free Component Library reference manual] <br>
 
[http://lazarus-ccr.sourceforge.net/fpcdoc/fpdoc/fpdoc.html Free Pascal documentation tool manual] <br>
 
  
===Free Pascal Compiler Homepage===
+
[[Category:FPC]]
http://www.freepascal.org/ - Main site <br>
 
http://sourceforge.net/projects/freepascal/ - Sourceforge download site
 
 
 
==Original contributors and changes==
 
This page has been converted from the epikwiki [http://lazarus-ccr.sourceforge.net/index.php?wiki=FreePascal version].
 
* Page created, initial content - [[User:Tom | VlxAdmin]] 9/22/2003
 
* Added link for fpc 1.1 downloads - [[User:Vincent|Vincent]] 9/28/2003
 
* Added FPC Documentation and links - [[User:Tom | VlxAdmin]] 10/20/2003
 

Latest revision as of 20:46, 14 December 2019

Deutsch (de) English (en) français (fr) 日本語 (ja) slovenčina (sk)

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 - 1.4.2: FPC 2.6.4
  • Lazarus 1.6.0 - 1.6.2: FPC 3.0.0
  • Lazarus 1.6.4: FPC 3.0.2
  • Lazarus 1.8.0 and newer: FPC 3.0.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:

Overview

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).

Features

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.

Requirements

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.

License

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.

Documentation

The Free Pascal Compiler documentation is available on this site or it can be found online and in a variety of downloadable formats on the main Free Pascal Compiler site.

Free Pascal Compiler Homepage