mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 09:49:05 +02:00
![]() and 4080. The compatibility differences are: a) writing a chararray which is zero-based but not zero- terminated does not cause a buffer overflow b) non-zero-based chararrays can also be read The difference was that previously, all chararrays were treated as pchars. In TP/Delphi (and now also in FPC), this is only done for zero-based chararrays. For non-zero-based ones, the entire contents of the array should always be used (including #0's). The default parameters in the system unit for the chararray helpers are to avoid having to use a define for bootstrapping. git-svn-id: trunk@2152 - |
||
---|---|---|
.. | ||
amiga | ||
arm | ||
atari | ||
beos | ||
bsd | ||
common | ||
darwin | ||
emx | ||
freebsd | ||
gba | ||
go32v2 | ||
i386 | ||
inc | ||
linux | ||
m68k | ||
macos | ||
morphos | ||
netbsd | ||
netware | ||
netwlibc | ||
objpas | ||
openbsd | ||
os2 | ||
palmos | ||
powerpc | ||
powerpc64 | ||
solaris | ||
sparc | ||
ucmaps | ||
unix | ||
watcom | ||
win | ||
win32 | ||
win64 | ||
wince | ||
x86_64 | ||
COPYING | ||
COPYING.FPC | ||
fpmake.inc | ||
fpmake.pp | ||
Makefile | ||
Makefile.fpc | ||
README |
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). The following directories are not supported officially and may not work correctly with FreePascal v1.0: go32v1 - The DJGPP go32v1 DOS extender (no longer supported) palmos - The PalmOS directory for the Dragonball (incomplete) Enjoy.