peter a868c2a6cc * when error when opening a file, then reset the mode to fmclosed před 27 roky
..
amiga 33aac9b556 + system_exit procedure added před 27 roky
atari 33aac9b556 + system_exit procedure added před 27 roky
go32v1 f851a800c9 * Daniel removal of findclose reverted před 27 roky
go32v2 befb0f2725 + typinfo is now also in the makefile for go32v2 před 27 roky
i386 2d311def72 + code for FPC_TESTOBJEXT conditionnal před 27 roky
inc a868c2a6cc * when error when opening a file, then reset the mode to fmclosed před 27 roky
linux a6f53a10f9 * readkey fixes from the mailinglist před 27 roky
m68k a166bd1bca * FillChar and FillObject bugfix, count was compared with byte před 27 roky
objpas 8200498fbb + Changed to ansistrings před 27 roky
os2 fe97fa1e59 * Typo fixed před 27 roky
palmos 33aac9b556 + system_exit procedure added před 27 roky
template 00f5fae811 + updates to reflect directory před 27 roky
win32 641d6e3304 + Implemented filetruncate před 27 roky
COPYING d26cb63037 * merged fixes před 27 roky
COPYING.FPC d26cb63037 * merged fixes před 27 roky
Makefile 5c807e6b83 * go32v? directory change reflected před 27 roky
README 8e71408147 * FPK Pascal is now Free Pascal ... před 27 roky

README

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

In order to use the DJGPP make under dos
all / are converted into \ in the RTL,
this means that you cannot use make for builing the RTL
from and older version of the RTL (that doesnot have this feature).
To compile this version under DOS use newrtl.bat or newrtl1.bat.

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

You must set:
The compiler to use
- If you specify a path, set an ABSOLUTE path !!
The directory where to install the libraries.
- Under DOS, this directory MUST exist.
- Subdirectories of this directory will be created for each OS
OS dependent files will be installed there.
The OS you are compiling under
- dos, go32v2, linux, os2
- Under linux, you must specify the version of the compiler.
Do you want debugging information included in the RTL.

Optionally, you can set:
- Specify if you want the output of the compiler to be redirected to a file.
- Specify which file to use
- additional options to give to the compiler
- Specify which error-definitions file you want to use
- The program used to make directories
- The program used to install the files in their directories.

You can also set these settings in the makefiles in the different target
directories. The options set there will be overridden if you do a make from
the main makefile.

The main makefile understands the following targets :
- all (compiles RTL for all target OSes)
- native (compiles RTL for the system you're working on)
- rtlgo32v1, rtllinux, rtlgo32v2, rtlos2 (compiles RTL for specific OS)

- clean (cleans all directories )
- native_clean (cleans native directory only)
- diffs ( to create diffs files to a relase version if you have
made improvements so you can send them back to the developpers )
( this need a release RTL tree and to
set REFPATH to the directory )
- diffclean ( to remove all diff files, usefull if you change REFPATH)
- install (does install for all target OSes)
- native_install (does install for the system you're working on)

- libs (makes libraries from ALL the rtl units)
- nativelibs (makes libraries for the system you're working on)
- libinstall (makes and installs libraries for all the OSes)
- native_libinstall (makes and installs libraries for the system
you're working on)

- utils (makes utilities in the utils subdirectory)
- utils_install (makes and installs utilities in the utils subdirectory)

Enjoy!