fpc/rtl
2026-01-08 09:03:22 +00:00
..
aarch64 + support for fpc_aarch64_yield and fpc_arm_yield 2025-11-30 20:16:44 +01:00
aix * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
amicommon Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
amiga Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
android Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
arm Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
aros Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
atari Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
avr Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
beos Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
bsd * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
charmaps
darwin Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
dragonfly Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
embedded Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
emx Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
freebsd Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
freertos Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
gba Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
go32v2 Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
haiku Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
human68k Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
i386 Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
i8086 Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
inc Simplify TryResizeVar. 2026-01-08 09:03:22 +00:00
java Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
jvm Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
linux * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
loongarch64 * with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again 2024-12-12 22:05:20 +01:00
m68k Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
macos Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
mips Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
mips64 Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
mips64el + skeletons 2024-10-17 22:37:53 +02:00
mipsel
morphos Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
msdos Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
msxdos Replace INTRINSICS by INTRINSICSUNIT variable 2025-12-24 14:23:10 +00:00
namespaced * Added missing namespaced System.Intrinsics.pp 2025-12-29 20:40:43 +01:00
nativent Fix compilation of i386-nativent RTL 2026-01-06 12:37:57 +00:00
nds Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
netbsd Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
netware Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
netwlibc Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
objpas Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
openbsd Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
os2 Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
palmos regenerated all RTL Makefiles with current FPCMake 2025-12-19 00:41:12 +01:00
powerpc Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
powerpc64 Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
ppcgen
ps1 Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
qnx Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
riscv * RiscV32: assembler implementations of SwapEndian 2025-12-10 22:32:06 +01:00
riscv32 Fix typo in directory name of intrinsics.inc 2025-12-01 12:01:53 +01:00
riscv64 + fpc_riscv_pause 2025-11-30 22:23:48 +01:00
sinclairql Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
solaris * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
sparc Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
sparc64 * with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again 2024-12-12 22:05:20 +01:00
symbian Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
ucmaps Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
unix Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
wasicommon * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
wasip1 regenerated all RTL Makefiles with current FPCMake 2025-12-19 00:41:12 +01:00
wasip1threads regenerated all RTL Makefiles with current FPCMake 2025-12-19 00:41:12 +01:00
wasip2 * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
wasm32 Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
watcom Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
wii Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
win Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
win16 Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
win32 * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
win64 * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
wince * make SYSTEM_HAS_FEATURE_MONITOR a compiler based feature so programs can depend on it 2026-01-04 15:09:56 +01:00
x86_64 Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
xtensa * with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again 2024-12-12 22:05:20 +01:00
z80 Mass typo fixes in comments for rtl part 1/2. 2026-01-01 14:45:36 +00:00
zxspectrum regenerated all RTL Makefiles with current FPCMake 2025-12-19 00:41:12 +01:00
COPYING.FPC
COPYING.txt Mass trailing space removal for rtl. 2026-01-01 22:10:16 +00:00
fpmake.inc
fpmake.pp
Makefile * Makefiles regenerated 2025-12-23 22:28:41 +01:00
Makefile.fpc + initial wasip2 rtl, most things are not implemented 2025-03-10 23:30:11 +02:00
README.txt Mass typo fixes in comments for rtl part 2/2. 2026-01-02 20:07:40 +02:00
regenmakefiles.bat
regenmakefiles.sh

This is the Run-Time Library (RTL) tree for Free Pascal.

To recompile the RTL, edit the main makefile. The makefiles NEED a GNU make
compatible make, they need unix-like 'rm' and 'mv' commands, as well as some
others. You can find these in the gnuutils package on the ftp site.

The main makefile is located ABOVE the RTL tree. It uses the FPC
makefile.fpc to guess reasonable defaults for everything it needs.
(these files can be found in base.zip on the FTP site)

The only variable that you may want to set are
FPC             - What compiler to use. Use an absolute path.
                  (default is ppc386)
INSTALL_UNITDIR - Where to install the RTL units
OPT             - any special options you want to set for the compiler.

In principle, you can also descend into the subdirectory of your OS, and
type 'make' there, that should also compile everything.

The tree contains subdirectories for all the supported operating systems,
as well as all processor architectures. The processor directories contain
low-level routines which are required for the system unit (if they are not
available in high-level language form), as well as optimized versions of
the pascal generic routines (the generic routine source code is localized in
the inc subdirectory).

Enjoy.