fpc/rtl
sergei 5c3aca5148 * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars)
* win/systhrd.inc: added error checking in several places. Fail with code 226 if resources cannot be allocated, as Delphi does.
* win/syswin.inc, Dll_entry: Don't call DoneThread in PROCESS_DETACH callback, it is redundant because the main thread is finalized by FPC_DO_EXIT. SysReleaseThreadVars is still necessary. Also removed redundant assignments to return value.

git-svn-id: trunk@17992 -
2011-07-15 23:57:23 +00:00
..
amiga * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
arm * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
atari
avr * fixed compilation of assembler helpers 2011-02-27 21:11:03 +00:00
beos
bsd
darwin
embedded + build atmega128 mcu unit 2011-07-10 21:03:05 +00:00
emx * real implementation for FileCreate with ShareMode (plus fix for ShareMode in FileOpen) 2011-05-26 21:19:20 +00:00
freebsd * pathname functions 2011-06-08 10:44:56 +00:00
gba * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
go32v2 * Prevent propagation of ' !proxy' environment variable to programs launched by Dos.exec by renaming it to '_!proxy' after handling in startup code 2011-07-05 06:54:24 +00:00
haiku
i386 * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
inc * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars) 2011-07-15 23:57:23 +00:00
linux * declared external fpc_geteipasebx , with local suffix to avoid clashes. 2011-06-07 15:12:31 +00:00
m68k
macos * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
mips
mipsel
morphos * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
nativent * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
nds * nds: implemented write(ln) output on the screen (it needs flush tough...) 2011-07-03 08:34:52 +00:00
netbsd
netware * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
netwlibc * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
objpas * Second patch from Mattias Gaertner (bug 19623, should fix 19633 as well) 2011-06-27 18:34:25 +00:00
openbsd * update of openbsd sysnr by Jasper Lievisse Adriaanse 2011-01-07 14:13:16 +00:00
os2 * more complete/safer checking of sharing mode values allowed by OS/2 2011-05-26 21:11:09 +00:00
palmos
powerpc * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
powerpc64 * don't overwrite the target value of interlockedcompareexchange*() if the 2010-11-29 12:53:10 +00:00
qnx
solaris * clocale fixed for Solaris, Patch by Ludo Brands, mantis #19675 2011-07-03 18:05:40 +00:00
sparc
symbian - removes Thread_count from the system unit of several OSes: the value of this variable was unpredictable and the hebaviour was not fixable, resolves #18089 2010-11-28 20:46:50 +00:00
ucmaps
unix * LongdateFormat equals shortdateformat (no longdateformat is available in langinfo) Bug #19616. 2011-07-02 13:42:44 +00:00
watcom * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
wii * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
win * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars) 2011-07-15 23:57:23 +00:00
win32 * Moved WideString-related code, which is identical for Win32 and Win64, into syswin.inc 2011-07-08 20:07:51 +00:00
win64 * Moved WideString-related code, which is identical for Win32 and Win64, into syswin.inc 2011-07-08 20:07:51 +00:00
wince * Added share mode argument to FileCreate call 2011-05-23 21:11:07 +00:00
x86_64 * Reverted r17343, and IFDEF'ed out the newer assembler procedures for FreeBSD for now. They require fixes to assembler writer, and after it's done they still have to be disabled during bootstrapping. 2011-04-19 15:28:53 +00:00
COPYING.FPC
COPYING.txt
fpmake.inc
fpmake.pp
Makefile
Makefile.fpc Rebase to revision 16888 2011-02-07 20:30:48 +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).

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.