Introduction

Overview

Free Pascal is a 32,64 and 16 bit professional Pascal compiler. It can target multiple processor architectures: Intel x86, AMD64/x86-64, PowerPC, PowerPC64, SPARC, and ARM. Supported operating systems include Linux, FreeBSD, Haiku, Mac OS X/iOS/Darwin, DOS, Win32, Win64, WinCE, OS/2, MorphOS, Nintendo GBA, Nintendo DS, and Nintendo Wii. Additionally, JVM, MIPS (big and little endian variants), i8086 and Motorola 68k architecture targets are available in the development versions.

Latest News

October 15th, 2014

Some FPC users may have observed issues with delivery of e-mails from FPC (and other) mailing lists. Certain large e-mail providers decided to implement a policy which effectively disallows use of e-mail accounts hosted by them in mailing lists (see here). Unfortunately, none of the supposed solutions proposed by them for mailing lists are really usable at this point in time at least.

Note that affected are not only Yahoo (and AOL) e-mail accounts but also e-mail accounts hosted by companies which implemented the so-called DMARC policy support, because they have to respect the Yahoo's DMARC policy (blocking mailing lists) and thus they reject e-mails sent from Yahoo addresses to the mailing lists. Addresses from such DMARC-compliant providers may be in turn also disabled and/or unsubscribed by the mailing list software as a side-effect due to the fact that their mail servers start rejecting e-mails sent from Yahoo addresses to the mailing lists. Among others, such providers includes e.g. Microsoft (hosting e.g. outlook.com or hotmail.com addresses).

March 11th, 2014

FPC 2.6.4 has been released! Free Pascal 2.6.4 is a point release from the 2.6.0 fixes branch.

Some highlights are:

See the changelog for the list of reported bugs which have been fixed in this release.

Downloads are available from the download page (mirrors should follow soon).

Some archives are still being uploaded

A list of changes that may require changes to existing code is also available.

Older news...

Current Version

Version 2.6.4 is the latest stable version the Free Pascal. Hit the download link and select a mirror close to you to download your copy. The development releases have version numbers 2.7.x. See the development page how to obtain the latest sources and support development.

Features

The language syntax has excellent compatibility with TP 7.0 as well as with most versions of Delphi (classes, rtti, exceptions, ansistrings, widestrings, interfaces). A Mac Pascal mode, largely compatible with Think Pascal and MetroWerks Pascal, is also available. Furthermore Free Pascal supports function overloading, operator overloading, global properties and several other extra features.

Requirements

x86 architecture:
For the 80x86 version at least a 386 processor is required, but a 486 is recommended. The Mac OS X version requires Mac OS X 10.4 or later, with the developer tools installed.
PowerPC architecture:
Any PowerPC processor will do. 16 MB of RAM is required. The Mac OS classic version is expected to work System 7.5.3 and later. The Mac OS X version requires Mac OS X 10.3 or later (can compile for 10.2.8 or later), with the developer tools installed. On other operating systems Free Pascal runs on any system that can run the operating system.
ARM architecture
16 MB of RAM is required. Runs on any ARM Linux installation.
Sparc architecture
16 MB of RAM is required. Runs on any Sparc Linux installation (solaris is experimental).

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.