Thứ Hai, Tháng Hai 10, 2025
spot_img
HomeTechnologyFree Pascal - 3.2.2 - QuanTriMang.com

Free Pascal – 3.2.2 – QuanTriMang.com

What is Free Pascal?

Free Pascal is an open source, flexible and complete Pascal compiler. It can target multiple processor architectures: Intel x86 (16 and 32 bit), AMD64/x86-64, PowerPC, PowerPC64, SPARC, SPARC64, ARM, AArch64, MIPS, Motorola 68k, AVR and JVM .

Supported operating systems include Windows (16/32/64 bit, native CE and NT), Linux, Mac OS X/iOS/iPhoneSimulator/Darwin, FreeBSD and other BSD types, DOS (16 bit or 32 bit DPMI ), OS/2, AIX, Android, Haiku, Nintendo GBA/DS/Wii, AmigaOS, MorphOS, AROS, Atari TOS and other embedded platforms.

Additionally, support for RISC-V (32/64), Xtensa and Z80 architectures, as well as for the LLVM compiler infrastructure is available in the development version. Besides that, the Free Pascal team also maintains a Pascal to Javascript converter called pas2js.

Free Pascal is a flexible open source Pascal compiler
Free Pascal is a flexible open source Pascal compiler

Current version

Version 3.2.2 is the latest stable version of Free Pascal. Click on the download link and choose a version suitable for your operating system. Development builds have version number 3.3.x. See the Development page to learn how to find the latest resources and development support.

Features of Free Pascal

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

Free Pascal for Turbo Pascal and Delphi was quite complete until version D7. Turbo Pascal's compatibility is quite large as it can run on 32/64-bit platforms, without the need for an emulator (this is a bit better than Delphi).

Xem thêm  Latest Dou La Bang Bang code and instructions for entering reward code

Delphi compatibility is slowly being perfected, but overall the packages are still lacking. COM support (dispid and friends) is also absent.

A mode implementing the most important Mac Pascal (CW Pascal) constructs implemented also exists. This mode can also be used to convert ISO pascal code, as it implements several ISO constructs that TP/Delphi does not have, including pre-Delphi Object Pascal support.

Compiler Dialect modes can be deployed individually on each unit, so multiple modes can be used in the same program.

Besides these compatibility modes, Free Pascal also has two separate modes: FPC and OBJFPC (Object FPC). Both are more or less stripped down versions of TP and Delphi mode with some extensions Currently, the library is a bigger barrier to porting than the language.

The compiler supports i386, Power (PC), Sparc, Arm9 architectures. Core OS (Level 1) support is Windows (32/64/CE), Linux, FreeBSD (x86 versions only), and Mac OS X. Netware ports (classic and libc) and OS/2 are also in release cycles frequent.

The base libraries are a combination of TP and Delphi, as well as some separate additional units and classes. Specific sections of Free Pascal often summarize certain operating system features in a platform-independent manner.

Request

x86 architecture

For the 80×86 version, at least a 386 processor is required, but 486 is recommended. Mac OS X version requires Mac OS X 10.4 or later, with developer tools installed.

PowerPC architecture

Any PowerPC processor is the same. 16 MB RAM is required. Classic Mac OS version is expected to work with system 7.5.3 and above. Mac OS X version requires Mac OS X 10.3 or later (compileable for 10.2.8 or later), with developer tools installed. On other operating systems, Free Pascal works on any system that can run an operating system.

Xem thêm  How to share audio on TeamViewer

ARM architecture

16MB RAM is required. Runs on any ARM Linux installation.

Sparc Architecture

16MB RAM is required. Runs on any Sparc Linux installation (solaris being tested).

License

Runtime packages and libraries have a modified GNU Public License to allow the use of static libraries when creating applications. The source code of the compiler itself is covered by the GNU General Public License. Sources for both the compiler and runtime libraries are available, the complete compiler is written in Pascal.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments