fpc/rtl
Jonas Maebe 9433467ec8 * Darwin support for printing line info for backtraces when using Dwarf,
based on patches by Colin Western, mantis #38483)
   o requires that the program/library is compiled with -Xg (or that
     dsymutil is run on it after compiling), and that the .dSYM bundle
     is in the same directory as the program/library
   o always use the "dl" unit in exeinfo for Darwin, as that's needed for
     dynamic library support, and this does not cause an extra dependency
     since on Darwin we always use libc
   o cleaned up the exeinfo unit for Darwin, and sped it up by using mmap
     instead of small reads
   o fixed unit dependencies for exeinfo, lineinfo and lnfodwarf in Darwin
     RTL Makefile
  * use the process address info from the original exe even when reading
    the debug information from an external file
  - removed outdated ifdef'd darwin code from dl.pp (no longer needed now
    that processaddress gets set correctly in exeinfo for that platform)

git-svn-id: trunk@49140 -
(cherry picked from commit 0eb9dd3879)
2021-09-04 15:09:22 +02:00
..
aarch64 * fpsr and fpcr are 64 bit on aarch64 2021-08-23 23:58:54 +02:00
aix --- Zusammenführung 2020-12-30 14:07:17 +00:00
amicommon # revisions: 44426,44562,45115,45371,45375,45511,44641,44559,47746 2021-01-01 18:05:20 +00:00
amiga # revisions: 44426,44562,45115,45371,45375,45511,44641,44559,47746 2021-01-01 18:05:20 +00:00
android Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
arm Merged revision(s) 45409, 46897-46898, 47007, 47011, 47065, 47084 from trunk: 2020-12-15 22:31:59 +00:00
aros Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
atari Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
avr
beos --- Zusammenführung 2020-12-30 14:07:17 +00:00
bsd Merge commit #47157 2021-01-03 15:16:34 +00:00
charmaps
darwin * Darwin support for printing line info for backtraces when using Dwarf, 2021-09-04 15:09:22 +02:00
dragonfly Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
embedded Merge commit 44291 2020-12-20 11:27:04 +00:00
emx --- Merging r47528 into '.': 2020-11-23 10:50:08 +00:00
freebsd Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
gba Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
go32v2 --- Merging r46853 into '.': 2020-12-30 14:07:54 +00:00
haiku --- Zusammenführung 2020-12-30 14:07:17 +00:00
i386 + more helper routine to check for CPU features added 2021-08-09 23:19:20 +02:00
i8086 --- Zusammenführung 2020-12-30 14:07:17 +00:00
inc * Darwin support for printing line info for backtraces when using Dwarf, 2021-09-04 15:09:22 +02:00
java Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
jvm
linux * add missing unixtype dependencies 2021-09-04 10:27:30 +02:00
m68k
macos Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
mips
mipsel
morphos # revisions: 44426,44562,45115,45371,45375,45511,44641,44559,47746 2021-01-01 18:05:20 +00:00
msdos --- Merging r46853 into '.': 2020-12-30 14:07:54 +00:00
nativent --- Merging r45159 into '.': 2020-12-17 22:44:26 +00:00
nds Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
netbsd --- Zusammenführung 2020-12-30 14:07:17 +00:00
netware --- Merging r45159 into '.': 2020-12-17 22:44:26 +00:00
netwlibc --- Merging r45159 into '.': 2020-12-17 22:44:26 +00:00
objpas --- Merging r49478 into '.': 2021-07-15 15:36:48 +00:00
openbsd * Merging of commits changing OpenBSD types. 2021-01-02 11:07:20 +00:00
os2 --- Zusammenführung 2020-12-30 14:07:17 +00:00
palmos Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
powerpc --- Merging r45802 into '.': 2021-01-09 22:22:30 +00:00
powerpc64
qnx Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
solaris --- Zusammenführung 2020-12-30 14:07:17 +00:00
sparc
sparc64
symbian Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
ucmaps
unix * Darwin support for printing line info for backtraces when using Dwarf, 2021-09-04 15:09:22 +02:00
watcom --- Merging r46853 into '.': 2020-12-30 14:07:54 +00:00
wii Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
win --- Merging r49490 into '.': 2021-07-13 13:35:01 +00:00
win16 * Merging of commits changing rtl/win16/Makefile.fpc 2021-01-25 08:39:59 +00:00
win32 --- Zusammenführung 2020-12-30 14:07:17 +00:00
win64 --- Zusammenführung 2020-12-30 14:07:17 +00:00
wince --- Zusammenführung 2020-12-30 14:07:17 +00:00
x86_64 + more helper routine to check for CPU features added 2021-08-09 23:19:20 +02:00
COPYING.FPC
COPYING.txt
fpmake.inc
fpmake.pp --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
Makefile --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
Makefile.fpc --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
README.txt

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 localed in
the inc subdirectory).

Enjoy.