florian 2c7b34cda1 * don't apply cse on static variables being regable vor 12 Jahren
..
aarch64 7bad1763b8 Decrease amount of code duplication regarding handling of safecall and record constructors. vor 12 Jahren
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers vor 13 Jahren
arm c2baf7b4c0 Merge r23058 vor 12 Jahren
avr bcd48ac1a1 + patch by Justin Smyth to support the lpc1343, resolves #23844 vor 12 Jahren
generic 3017132268 * Remove triple sources vor 14 Jahren
html fa0d3d79e0 no message vor 23 Jahren
i386 e88bc322bc + Merge the targetandroid branch. Support for arm and i386 android targets. vor 12 Jahren
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects vor 13 Jahren
jvm 185f71762f * fixed automatic setter generation if only a setter and no getter prefix vor 12 Jahren
m68k d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). vor 12 Jahren
mips 823e3ea398 MIPS: reworked PIC/call code: vor 12 Jahren
msg 3b7a9543c6 * updates of german message files by Karl-Michael Schindler vor 12 Jahren
powerpc 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or vor 12 Jahren
powerpc64 69c29a415f * pass the procdef to getintparaloc instead of only the proccalloption, so vor 12 Jahren
ppcgen 69c29a415f * pass the procdef to getintparaloc instead of only the proccalloption, so vor 12 Jahren
sparc 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) vor 12 Jahren
systems c2baf7b4c0 Merge r23058 vor 12 Jahren
utils 168c9d152f Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. vor 12 Jahren
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in vor 13 Jahren
x86 5d628b29bb * set the subregsize of OS_M64 SSE registers to R_SUBQ so we can vor 12 Jahren
x86_64 2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. vor 12 Jahren
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests vor 19 Jahren
Makefile f103808e09 * Updated makefile. vor 12 Jahren
Makefile.fpc 0197b84b7f + instruction table generator for arm64 vor 13 Jahren
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses vor 13 Jahren
aasmdata.pas 0960ee2034 * Add missing checks for android target. vor 12 Jahren
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files vor 18 Jahren
aasmtai.pas 2ae8d604bc + shifterop for ARM64 vor 13 Jahren
aggas.pas 2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. vor 12 Jahren
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo vor 13 Jahren
aopt.pas 6e62fbc3d2 * more consistent updates of used registers vor 13 Jahren
aoptbase.pas ca5078f9cf + RegModifiedBetween vor 13 Jahren
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg vor 13 Jahren
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis vor 16 Jahren
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel vor 13 Jahren
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. vor 12 Jahren
assemble.pas 2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. vor 12 Jahren
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value vor 13 Jahren
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build vor 25 Jahren
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because vor 16 Jahren
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl vor 14 Jahren
cclasses.pas 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. vor 13 Jahren
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems vor 15 Jahren
cfileutl.pas d749ac5354 * make ansistring unique before starting to change it using a pchar vor 12 Jahren
cg64f32.pas 2038a607ac cg64f32.pas, tcg64f32.a_load64_*_cgpara: vor 13 Jahren
cgbase.pas a519741d89 - Revert {$J-} accidentally committed in r23555. vor 12 Jahren
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg vor 13 Jahren
cgobj.pas 1eeeb309c7 * intial armv6m support, it is not working yet, constant pool insertation and conditional branch fixup is not working yet vor 12 Jahren
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers vor 13 Jahren
cmsgs.pas aba10cd184 compiler: vor 14 Jahren
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging vor 12 Jahren
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE vor 12 Jahren
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned vor 12 Jahren
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler vor 13 Jahren
constexp.pas 0e92f68032 - 2.0 overlefts removed vor 12 Jahren
cp1251.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp1252.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp1253.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp437.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp646.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp850.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp866.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp8859_1.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cp8859_5.pas 43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909) vor 12 Jahren
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: vor 14 Jahren
crefs.pas 851b00f8e9 * more properties fixed vor 16 Jahren
cresstr.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. vor 12 Jahren
cstreams.pas f79dc85033 * typo fixed vor 13 Jahren
cutils.pas 2f8027c63f + more sophisticated code to optimize multiplications on arm vor 13 Jahren
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released vor 14 Jahren
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class vor 13 Jahren
dbgdwarf.pas d956808080 Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330 vor 12 Jahren
dbgstabs.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) vor 12 Jahren
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX vor 13 Jahren
defcmp.pas 1244cdff70 * don't treat bitpacked arrays of subranges of char that can be represented vor 12 Jahren
defutil.pas 761fcca4ec + is_dynamicstring vor 13 Jahren
elfbase.pas 49d7448f44 * Made TElfExeOutput.CreatePLT method protected virtual, so CPU-specific handling can be provided by descendants. vor 12 Jahren
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works vor 16 Jahren
expunix.pas 0960ee2034 * Add missing checks for android target. vor 12 Jahren
finput.pas de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option vor 13 Jahren
fmodule.pas 88af293155 Fix for Mantis #22160 vor 13 Jahren
fpccrc.pas 793fd8fc09 * Add -Xg to help pages vor 17 Jahren
fpcdefs.inc 2dac1c445a - disabled Stabs support on 64 bit targets (mantis #23365) vor 12 Jahren
fppu.pas 5d74e0578a compiler: remove unused variables and unneeded assignments vor 12 Jahren
gendef.pas aee5380ae0 * merged trunk up to r20882 vor 13 Jahren
globals.pas f9277d2043 compiler: add comment for all application types vor 12 Jahren
globstat.pas 88af293155 Fix for Mantis #22160 vor 13 Jahren
globtype.pas 63f6afffd5 + make empty proc. removal switchable by removeemptyprocs vor 12 Jahren
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux vor 13 Jahren
hlcgobj.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) vor 12 Jahren
htypechk.pas 168c9d152f Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. vor 12 Jahren
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary vor 13 Jahren
import.pas bf1c390027 * refactor import library generation vor 19 Jahren
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). vor 13 Jahren
link.pas a1503b51f2 + chmod 755 on executable files produced by internal linker. I missed this "small" detail for half a year because all development was going on a NTFS drive where everything is executable. vor 12 Jahren
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by vor 14 Jahren
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 vor 14 Jahren
msgidx.inc 489e038379 Disallow "protected" and "strict protected" in extended records (Delphi compatible). vor 12 Jahren
msgtxt.inc 489e038379 Disallow "protected" and "strict protected" in extended records (Delphi compatible). vor 12 Jahren
nadd.pas a8f9b0dac4 Added initial support for the Cortex-M4F FPv4_S16 FPU vor 13 Jahren
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the vor 13 Jahren
ncal.pas 63f6afffd5 + make empty proc. removal switchable by removeemptyprocs vor 12 Jahren
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match vor 13 Jahren
ncgbas.pas c37c039905 * report resolveref errors on the correct line number vor 12 Jahren
ncgcal.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
ncgcnv.pas 5a81601565 * type casting could force pointers into sub registers, so handle them when converting the pointer to an array vor 12 Jahren
ncgcon.pas 1eeeb309c7 * intial armv6m support, it is not working yet, constant pool insertation and conditional branch fixup is not working yet vor 12 Jahren
ncgflw.pas 69c29a415f * pass the procdef to getintparaloc instead of only the proccalloption, so vor 12 Jahren
ncginl.pas b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned vor 12 Jahren
ncgld.pas 0960ee2034 * Add missing checks for android target. vor 12 Jahren
ncgmat.pas 39f46d8350 * restored accidentally removed call to fpc_handleerror in r23325 vor 12 Jahren
ncgmem.pas 77bbb8b5bc * type casting could force class variables into sub registers, so handle them in subscript nodes as well vor 12 Jahren
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref vor 13 Jahren
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested vor 14 Jahren
ncgobjc.pas 4cf5e36ce7 compiler: vor 14 Jahren
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg vor 13 Jahren
ncgrtti.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC vor 13 Jahren
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset vor 13 Jahren
ncgutil.pas 5e46732bc8 + One more missing call to unget_para (MIPS-specific) vor 12 Jahren
ncnv.pas fe4b5ea82d compiler: convert unicode constants which are > 127 to AnsiString (except UTF8String) in runtime to prevent conversion to wrong codepage (read issue #0021195) vor 12 Jahren
ncon.pas f6b78719bc * fix trealconstnode.dogetcopy and trealconstnode.docompare, taking care of all fields, resolves #23486 vor 12 Jahren
nflw.pas dc7760bda0 * let type conversion nodes handle type checking for if/while/repeat vor 12 Jahren
ngenutil.pas 5d74e0578a compiler: remove unused variables and unneeded assignments vor 12 Jahren
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed vor 13 Jahren
ninl.pas b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned vor 12 Jahren
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) vor 13 Jahren
nmat.pas 8e5bd14e3a * overleft newline fix vor 12 Jahren
nmem.pas fe338013a5 compiler: calculate offset of record fields in taddrnode also for bitpacked structures (Jonas comment in bug #0019357) vor 12 Jahren
nobj.pas 63f6afffd5 + make empty proc. removal switchable by removeemptyprocs vor 12 Jahren
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code vor 15 Jahren
node.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it vor 13 Jahren
nset.pas 5d74e0578a compiler: remove unused variables and unneeded assignments vor 12 Jahren
nstate.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
nutils.pas 3cde2b2d84 * fixed check for bitpacked accesses (mantis #24007) vor 12 Jahren
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). vor 14 Jahren
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent vor 13 Jahren
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated vor 13 Jahren
ogbase.pas 6484911f05 * TExeOutput.FixupRelocations method made virtual. vor 12 Jahren
ogcoff.pas d762ef9e78 + PECOFF targets: support more than 65535 relocations per object section, resolves #23752. DJCOFF targets: give a fatal error, since this object file format does not support extended relocations. vor 12 Jahren
ogelf.pas 6fcd9979dd + MIPS: doing progress with linker, implemented processing of local symbols in PIC code and stuff needed to link shared libraries. vor 12 Jahren
oglx.pas 658c46b903 * remove tdictionary and tindexarray vor 19 Jahren
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead vor 13 Jahren
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. vor 17 Jahren
ognlm.pas d7c5daeccd * Don't calculate data position of each object section. Instead, write out a copy of exesection's memory image, i.e. every objsection is placed at the same offset from its owning exesection both on disk and in memory. This approach is simpler and works regardless of alignment requirements, while existing one could work only if SectionDataAlign<=SectionMemAlign. vor 12 Jahren
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse vor 15 Jahren
optcse.pas 2c7b34cda1 * don't apply cse on static variables being regable vor 12 Jahren
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler vor 13 Jahren
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable vor 13 Jahren
options.pas 2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. vor 12 Jahren
optloop.pas 9773b92cbe * improved for loop unrolling vor 13 Jahren
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space vor 14 Jahren
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops vor 17 Jahren
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated vor 15 Jahren
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). vor 13 Jahren
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). vor 13 Jahren
parabase.pas 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or vor 12 Jahren
paramgr.pas 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or vor 12 Jahren
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging vor 12 Jahren
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef vor 15 Jahren
pass_2.pas aee5380ae0 * merged trunk up to r20882 vor 13 Jahren
pbase.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode vor 13 Jahren
pdecl.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
pdecobj.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
pdecsub.pas 168c9d152f Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. vor 12 Jahren
pdecvar.pas ddc03bdf03 * when automatically generating (s|g)etters, make sure that the visibility of vor 12 Jahren
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly vor 13 Jahren
pexpr.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
pgenutil.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
pinline.pas d67f31a0e1 * allow type parameters variables being passed to new/dispose, resolves #23270 vor 12 Jahren
pmodules.pas 5d74e0578a compiler: remove unused variables and unneeded assignments vor 12 Jahren
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 vor 13 Jahren
pp.pas 7089d1d638 + defines for aarch64 to configure the compiler vor 13 Jahren
pparautl.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
ppc68k.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 vor 12 Jahren
ppcarm.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcavr.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcmips.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcmipsel.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcppc.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcppc64.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcsparc.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) vor 13 Jahren
ppu.pas 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or vor 12 Jahren
ppx86_64.lpi e96dc4204e * version update vor 13 Jahren
procinfo.pas fce9e953b4 + nested exit support vor 12 Jahren
pstatmnt.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) vor 12 Jahren
psub.pas 2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. vor 12 Jahren
psystem.pas e82983e577 * Define CExtended and clongdouble as double for Android. vor 12 Jahren
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be vor 13 Jahren
ptype.pas 489e038379 Disallow "protected" and "strict protected" in extended records (Delphi compatible). vor 12 Jahren
raatt.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). vor 12 Jahren
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist vor 19 Jahren
rautils.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). vor 12 Jahren
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: vor 14 Jahren
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix vor 13 Jahren
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] vor 13 Jahren
rgobj.pas d15304c25e Also check for the type of the register when replacing it. In certain circumstances this can still lead to access to invalid memory resulting either in an access violation or invalid registers. vor 13 Jahren
scandir.pas 2a3618fb6c compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype. vor 12 Jahren
scanner.pas 2a3618fb6c compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype. vor 12 Jahren
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there vor 13 Jahren
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically vor 14 Jahren
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a vor 14 Jahren
symconst.pas 168c9d152f Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. vor 12 Jahren
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment vor 12 Jahren
symdef.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. vor 12 Jahren
symnot.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
symsym.pas c781f21a46 * records with two times the size of a register can be kept in registers vor 12 Jahren
symtable.pas bab4aac42e * use same symtable check in sym_is_owned_by() as in is_owned_by() to vor 12 Jahren
symtype.pas 4adb36e8da Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future... vor 12 Jahren
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). vor 18 Jahren
systems.inc 4150f0a2fb Rebase with r21814 vor 13 Jahren
systems.pas 0960ee2034 * Add missing checks for android target. vor 12 Jahren
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however vor 13 Jahren
tokens.pas bc4a8ac63e + constant postfixoperator_tokens vor 13 Jahren
verbose.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging vor 12 Jahren
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string vor 13 Jahren
widestr.pas 849095f5e5 + Added Greek code page 1253 to the compiler to have support for the third modern code page (in addition to cp1251 and cp1252). It is needed to be able to define "type AnsiString(1253)" in tests. Previously I used cp1252 for tests with Euro symbol conversions. But for unknown reason cp1252 does not have the Euro symbol with code $80 on Unix systems (libiconv bug?). In other hand cp1253 has the Euro symbol with code $80 as expected. vor 12 Jahren
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from vor 16 Jahren
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 vor 14 Jahren
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used vor 15 Jahren

README.txt

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC