Search...
ISA: LoongArch
04-03 2023

Open-Source Community FPC Officially Supports LoongArch64

Recently, the Free Pascal Compiler (FPC) community has released an official version that supports LoongArch. Subsequent releases of operating systems based on LoongArch will be able to be built directly upon the upstream community versions. This is another native support from a foundational open-source community for LoongArch.

Introduction to FPC

FPC is a mature, versatile, and open-source Pascal compiler. Its community has remained active for more than 20 years since its first release in 1998. So far, FPC has supported a variety of processor architectures, including LoongArch, and multiple operating system platforms. It is compatible with Turbo Pascal and Delphi syntax and is widely used in application ecosystems.

FPC Support for LoongArch

Currently, the LoongArch code has been merged into the main branch of the FPC upstream community, with a total of 13 commits and over 20,000 lines of code submitted. Support of the compiler and rtl sections contributes to the completion of the LoongArch compiler ecosystem. At the same time, application ecosystems based on the FPC can also gain foundational support from LoongArch. This is another solid step forward in the construction of an open-source LoongArch ecosystem.

Ongoing Support of FPC

Loongson's team will continue to maintain the LoongArch version of FPC, contribute to the community-supported IDE (Lazarus), and optimize the FPC backend to provide developers with a better product experience and enable smoother operation of users' programs.

In the future, Loongson's team will work closely with the FPC community as well as professional developers and open-source enthusiasts from home and abroad to boost the development of the FPC ecosystem.