Nikolay Nikolov 50f76a2ffb * moved another local var to avoid bug vor 1 Jahr
..
aarch64 afe2e80673 * a64: Node parser now attempts to directly create BIC, ORN and EON instructions vor 1 Jahr
arm 6e9521d99a Fix for trunk arm STM optimize bug vor 1 Jahr
armgen af9c9a826e * a64: Porting of MatchOperand function from x86 that takes integer parameter vor 1 Jahr
avr 248082347f AVR optimization LdsMov2Lds vor 1 Jahr
generic ff3acfb8cd * cleanup of 2.7.0 defines vor 3 Jahren
html fa0d3d79e0 no message vor 23 Jahren
i386 47825610b8 * Pass 2 can now be run multiple times when vor 1 Jahr
i8086 ede47ffea9 * New "fast 3-component LEA hint" and "Icelake" CPU options vor 1 Jahr
jvm a401898139 * spelling fixes vor 3 Jahren
llvm 49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations vor 1 Jahr
loongarch64 e8a03ac8bc Try to fix crash in loongarch64 compiler vor 1 Jahr
m68k 53e7006d56 m68k: fix the assembler reader to bail out earlier on a failed parsing of a constant expression vor 1 Jahr
mips dc04a8a677 Fix storing of unaligned 64-bit to memory vor 2 Jahren
msg e1e9a6728f * fix casing vor 1 Jahr
powerpc b8036f7173 Add dwarf CFI for 32-bit powerpc cpu vor 1 Jahr
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu vor 1 Jahr
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler vor 2 Jahren
riscv 8382c6f586 Added generic WCH32Vx RISC-V processor types using memory size suffixes vor 2 Jahren
riscv32 acf5675a90 Change AVOID_OVERFLOW to avoid warning about inequality being always true vor 1 Jahr
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 vor 2 Jahren
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already vor 3 Jahren
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 vor 2 Jahren
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method vor 2 Jahren
systems 34445a912a * implementation of TInternalLinkerWasi.DefaultLinkScript. Create a script that reads all the object files. vor 1 Jahr
utils 679f2f75b3 human68k: regenerated Makefiles vor 1 Jahr
wasm32 57aead9a14 + added const sets for the WebAssembly reference, numeric and vector types vor 1 Jahr
x86 ccf631eabd * x86: Fixed inefficiencies revealed in "TEST/JNE/TEST/JNE" vor 1 Jahr
x86_64 0ca260e08c LLVM: fix currency parameters passed on the stack on x86-64 vor 1 Jahr
xtensa d24548f8d8 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option vor 2 Jahren
z80 219fedfea6 Restore start section at end of assembler block inside z80 asm reader vor 2 Jahren
.gitignore e14692f594 git ignore msg2inc binary vor 2 Jahren
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) vor 9 Jahren
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option vor 4 Jahren
Makefile 679f2f75b3 human68k: regenerated Makefiles vor 1 Jahr
Makefile.fpc d9ad6bdd1f Avoid troubles with exported directories vor 1 Jahr
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
aasmbase.pas cf21365a21 * fixed and enabled the is_pascal_goto_target check vor 1 Jahr
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives vor 6 Jahren
aasmcnst.pas 8696ca652d * Emit comments in RTTI info for classes/interfaces vor 2 Jahren
aasmdata.pas cda8971baa Add dwarf cfa support vor 2 Jahren
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining vor 5 Jahren
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would vor 6 Jahren
aasmtai.pas 90e0b426ef * SkipInstr now includes ait_align vor 1 Jahr
aggas.pas 4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support vor 1 Jahr
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written vor 4 Jahren
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef vor 5 Jahren
aoptda.pas b1dff29cbf * removed unused units vor 8 Jahren
aoptobj.pas 7080bcc160 * UpdateUsedRegsAndOptimize improved to clear aligns that don't have vor 1 Jahr
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 vor 4 Jahren
assemble.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab vor 2 Jahren
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not vor 3 Jahren
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 vor 2 Jahren
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because vor 16 Jahren
ccharset.pas cb44d7d4e2 * some cleanup vor 5 Jahren
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 vor 2 Jahren
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit vor 4 Jahren
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
cfileutl.pas c9b88a1cd0 * Allow to disable 8.3 filename search vor 1 Jahr
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned vor 3 Jahren
cgbase.pas 11712658b0 + implemented WebAssembly code generator support for funcref and externref data vor 2 Jahren
cgexcept.pas fe57cd3536 * fix LLVM after r48828 vor 4 Jahren
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 vor 10 Jahren
cgobj.pas 922893ddbb Attempt to fix tcalext3 big-endian powerpc64 failure vor 1 Jahr
cgutils.pas 131c1e1b93 * Converted assertion into an internal error vor 3 Jahren
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled vor 8 Jahren
comphook.pas 63642b13c8 Add -vj option in options unit to set V_Parallel vor 2 Jahren
compiler.pas 4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support vor 1 Jahr
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc vor 4 Jahren
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 vor 3 Jahren
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 vor 4 Jahren
constexp.pas a6d6f93887 * revert accidently committed code vor 3 Jahren
cprofile.pas 6612bb4434 * proper naming vor 5 Jahren
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables vor 11 Jahren
cresstr.pas ed50a1941b * Unicode resource strings vor 2 Jahren
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes vor 4 Jahren
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 vor 2 Jahren
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit vor 2 Jahren
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. vor 4 Jahren
dbgdwarf.pas 94cb1c3a49 * correctly name nested enum type debug symbols, resolves #40462 vor 1 Jahr
dbgdwarfconst.pas b797bbf5dc * spelling fixed vor 2 Jahren
dbgstabs.pas a401898139 * spelling fixes vor 3 Jahren
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the vor 5 Jahren
defcmp.pas f00a932cc6 * New is_cyclic function to detect if def references itself - fixes #40010 vor 2 Jahren
defutil.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) vor 2 Jahren
dirparse.pas 93be88b270 * reverted r47862 vor 4 Jahren
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr vor 2 Jahren
elfbase.pas 245b58c249 + support for arm attributes vor 5 Jahren
entfile.pas c38cc828e8 Add new test code to verify that tentfile.buf limits are not overpassed vor 2 Jahren
export.pas 2f1ccd6f2a + support 'promising last' exports vor 2 Jahren
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa vor 6 Jahren
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 vor 2 Jahren
fmodule.pas 64feb6a5cd * $NAMESPACES directive vor 2 Jahren
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: vor 3 Jahren
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 4 Jahren
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: vor 9 Jahren
fppu.pas c9b88a1cd0 * Allow to disable 8.3 filename search vor 1 Jahr
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 vor 5 Jahren
globals.pas c9b88a1cd0 * Allow to disable 8.3 filename search vor 1 Jahr
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit vor 6 Jahren
globtype.pas c9b88a1cd0 * Allow to disable 8.3 filename search vor 1 Jahr
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is vor 3 Jahren
hlcgobj.pas 49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations vor 1 Jahr
htypechk.pas 2db4cae7aa nested procvars: support assignments when switch not active vor 1 Jahr
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. vor 11 Jahren
import.pas b1dff29cbf * removed unused units vor 8 Jahren
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument vor 2 Jahren
link.pas 708aaa7b97 * fix (hopefully) build without an ld.bfd variant vor 2 Jahren
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler vor 6 Jahren
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler vor 6 Jahren
msgidx.inc f2c5bb2bfd regenerated msg*.inc files for the compiler after human68k merge vor 1 Jahr
msgtxt.inc e1e9a6728f * fix casing vor 1 Jahr
nadd.pas 6e5860cb87 * check for *-1 multiplications after folding, resolves #40448 vor 1 Jahr
nbas.pas 7854152304 * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes vor 2 Jahren
ncal.pas 3539b4a6f3 * do str(...) optimization only in level 3+ mode vor 1 Jahr
ncgadd.pas bbece3e668 * MIPS64 can vor 3 Jahren
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. vor 4 Jahren
ncgcal.pas dce70b3b70 Short version of the mips code genration bug vor 2 Jahren
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 vor 3 Jahren
ncgflw.pas 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement vor 1 Jahr
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false vor 10 Jahren
ncginl.pas c59b6a5d8d * High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction) vor 3 Jahren
ncgld.pas 49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations vor 1 Jahr
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned vor 3 Jahren
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 vor 4 Jahren
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms vor 6 Jahren
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines vor 6 Jahren
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. vor 5 Jahren
ncgobjc.pas b1dff29cbf * removed unused units vor 8 Jahren
ncgopt.pas b1dff29cbf * removed unused units vor 8 Jahren
ncgrtti.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI vor 2 Jahren
ncgset.pas 29bae2297f tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok vor 2 Jahren
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods vor 3 Jahren
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global vor 3 Jahren
ncnv.pas 4e959de2c7 * Do not insert widechar -> ansichar conversion node in const declaration vor 2 Jahren
ncon.pas 82f025e9e7 trealconstnode.printnodedata: fix currency values getting written to stdout vor 1 Jahr
nflw.pas 68668c649e * fix #40500: do a for-in on a string variable using low(strvar) to high(strvar) so that zero based strings are handled correctly vor 1 Jahr
ngenutil.pas c96641f901 LLVM: fix double init/fini of local managed variables accessed from nested functions vor 1 Jahr
ngtcon.pas 12bde4e903 WPO: fix dead code detection, and handle procvars vor 2 Jahren
ninl.pas e1f993c363 * tinlinenode.handle_str now uses the new intrinsiccode field for TCallNode vor 1 Jahr
nld.pas 12bde4e903 WPO: fix dead code detection, and handle procvars vor 2 Jahren
nmat.pas 02289d1f5b + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 vor 3 Jahren
nmem.pas 12bde4e903 WPO: fix dead code detection, and handle procvars vor 2 Jahren
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global vor 3 Jahren
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed vor 7 Jahren
node.pas 7488f1e3f8 * New node pruning methods vor 2 Jahren
nopt.pas bb51ac77dd * the right side of a concatenation of multiple ShortString values can directly pass any String[x] to the utility routine, because only the Length() is used, not High() and nothing is modified (also typed pointers must not be used for them); this allows for better code generation for strings with a maximum length < 255 vor 2 Jahren
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels vor 3 Jahren
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall vor 2 Jahren
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check vor 3 Jahren
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target vor 2 Jahren
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks vor 3 Jahren
ogbase.pas 526de20d9a + introduced methods for writing endian-specific integers to TObjSection vor 1 Jahr
ogcoff.pas ff673eadac Add unit specifiers for tlsdirectory fields: they need to be PUInt from globtype unit vor 2 Jahren
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction vor 4 Jahren
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using vor 10 Jahren
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the vor 5 Jahren
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument vor 2 Jahren
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the vor 5 Jahren
ogomf.pas beca14334c * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. vor 1 Jahr
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer vor 3 Jahren
ogwasm.pas 50f76a2ffb * moved another local var to avoid bug vor 1 Jahr
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 vor 3 Jahren
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children vor 5 Jahren
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 vor 2 Jahren
optcse.pas da37fabc42 * fixed a div by zero error, when compiling a wasi-hosted compiler vor 1 Jahr
optdead.pas b1dff29cbf * removed unused units vor 8 Jahren
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin vor 2 Jahren
optdfa.pas a27cb35fa8 * propagate life info properly vor 2 Jahren
options.pas 4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support vor 1 Jahr
optloadmodifystore.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. vor 4 Jahren
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. vor 3 Jahren
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter vor 5 Jahren
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 vor 2 Jahren
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 4 Jahren
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL vor 5 Jahren
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL vor 5 Jahren
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit vor 2 Jahren
parabase.pas abfd975571 TCGParaLocation: remove alignment gap vor 3 Jahren
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
parser.pas a4c94c8b44 human68k: more work on getting tinyheap right. still doesn't seem to work, sadly, so still disabled vor 1 Jahr
pass_1.pas 95e5eeb226 * fix compilation with -dEXTDEBUG vor 2 Jahren
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering vor 2 Jahren
pbase.pas f364bb6b11 * Forbid use of string alias in system unit vor 2 Jahren
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: vor 3 Jahren
pdecl.pas ed50a1941b * Unicode resource strings vor 2 Jahren
pdecobj.pas 92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) vor 2 Jahren
pdecsub.pas 439faf0da8 m68k: basic DOS syscall generation for human68k vor 1 Jahr
pdecvar.pas ba55932929 Fixing trying to consume ID for anonymous switch field vor 1 Jahr
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform vor 2 Jahren
pexpr.pas 1f91fe4b11 * fix output position of deprecated hint for certain cases where it was wrong, resolves #40534 vor 1 Jahr
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 vor 3 Jahren
pgenutil.pas ade7af5234 * Refer to bugreport for internal error 20231102 vor 1 Jahr
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 4 Jahren
pmodules.pas 9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit vor 2 Jahren
pp.lpi 867786c953 * update version vor 5 Jahren
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
pparautl.pas f721210638 * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided vor 2 Jahren
ppc68k.lpi 8192bf1b33 * version update vor 4 Jahren
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers vor 8 Jahren
ppcaarch64.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcarm.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcavr.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcjvm.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcmips.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcmips64el.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcmipsel.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcppc.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcppc64.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcppc64le.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcriscv32.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcriscv64.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcsparc.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcsparc64.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcwasm32.lpi 7879387861 * enable the WASM internal linker, in case the compiler is compiled with the ENABLE_WASM_INTERNAL_LINKER define vor 1 Jahr
ppcx64.lpi ed50a1941b * Unicode resource strings vor 2 Jahren
ppcx64llvm.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcxtensa.lpi 7909f00c83 * project files updated vor 2 Jahren
ppcz80.lpi 7909f00c83 * project files updated vor 2 Jahren
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed vor 9 Jahren
ppu.pas ea7b9c73f3 * New intrinsiccode field for TCallNode to track transmutation from TInlineNode vor 1 Jahr
procdefutil.pas 08dca09c7e * revert 430bcac389c29a5ceca7759cfca69454aa31abf9 as with the change that the functions to insert hidden parameters are idempotent this is no longer required and also wrong as uses of the deleted symbols aside from Self and the framepointer would be left dangling vor 2 Jahren
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef vor 3 Jahren
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 vor 4 Jahren
pstatmnt.pas 55deefbab5 * do not crash on illegal with statement, resolves #40118 vor 2 Jahren
psub.pas 5c090fce2c * Node dumps now output the convention if it's not pocall_default vor 1 Jahr
psystem.pas adf9f98f7c * Define char as AnsiChar vor 2 Jahren
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed vor 5 Jahren
ptype.pas 3f1d62af8e * fix #40504: always provide the global enum symbol for anonymous enum types (e.g. as part of a set) vor 1 Jahr
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
rasm.pas 46fe2d486c * forgotten comment vor 7 Jahren
rautils.pas 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 vor 2 Jahren
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler vor 5 Jahren
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters vor 5 Jahren
rgobj.pas 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record vor 1 Jahr
scandir.pas 64feb6a5cd * $NAMESPACES directive vor 2 Jahren
scanner.pas e5de38c42d * patch by lagprogramming: Improvement of function SetCompileModeSwitch, resolves #40525 vor 1 Jahr
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly vor 2 Jahren
symbase.pas 8184287ec0 Fix for variables longer than 127 chars vor 3 Jahren
symconst.pas 7085083559 * Additional fields/enums for invoke helper vor 2 Jahren
symcreat.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI vor 2 Jahren
symdef.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) vor 2 Jahren
symsym.pas 706443c354 dbgllvm: support for record field debug information vor 3 Jahren
symtable.pas a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols vor 2 Jahren
symtype.pas 8f3cce556d * some error messages use nicer symbol names vor 2 Jahren
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants vor 2 Jahren
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k vor 1 Jahr
systems.inc 790a58be52 + added ld_int_wasi constant. Register the WASI internal linker. vor 1 Jahr
systems.pas ba773e3385 human68k: this system has internal sysinit vor 1 Jahr
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' vor 2 Jahren
triplet.pas 327aac7f24 Add aarch64-iphonesim target vor 2 Jahren
verbose.pas 63642b13c8 Add -vj option in options unit to set V_Parallel vor 2 Jahren
version.pas 12c4290ffe Add loongarch64 architecture support to compiler vor 2 Jahren
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 vor 3 Jahren
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType vor 3 Jahren
widestr.pas cb44d7d4e2 * some cleanup vor 5 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 12bde4e903 WPO: fix dead code detection, and handle procvars vor 2 Jahren
wpoinfo.pas b1dff29cbf * removed unused units vor 8 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