fpc/rtl
svenbarth e914ec7f00 Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead.
The default implementation of "GetTickCount" just uses the lower 32-Bit from the result of "GetTickCount64". 
The default implementation of "GetTickCount64" is based upon "Now" for systems that support a floating point unit (and thus "Now"). 
Other systems can define a "SysTimerTick" function which is used instead if "HAS_SYSTIMERTICK" is defined.

The Windows implementation of "GetTickCount" uses Windows' "GetTickCount" function. 
The implemenation of "GetTickCount64" checks whether the system is a Windows Vista or newer and then uses Windows' "GetTickCount64" function. Otherwise Windows' "GetTickCount" is used also.

The Unix implementation of "GetTickCount" is the default one. 
The "GetTickCount64" implementation uses "fpgettimeofday".

git-svn-id: trunk@23215 -
2012-12-23 16:12:57 +00:00
..
aix rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris 2012-09-21 01:45:18 +00:00
amiga Regenerated after: Add lineinfo 2012-12-18 15:16:37 +00:00
android/jvm * fixed "make install" for jvm targets 2012-09-27 21:35:17 +00:00
arm Fixed error in define selecting write barrier code that has been introduced during debugging 2012-10-29 08:33:31 +00:00
atari
avr
beos rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris 2012-09-21 01:45:18 +00:00
bsd bsd: set DefaultSystemCodePage without cwstring.pas 2012-09-17 02:33:06 +00:00
darwin
embedded Small fixes to ARM-Embedded RTL from Jeppe Johansen 2012-10-22 11:59:28 +00:00
emx
freebsd * changed all version numbers to 900044 for freebsd 9. Expanded script to deal with 2012-10-28 20:02:00 +00:00
gba
go32v2
haiku rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris 2012-09-21 01:45:18 +00:00
i386 * Fixed i386 longjmp, it must not return 0 if 'value' argument happens to be 0. 2012-10-19 19:49:33 +00:00
inc * Reuse RecordRTTI to finalize class instances. This is possible because RTTI for classes is the same as for records (except different value of tkKind field), and RecordRTTI ignores tkKind (assuming that required checks are done by its caller). 2012-12-23 12:10:11 +00:00
java * moved fpc_threadvar_relocate_proc from systemh.inc to thread.inc 2012-12-09 22:42:46 +00:00
jvm
linux - Removed duplicate file header 2012-12-21 09:16:23 +00:00
m68k Save complete register set for setjmp/longjmp 2012-12-18 14:05:52 +00:00
macos
mips * Fix nostackframe related problems 2012-10-18 11:19:27 +00:00
mipsel
morphos
nativent
nds * fixed null termination of cmdline (based on patch by C Western, 2012-08-30 21:30:31 +00:00
netbsd Fix SigContextRec record for x86_64 cpu 2012-09-14 12:06:07 +00:00
netware
netwlibc
objpas Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead. 2012-12-23 16:12:57 +00:00
openbsd
os2
palmos
powerpc
powerpc64
qnx
solaris rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris 2012-09-21 01:45:18 +00:00
sparc * use membar only for sparcv9(+) 2012-12-03 21:55:51 +00:00
symbian
ucmaps - remove maps with unclear header 2012-09-18 18:46:23 +00:00
unix Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead. 2012-12-23 16:12:57 +00:00
watcom
wii * fixed null termination of cmdline (based on patch by C Western, 2012-08-30 21:30:31 +00:00
win Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead. 2012-12-23 16:12:57 +00:00
win32
win64
wince * fix Makefile to work with make 3.82 by adding missing compiler commands 2012-08-17 20:33:09 +00:00
x86_64 * fix sincos also for x86-64-linux 2012-11-04 18:02:20 +00:00
COPYING.FPC
COPYING.txt
fpmake.inc
fpmake.pp
Makefile
Makefile.fpc
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.