nickysn e4f3dd1264 * do not emit shl/shr with a const different than 1 on 8086 12 rokov pred
..
aarch64 7bad1763b8 Decrease amount of code duplication regarding handling of safecall and record constructors. 12 rokov pred
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 rokov pred
arm 0e9b8adb7a patch by Michael Ring: 12 rokov pred
avr bcd48ac1a1 + patch by Justin Smyth to support the lpc1343, resolves #23844 12 rokov pred
generic 3017132268 * Remove triple sources 14 rokov pred
html fa0d3d79e0 no message 23 rokov pred
i386 e88bc322bc + Merge the targetandroid branch. Support for arm and i386 android targets. 12 rokov pred
i8086 76e3dd5cef * do not generate push const on the i8086, go through a register instead, unless it's 186+ 12 rokov pred
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 rokov pred
jvm 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
m68k d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 12 rokov pred
mips 02a288fd89 * MIPS addnode: rewritten almost completely: 12 rokov pred
msg 262593c571 * "can not" -> "cannot" 12 rokov pred
powerpc 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or 12 rokov pred
powerpc64 a03f0d84ea high level code generator: const types changed from aint to tcgint to avoid problems on < 32-bit cpus; ppcjvm should also be updated, but isn't yet 12 rokov pred
ppcgen 69c29a415f * pass the procdef to getintparaloc instead of only the proccalloption, so 12 rokov pred
sparc 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 12 rokov pred
systems 0e9b8adb7a patch by Michael Ring: 12 rokov pred
utils 6d3121078d Regenerate all Makefiles with an up-to-date fpcmake binary 12 rokov pred
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 rokov pred
x86 e4f3dd1264 * do not emit shl/shr with a const different than 1 on 8086 12 rokov pred
x86_64 a07af824ea * properly fix raise node handling on x86-64 after r24288 12 rokov pred
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 rokov pred
Makefile 6d3121078d Regenerate all Makefiles with an up-to-date fpcmake binary 12 rokov pred
Makefile.fpc 981570fe32 + added i8086 related stuff to compiler Makefile.fpc 12 rokov pred
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses 13 rokov pred
aasmdata.pas 9375529430 + put guids in a constant pool as well 12 rokov pred
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 rokov pred
aasmtai.pas 8e6d6d0027 * Replaced strpcopy() by its equivalent. With sysutils in uses clause, strpcopy resolves to ansistring version, inserting a redundant conversion to ansistring. 12 rokov pred
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. 12 rokov pred
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 13 rokov pred
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 rokov pred
aoptbase.pas ca5078f9cf + RegModifiedBetween 13 rokov pred
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 rokov pred
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 rokov pred
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel 13 rokov pred
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. 12 rokov pred
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. 12 rokov pred
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 12 rokov pred
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 rokov pred
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 rokov pred
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 12 rokov pred
cclasses.pas 99f2e57e42 * better error reporting 12 rokov pred
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 rokov pred
cfileutl.pas d749ac5354 * make ansistring unique before starting to change it using a pchar 12 rokov pred
cg64f32.pas 40ab132efa * replaced tcgint(lo(x)) with longint(lo(x)) and tcgint(hi(x)) with longint(hi(x)) in cg64f32.pas, which should fix some of the const sign expansion regressions on some 32-bit architectures 12 rokov pred
cgbase.pas 8d6017348a * fixed the defines of OS_PAIR and OS_SPAIR for cpus with 16-bit or 8-bit ALU 12 rokov pred
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 rokov pred
cgobj.pas a5c5b05362 * initial support for system procs that use calling conventions that push left to right on i8086 or i386 12 rokov pred
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 rokov pred
cmsgs.pas aba10cd184 compiler: 13 rokov pred
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 12 rokov pred
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 12 rokov pred
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
constexp.pas 0e92f68032 - 2.0 overlefts removed 12 rokov pred
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 rokov pred
crefs.pas 851b00f8e9 * more properties fixed 15 rokov pred
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. 12 rokov pred
cstreams.pas f79dc85033 * typo fixed 13 rokov pred
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 rokov pred
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 rokov pred
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 rokov pred
dbgdwarf.pas d956808080 Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330 12 rokov pred
dbgstabs.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 12 rokov pred
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 rokov pred
defcmp.pas 1244cdff70 * don't treat bitpacked arrays of subranges of char that can be represented 12 rokov pred
defutil.pas 2486009d37 + support u64bit as well in defutil.range_to_basetype 12 rokov pred
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 rokov pred
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 rokov pred
expunix.pas 0960ee2034 * Add missing checks for android target. 12 rokov pred
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 rokov pred
fmodule.pas 88af293155 Fix for Mantis #22160 13 rokov pred
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 rokov pred
fpcdefs.inc f75ff8cc26 + enable the div helper for i8086 12 rokov pred
fppu.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 rokov pred
gendef.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
globals.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
globstat.pas 88af293155 Fix for Mantis #22160 13 rokov pred
globtype.pas 5ed1222e64 * changed the default i8086 calling convention to pocall_pascal 12 rokov pred
hlcg2ll.pas cbf3b14e20 * yet another 8/16-bit ALU fix in thlcg2ll.location_force_reg 12 rokov pred
hlcgobj.pas d4c7afbfe8 + generate thumb_func directives for thumb as well 12 rokov pred
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. 12 rokov pred
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 rokov pred
import.pas bf1c390027 * refactor import library generation 19 rokov pred
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 rokov pred
link.pas a1ee8ab9bc * suppress annoying wlib header 12 rokov pred
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 rokov pred
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 rokov pred
msgidx.inc 262593c571 * "can not" -> "cannot" 12 rokov pred
msgtxt.inc 262593c571 * "can not" -> "cannot" 12 rokov pred
nadd.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
nbas.pas 075abd6220 + support of stackframesize for arm thumb 12 rokov pred
ncal.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match 13 rokov pred
ncgbas.pas c37c039905 * report resolveref errors on the correct line number 12 rokov pred
ncgcal.pas 8b8a786823 * moved ARM/x86 ifdef'ed code from ncgcal to virtual methods 12 rokov pred
ncgcnv.pas 5152c86932 * set the location size of load nodes of procsyms without methodpointer/ 12 rokov pred
ncgcon.pas 9375529430 + put guids in a constant pool as well 12 rokov pred
ncgflw.pas a07af824ea * properly fix raise node handling on x86-64 after r24288 12 rokov pred
ncginl.pas 4d8adbf5ff + implemented Seg() for i8086 (small/tiny memory model) 12 rokov pred
ncgld.pas 5152c86932 * set the location size of load nodes of procsyms without methodpointer/ 12 rokov pred
ncgmat.pas a5c5b05362 * initial support for system procs that use calling conventions that push left to right on i8086 or i386 12 rokov pred
ncgmem.pas a5c5b05362 * initial support for system procs that use calling conventions that push left to right on i8086 or i386 12 rokov pred
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 rokov pred
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 rokov pred
ncgobjc.pas 4cf5e36ce7 compiler: 14 rokov pred
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 rokov pred
ncgrtti.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 rokov pred
ncgset.pas 29c7d38e43 * 16-bit ALU fixes in tcgcasenode.genlinearcmplist 12 rokov pred
ncgutil.pas d4c7afbfe8 + generate thumb_func directives for thumb as well 12 rokov pred
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 rokov pred
ncnv.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
ncon.pas 9375529430 + put guids in a constant pool as well 12 rokov pred
nflw.pas ab39e6f7d8 * fix parameter order for compilerproc created by raise nodes 12 rokov pred
ngenutil.pas 380bc56e32 + create a default heap on embedded targets and register this default heap 12 rokov pred
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed 13 rokov pred
ninl.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) 13 rokov pred
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 rokov pred
nmem.pas fe338013a5 compiler: calculate offset of record fields in taddrnode also for bitpacked structures (Jonas comment in bug #0019357) 12 rokov pred
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 rokov pred
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 rokov pred
node.pas 2fdd3e2d0a + introduce tvariantrecbranch to be able to store 12 rokov pred
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 rokov pred
nset.pas 5d74e0578a compiler: remove unused variables and unneeded assignments 12 rokov pred
nstate.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
nutils.pas 18aaeff1d7 + calculate node complexity for addrnodes and labelnodes 12 rokov pred
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). 14 rokov pred
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 rokov pred
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 rokov pred
ogbase.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
ogcoff.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
ogelf.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 rokov pred
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 rokov pred
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 rokov pred
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 rokov pred
optcse.pas 2c7b34cda1 * don't apply cse on static variables being regable 12 rokov pred
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
optdfa.pas 709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns 12 rokov pred
options.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
optloop.pas 9773b92cbe * improved for loop unrolling 13 rokov pred
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 13 rokov pred
optutils.pas 709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns 12 rokov pred
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 rokov pred
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 rokov pred
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 rokov pred
parabase.pas 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or 12 rokov pred
paramgr.pas 2b78bb1674 - removed ppc-specific tcgpara.composite field, it's no longer used or 12 rokov pred
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 rokov pred
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
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 rokov pred
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. 12 rokov pred
pdecobj.pas 2fdd3e2d0a + introduce tvariantrecbranch to be able to store 12 rokov pred
pdecsub.pas 8353d53b69 Fix for Mantis #22433. 12 rokov pred
pdecvar.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 rokov pred
pexpr.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
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. 12 rokov pred
pinline.pas e1233e0111 * asizeint => longint, it is unlikely that an variant record well ever have more than 2^31 branches 12 rokov pred
pmodules.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 rokov pred
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 rokov pred
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 rokov pred
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. 12 rokov pred
ppc68k.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppc8086.lpi 3853d06ac0 + added n8086cal.pas, based on n386cal.pas; this pulls in nx86cal.pas as well and fixes compilation of the system unit on i8086 after the merge of the i8086 branch to trunk 12 rokov pred
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 rokov pred
ppcarm.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcavr.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 rokov pred
ppcmips.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcppc.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcppc64.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcsparc.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 rokov pred
ppu.pas bac18a0094 * properly read asizeints from ppus on 16 bit targets 12 rokov pred
ppx86_64.lpi e96dc4204e * version update 13 rokov pred
procinfo.pas b41728c129 * estimatedtempsize should be a longint to avoid warnings on 8 bit targets 12 rokov pred
pstatmnt.pas e621bff943 * don't make a deep copy of records (and in the future, objects) in with- 12 rokov pred
psub.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
psystem.pas e82983e577 * Define CExtended and clongdouble as double for Android. 12 rokov pred
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 rokov pred
ptype.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
raatt.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 12 rokov pred
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 rokov pred
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 rokov pred
rautils.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 12 rokov pred
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 rokov pred
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 rokov pred
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 rokov pred
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. 13 rokov pred
scandir.pas fdde11fcc8 - -CPPAKCSET=NORMAL and CPPAKCSET=DEFAULT should set setalloc to 0 as $PACKSET=... with the same parameters does 12 rokov pred
scanner.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 rokov pred
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 rokov pred
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 rokov pred
symconst.pas a9809323dc some more generic i8086 defines added 12 rokov pred
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 12 rokov pred
symdef.pas 0e41df598e * merge i8086 branch by Nikolay Nikolov 12 rokov pred
symnot.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
symsym.pas fef7832790 * enable absolute for i8086-msdos 12 rokov pred
symtable.pas 075abd6220 + support of stackframesize for arm thumb 12 rokov pred
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... 12 rokov pred
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 rokov pred
systems.inc ac64663e70 + openwatcom wlib support added 12 rokov pred
systems.pas 94e8690e2e oops, forgot about systems.pas in the previous commit 12 rokov pred
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 rokov pred
tokens.pas 12825a2f09 * Fixed unused var note. 12 rokov pred
verbose.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 rokov pred
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 12 rokov pred
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 16 rokov pred
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 rokov pred
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 rokov pred

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