mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 09:08:03 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() PPC platforms that use a TOC can never use a tail call to call a different routine that potentially accesses globals, as it may use a different TOC and then the linker must be able to insert an instruction after the branch to restore the original TOC register value on "return". Even if FPC code itself does not use the TOC register, it's still required since 1) the linker does not know this, and 2) the FPC code might still be called from other code that does use it |
||
---|---|---|
.gitlab | ||
compiler | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
fpmake_add1.inc | ||
fpmake_proc1.inc | ||
fpmake.pp | ||
LICENSE | ||
Makefile | ||
Makefile.fpc | ||
README.md |
FPC Source code repository
Synopsis
This repository contains the sources of the Free Pascal compiler distribution.
It contains
- The compiler sources in the directory compiler.
- The run-time library in the directory rtl.
- The packages distributed with the compiler in the directory packages.
- Several utilities in the directory utils.
- The compiler testsuite in the directory tests.
License
The compiler is licensed under GPL v2, the run-time files are licensed under modified LGPL. Both can be found in the LICENSE file, and the file rtl/COPYING.txt
Documentation
Extensive documentation can be found on the documentation website.