florian 963a488ca2 * handle also LOC_CREGISTER/LOC_CMMREGISTER in tcgvecnode.pass_generate_code, resolves #24705 12 lat temu
..
aarch64 7bad1763b8 Decrease amount of code duplication regarding handling of safecall and record constructors. 13 lat temu
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 lat temu
arm f3273fa87d Optimize Add/Sub+Ldr/Str by using preindexed references 12 lat temu
avr 9938169d2c * don't use the paracgsize in get_paraloc_def(), because it generally 12 lat temu
generic 3017132268 * Remove triple sources 14 lat temu
html fa0d3d79e0 no message 23 lat temu
i386 94cf650d9a * use lea to adjust stack pointer, this is equal or faster on all modern CPUs than add/sub 12 lat temu
i8086 e291805880 * i8086 compilation fixed after r24896 12 lat temu
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 lat temu
jvm eb1ff90de1 Fix jvm compiler compilation failure after rev 25013 12 lat temu
m68k 9938169d2c * don't use the paracgsize in get_paraloc_def(), because it generally 12 lat temu
mips 59d6df4fca * MIPS: replaced opcode mapping functions with array, much shorter that way. Separate "overflow" mapping is also no longer needed. 12 lat temu
msg 9c1a4e2217 o error message file update by Karl-Michael Schindler: 12 lat temu
powerpc 9938169d2c * don't use the paracgsize in get_paraloc_def(), because it generally 12 lat temu
powerpc64 7f2750f188 * missing part of r24776, using a build server also has pitfalls :/ 12 lat temu
ppcgen 2dd75e707e * renamed thlcgobj.tcgsize2orddef to defutil.cgsize_orddef 12 lat temu
sparc 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 lat temu
systems 277ae481b8 Add passing of -k option to linker for msdos and go32v2 targets 12 lat temu
utils 381c996e53 + added po_far to tprocoptions 12 lat temu
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 lat temu
x86 7e70a5f763 * i8086 fix after r25010: i8086 doesn't support lea sp,[sp-XXX] 12 lat temu
x86_64 94cf650d9a * use lea to adjust stack pointer, this is equal or faster on all modern CPUs than add/sub 12 lat temu
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 lat temu
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 lat temu
Makefile 19c8abac0b + enable jump optimizer for i8086 12 lat temu
Makefile.fpc 19c8abac0b + enable jump optimizer for i8086 12 lat temu
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 17 lat temu
aasmbase.pas 1f8192b6da * indention fixes 12 lat temu
aasmdata.pas 2d823452b7 The scheduler pass of the ARM optimizer left markers in the instruction list, which could prevent further peephole optimizations 12 lat temu
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 19 lat temu
aasmtai.pas 784333edbb + added tai_const.Create_nil_codeptr and .Create_nil_dataptr, which should eventually replace tai_const.Create_sym(nil) 12 lat temu
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. 13 lat temu
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 13 lat temu
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 lat temu
aoptbase.pas 1c84c3edbf * Fixed label optimizer to work with MIPS, and enabled level 1 optimization for MIPS targets. 12 lat temu
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 14 lat temu
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 lat temu
aoptobj.pas 1c84c3edbf * Fixed label optimizer to work with MIPS, and enabled level 1 optimization for MIPS targets. 12 lat temu
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. 13 lat temu
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. 13 lat temu
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 13 lat temu
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 26 lat temu
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 17 lat temu
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 13 lat temu
cclasses.pas 99f2e57e42 * better error reporting 12 lat temu
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 lat temu
cfileutl.pas 36bf03372b handle the cases where f contains an absolute path 12 lat temu
cg64f32.pas 49bd829ffc * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 12 lat temu
cgbase.pas 9dbbffba61 + added trefaddr.addr_seg for referencing the segment of a symbol 12 lat temu
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 lat temu
cgobj.pas e81d2d1f3b * basic avx support for floating point operations (use -Cfavx to activate) 12 lat temu
cgutils.pas 70649932de * tlocation.value reverted back to longint on non 64-bit archs. This fixes the tset5.pp and tset5a.pp regressions on powerpc and probably other 32-bit platforms. 12 lat temu
cmsgs.pas aba10cd184 compiler: 14 lat temu
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 13 lat temu
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 13 lat temu
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 13 lat temu
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 lat temu
constexp.pas b78d6108fd * workaround for 2.6.x to avoid overflow errors when compiled with -CRiot 12 lat temu
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 lat temu
crefs.pas 851b00f8e9 * more properties fixed 16 lat temu
cresstr.pas 5fe8b516d4 * Put string with unit name into sec_rodata_norel (other strings are already there since r23017, this one was missed). 12 lat temu
cstreams.pas f79dc85033 * typo fixed 14 lat temu
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 lat temu
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 15 lat temu
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 lat temu
dbgdwarf.pas d956808080 Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330 13 lat temu
dbgstabs.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 13 lat temu
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 lat temu
defcmp.pas 6431ebe7f3 * treat the nil node as equal to near, far and all the special x86 pointer types 12 lat temu
defutil.pas 894d400a7b + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 12 lat temu
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 lat temu
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 lat temu
expunix.pas 0960ee2034 * Add missing checks for android target. 13 lat temu
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 13 lat temu
fmodule.pas 88af293155 Fix for Mantis #22160 13 lat temu
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 18 lat temu
fpcdefs.inc 87cfd86172 * Define SUPPORT_GET_FRAME for targets having "get_frame" as internal symbol (x86,arm and jvm, currently), removes need to enumerate these targets in every related conditional compilation directive and simplifies configuring this feature for other targets. 12 lat temu
fppu.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 13 lat temu
gendef.pas aee5380ae0 * merged trunk up to r20882 13 lat temu
globals.pas b409d600ee + implemented the tiny memory model for i8086-msdos; we now produce working dos .com files as well 12 lat temu
globstat.pas 88af293155 Fix for Mantis #22160 13 lat temu
globtype.pas a9c949e551 * the memory model const sets introduced in r24812 moved to i8086/cpuinfo.pas 12 lat temu
hlcg2ll.pas 7d9f98e516 + def_cgmmsize() that returns a vector tcgsize for arraydefs (as generated 12 lat temu
hlcgobj.pas 109317e460 + full support for parameter passing in the high level code generator 12 lat temu
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. 13 lat temu
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 lat temu
import.pas bf1c390027 * refactor import library generation 19 lat temu
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 lat temu
link.pas a11c113429 reverted the link object search change 12 lat temu
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 15 lat temu
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 lat temu
msgidx.inc 37df6f6455 * nostackframe now results in an error if used on pascal subroutines 12 lat temu
msgtxt.inc 37df6f6455 * nostackframe now results in an error if used on pascal subroutines 12 lat temu
nadd.pas d387182bd6 * when doing a pointer comparison on i8086, don't cast a far pointer to a near one (pchar), but use a far one instead 12 lat temu
nbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
ncal.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 lat temu
ncgadd.pas 0a84f1f10c + avx uses add to multiply by 2 12 lat temu
ncgbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
ncgcal.pas 1029636dfe * far proc fixes in tcgcallnode.pass_generate_code 12 lat temu
ncgcnv.pas 19495439b1 * do not destroy the left operand in second_ansistring_to_pchar if it is a register 12 lat temu
ncgcon.pas a308994423 * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 12 lat temu
ncgflw.pas 4a9fe5d07d * Fixed register live range in for-loops: 12 lat temu
ncginl.pas cc8772cf92 * sizeof(x), typeof(x): if "x" is typenode, request GOT for PIC because a global VMT label will be loaded. 12 lat temu
ncgld.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
ncgmat.pas cb81153cc4 * fixed tcgnotnode.second_64bit for 8/16-bit cpus after r24678 12 lat temu
ncgmem.pas 963a488ca2 * handle also LOC_CREGISTER/LOC_CMMREGISTER in tcgvecnode.pass_generate_code, resolves #24705 12 lat temu
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 14 lat temu
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 lat temu
ncgobjc.pas 4cf5e36ce7 compiler: 14 lat temu
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 lat temu
ncgrtti.pas f7d3f7cd33 * use create_nil_dataptr instead of create_sym(nil) in TRTTIWriter.write_rtti_reference; among other things, this fixes writeln(enum) in the i8086 medium memory model 12 lat temu
ncgset.pas 29c7d38e43 * 16-bit ALU fixes in tcgcasenode.genlinearcmplist 12 lat temu
ncgutil.pas 2dd75e707e * renamed thlcgobj.tcgsize2orddef to defutil.cgsize_orddef 12 lat temu
ncgvmt.pas d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 12 lat temu
ncnv.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 lat temu
ncon.pas ed29f7a92d + far pointer support in tpointerconstnode 12 lat temu
nflw.pas ab39e6f7d8 * fix parameter order for compilerproc created by raise nodes 12 lat temu
ngenutil.pas 380bc56e32 + create a default heap on embedded targets and register this default heap 13 lat temu
ngtcon.pas 11d5d4f79d * check range of enums and booleans in typed constant expressions when 12 lat temu
ninl.pas 87cfd86172 * Define SUPPORT_GET_FRAME for targets having "get_frame" as internal symbol (x86,arm and jvm, currently), removes need to enumerate these targets in every related conditional compilation directive and simplifies configuring this feature for other targets. 12 lat temu
nld.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
nmat.pas 1312fd72f2 * tmoddivnode.pass_typecheck: in the case of unsigned div/mod positive_const, check also the upper bound of the const, so it doesn't get truncated 12 lat temu
nmem.pas c9096ef806 * far pointer fix in taddrnode.pass_typecheck 12 lat temu
nobj.pas d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 12 lat temu
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 lat temu
node.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 lat temu
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 lat temu
nset.pas 5d74e0578a compiler: remove unused variables and unneeded assignments 13 lat temu
nstate.pas 790a4fe2d3 * log and id tags removed 20 lat temu
nutils.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 lat temu
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). 15 lat temu
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 14 lat temu
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 lat temu
ogbase.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 lat temu
ogcoff.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 lat temu
ogelf.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 lat temu
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 lat temu
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 lat temu
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 17 lat temu
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 lat temu
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 16 lat temu
optcse.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 lat temu
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 lat temu
optdfa.pas 709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns 12 lat temu
options.pas 87cfd86172 * Define SUPPORT_GET_FRAME for targets having "get_frame" as internal symbol (x86,arm and jvm, currently), removes need to enumerate these targets in every related conditional compilation directive and simplifies configuring this feature for other targets. 12 lat temu
optloop.pas 9773b92cbe * improved for loop unrolling 13 lat temu
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 14 lat temu
optutils.pas 0af7a6f92c + has_life_info 12 lat temu
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 lat temu
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 lat temu
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 lat temu
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 lat temu
paramgr.pas 7f2750f188 * missing part of r24776, using a build server also has pitfalls :/ 12 lat temu
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 13 lat temu
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 lat temu
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 lat temu
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 13 lat temu
pdecl.pas 5966cc088d * got rid of tpointerdef.update_savesize, overrode size instead 12 lat temu
pdecobj.pas 2fdd3e2d0a + introduce tvariantrecbranch to be able to store 12 lat temu
pdecsub.pas 91bc424694 Fix bug report 24612: 12 lat temu
pdecvar.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 lat temu
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 lat temu
pexpr.pas 7edabc64e6 * rm support for Mem without segment on i8086 12 lat temu
pgenutil.pas 956b26bc97 Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 12 lat temu
pinline.pas 0968d095ed * convert function like used new into a appropriate nodes only in pass_1 so proper error checking can be carried out, resolves #24495 12 lat temu
pmodules.pas 5e0585c0d0 + introduce tf_no_objectfiles_when_smartlinking so object file generation on i8086-msdos can be turned off 12 lat temu
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 lat temu
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 13 lat temu
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. 13 lat temu
ppc68k.lpi 9ebf2aa984 * project file updates 13 lat temu
ppc8086.lpi 6046edd8f9 + i8086/n8086cnv.pas added to lazarus project 12 lat temu
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 13 lat temu
ppcarm.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcavr.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 lat temu
ppcmips.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcppc.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcppc64.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcsparc.lpi 9ebf2aa984 * project file updates 13 lat temu
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 lat temu
ppu.pas 381c996e53 + added po_far to tprocoptions 12 lat temu
ppx86_64.lpi e96dc4204e * version update 13 lat temu
procinfo.pas b41728c129 * estimatedtempsize should be a longint to avoid warnings on 8 bit targets 12 lat temu
pstatmnt.pas b6bfa864d4 Disallow the usage of the inline assembler inside generics, because there are currently two problems: 12 lat temu
psub.pas 1419a12865 - Removed MIPS-specific code which has been copied to TMIPSProcinfo.set_first_temp_offset in r23885. 12 lat temu
psystem.pas 87cfd86172 * Define SUPPORT_GET_FRAME for targets having "get_frame" as internal symbol (x86,arm and jvm, currently), removes need to enumerate these targets in every related conditional compilation directive and simplifies configuring this feature for other targets. 12 lat temu
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 lat temu
ptype.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 lat temu
raatt.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 13 lat temu
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 20 lat temu
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 lat temu
rautils.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 13 lat temu
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 15 lat temu
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 lat temu
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 lat temu
rgobj.pas 8b8553991a + MIPS: prevent coalescing written-to registers with $sp,$fp,$zero and $at. 12 lat temu
scandir.pas 2e186a91fa Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 12 lat temu
scanner.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 lat temu
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 lat temu
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 lat temu
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 lat temu
symconst.pas 381c996e53 + added po_far to tprocoptions 12 lat temu
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 13 lat temu
symdef.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
symnot.pas 790a4fe2d3 * log and id tags removed 20 lat temu
symsym.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 lat temu
symtable.pas f1f89c77c3 Finally refactor "b_needs_init_final" flag to be a symtable flag which is written to/loaded from the PPU (as discussed in the thread "Status report for "class helpers"" in fpc-devel on 29th January 2011). 12 lat temu
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... 13 lat temu
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 lat temu
systems.inc ac64663e70 + openwatcom wlib support added 12 lat temu
systems.pas 1358618c36 * only display and allow ABIs that are actually supported by the current 12 lat temu
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 lat temu
tokens.pas 12825a2f09 * Fixed unused var note. 12 lat temu
verbose.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 13 lat temu
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 13 lat temu
widestr.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 13 lat temu
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 17 lat temu
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 lat temu
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 16 lat temu

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