18 5 月, 2024

Manufacturing

Processing Machinery

Pascal compiler open source community officially supports LongArch64

1 min read

Pascal compiler open source community officially supports LongArch64

Recently, the FPC community released an official version that supports the LongArch architecture. After that, the LoongArch architecture operating system release will be built directly based on the upstream community version, and the LoongArch instruction set architecture will again receive the native support of the important basic open source community.
FPC Introduction
FPC (Free Pascal Compiler) is a mature, versatile, and open-source Pascal compiler that has been active in the community for over 20 years since its first release in 1998. FPC has supported multiple processor architectures and operating system platforms, including LongArch, and is compatible with Turbo Pascal and Delphi syntax, making it widely used in the application ecosystem.
FPC supports LongArch
At present, the LoongArch architecture code has been integrated into the main branch of the FPC upstream community. A total of 13 commits and over 20000 lines of code have been submitted this time, mainly supporting the compiler and rtl parts, further improving the LoongArch architecture compiler ecosystem puzzle and providing LoongArch base support for the FPC based application ecosystem. The construction of the LoongArch open source ecosystem has once again taken a solid step forward.
FPC Continuous Support
The Dragon Core team will continue to maintain the LoongArch version of FPC, submit Lazarus for community support IDE development environment, continuously optimize the FPC backend, provide developers with a better product experience, and enable users’ programs to run more smoothly.