ccrause 652f21b656 RP2040 support based on modification by Michael Ring (https://github.com/michael-ring/freepascal). пре 2 година
..
aarch64 afe2e80673 * a64: Node parser now attempts to directly create BIC, ORN and EON instructions пре 1 година
arm 652f21b656 RP2040 support based on modification by Michael Ring (https://github.com/michael-ring/freepascal). пре 1 година
armgen af9c9a826e * a64: Porting of MatchOperand function from x86 that takes integer parameter пре 1 година
avr be54d40660 Also add boot information to board aliases. пре 2 година
generic ff3acfb8cd * cleanup of 2.7.0 defines пре 3 година
html fa0d3d79e0 no message пре 23 година
i386 47825610b8 * Pass 2 can now be run multiple times when пре 1 година
i8086 ede47ffea9 * New "fast 3-component LEA hint" and "Icelake" CPU options пре 1 година
jvm a401898139 * spelling fixes пре 3 година
llvm 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record пре 1 година
loongarch64 e8a03ac8bc Try to fix crash in loongarch64 compiler пре 1 година
m68k 6bbb10e64d m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. пре 2 година
mips dc04a8a677 Fix storing of unaligned 64-bit to memory пре 2 година
msg 63642b13c8 Add -vj option in options unit to set V_Parallel пре 1 година
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler пре 3 година
powerpc64 cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit пре 1 година
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler пре 2 година
riscv 8382c6f586 Added generic WCH32Vx RISC-V processor types using memory size suffixes пре 1 година
riscv32 acf5675a90 Change AVOID_OVERFLOW to avoid warning about inequality being always true пре 1 година
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 пре 2 година
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already пре 3 година
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 пре 2 година
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method пре 2 година
systems 652f21b656 RP2040 support based on modification by Michael Ring (https://github.com/michael-ring/freepascal). пре 1 година
utils bc1c93c05f Fix handling of ST_LOADMESSAGES token пре 1 година
wasm32 3defa34470 + check whether all br instructions, generated by goto point to a pascal goto label пре 1 година
x86 5fab6cc5e0 * Fixed internal error number clash (2022102110) пре 1 година
x86_64 0ca260e08c LLVM: fix currency parameters passed on the stack on x86-64 пре 1 година
xtensa d24548f8d8 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option пре 2 година
z80 219fedfea6 Restore start section at end of assembler block inside z80 asm reader пре 2 година
.gitignore e14692f594 git ignore msg2inc binary пре 2 година
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) пре 8 година
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option пре 4 година
Makefile d9ad6bdd1f Avoid troubles with exported directories пре 1 година
Makefile.fpc d9ad6bdd1f Avoid troubles with exported directories пре 1 година
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files пре 16 година
aasmbase.pas cf21365a21 * fixed and enabled the is_pascal_goto_target check пре 1 година
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives пре 6 година
aasmcnst.pas 8696ca652d * Emit comments in RTTI info for classes/interfaces пре 2 година
aasmdata.pas cda8971baa Add dwarf cfa support пре 2 година
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 пре 5 година
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would пре 6 година
aasmtai.pas cf21365a21 * fixed and enabled the is_pascal_goto_target check пре 1 година
aggas.pas 3a85a5a9cf + also debug print structured try..catch and try..delegate blocks пре 1 година
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written пре 4 година
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef пре 5 година
aoptda.pas b1dff29cbf * removed unused units пре 8 година
aoptobj.pas 47825610b8 * Pass 2 can now be run multiple times when пре 1 година
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 пре 4 година
assemble.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab пре 2 година
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not пре 3 година
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 пре 2 година
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because пре 16 година
ccharset.pas cb44d7d4e2 * some cleanup пре 5 година
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 пре 2 година
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit пре 4 година
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
cfileutl.pas 299f942d29 * change TCachedSearchRec.Attr to longint as TCachedDirectoryEntry.Attr is also a longint, resolves #40343 пре 2 година
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned пре 3 година
cgbase.pas 11712658b0 + implemented WebAssembly code generator support for funcref and externref data пре 2 година
cgexcept.pas fe57cd3536 * fix LLVM after r48828 пре 4 година
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 пре 10 година
cgobj.pas 9b8af14f47 + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label пре 2 година
cgutils.pas 131c1e1b93 * Converted assertion into an internal error пре 3 година
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled пре 8 година
comphook.pas 63642b13c8 Add -vj option in options unit to set V_Parallel пре 1 година
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper пре 3 година
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc пре 4 година
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 пре 3 година
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 пре 4 година
constexp.pas a6d6f93887 * revert accidently committed code пре 3 година
cprofile.pas 6612bb4434 * proper naming пре 5 година
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables пре 11 година
cresstr.pas ed50a1941b * Unicode resource strings пре 2 година
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes пре 4 година
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 пре 3 година
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 пре 2 година
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit пре 1 година
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. пре 4 година
dbgdwarf.pas 94cb1c3a49 * correctly name nested enum type debug symbols, resolves #40462 пре 1 година
dbgdwarfconst.pas b797bbf5dc * spelling fixed пре 2 година
dbgstabs.pas a401898139 * spelling fixes пре 3 година
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the пре 5 година
defcmp.pas f00a932cc6 * New is_cyclic function to detect if def references itself - fixes #40010 пре 2 година
defutil.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) пре 2 година
dirparse.pas 93be88b270 * reverted r47862 пре 4 година
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr пре 2 година
elfbase.pas 245b58c249 + support for arm attributes пре 5 година
entfile.pas c38cc828e8 Add new test code to verify that tentfile.buf limits are not overpassed пре 2 година
export.pas 2f1ccd6f2a + support 'promising last' exports пре 2 година
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa пре 6 година
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 пре 2 година
fmodule.pas 64feb6a5cd * $NAMESPACES directive пре 2 година
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: пре 3 година
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 пре 4 година
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: пре 9 година
fppu.pas 879f48d215 * the unit name has already been uppercased for the search, so no need to uppercase it again for the message output пре 1 година
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 пре 5 година
globals.pas 9f3a50315b * Enable function references and anonymous functions in Delphi mode пре 1 година
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit пре 6 година
globtype.pas 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. пре 2 година
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is пре 3 година
hlcgobj.pas 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement пре 1 година
htypechk.pas 13346a42bc volatile: allow for assignments пре 2 година
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. пре 11 година
import.pas b1dff29cbf * removed unused units пре 8 година
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument пре 2 година
link.pas 708aaa7b97 * fix (hopefully) build without an ld.bfd variant пре 2 година
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler пре 6 година
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler пре 6 година
msgidx.inc 67f89afe99 Regenerate msg*.inc files after adding -vj option description пре 1 година
msgtxt.inc 67f89afe99 Regenerate msg*.inc files after adding -vj option description пре 1 година
nadd.pas 3eee2d8ff3 * Do not insert a widestring <-> ansistring conversion node when checking for (un)equal empty string. пре 2 година
nbas.pas 7854152304 * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes пре 2 година
ncal.pas 78025d90b3 + add a tcallnodeflag value that prohibits the tcallnode.pass_typecheck to return a procvar in case of a call without parameters with a found symbol, but no suitable procdef пре 2 година
ncgadd.pas bbece3e668 * MIPS64 can пре 3 година
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. пре 4 година
ncgcal.pas dce70b3b70 Short version of the mips code genration bug пре 2 година
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 пре 3 година
ncgflw.pas 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement пре 1 година
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false пре 10 година
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) пре 3 година
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 пре 2 година
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned пре 3 година
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 пре 3 година
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms пре 5 година
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines пре 6 година
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. пре 5 година
ncgobjc.pas b1dff29cbf * removed unused units пре 8 година
ncgopt.pas b1dff29cbf * removed unused units пре 8 година
ncgrtti.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI пре 2 година
ncgset.pas 29bae2297f tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok пре 2 година
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods пре 3 година
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global пре 3 година
ncnv.pas 4e959de2c7 * Do not insert widechar -> ansichar conversion node in const declaration пре 2 година
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun пре 3 година
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 пре 1 година
ngenutil.pas c96641f901 LLVM: fix double init/fini of local managed variables accessed from nested functions пре 1 година
ngtcon.pas 12bde4e903 WPO: fix dead code detection, and handle procvars пре 2 година
ninl.pas bcf77c70fd default parameter values: fix crash пре 1 година
nld.pas 12bde4e903 WPO: fix dead code detection, and handle procvars пре 2 година
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 пре 3 година
nmem.pas 12bde4e903 WPO: fix dead code detection, and handle procvars пре 2 година
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global пре 3 година
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed пре 7 година
node.pas 7488f1e3f8 * New node pruning methods пре 2 година
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 пре 2 година
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels пре 3 година
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall пре 2 година
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines пре 3 година
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check пре 3 година
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target пре 2 година
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks пре 2 година
ogbase.pas 526de20d9a + introduced methods for writing endian-specific integers to TObjSection пре 1 година
ogcoff.pas ff673eadac Add unit specifiers for tlsdirectory fields: they need to be PUInt from globtype unit пре 2 година
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction пре 4 година
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using пре 10 година
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the пре 5 година
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument пре 2 година
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the пре 5 година
ogomf.pas beca14334c * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. пре 1 година
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer пре 3 година
ogwasm.pas 322befbf56 + added mutable globals to the target switches section пре 2 година
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 пре 3 година
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children пре 5 година
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 пре 2 година
optcse.pas da37fabc42 * fixed a div by zero error, when compiling a wasi-hosted compiler пре 1 година
optdead.pas b1dff29cbf * removed unused units пре 8 година
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin пре 2 година
optdfa.pas a27cb35fa8 * propagate life info properly пре 2 година
options.pas 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. пре 2 година
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. пре 4 година
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. пре 3 година
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter пре 5 година
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 пре 2 година
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 пре 4 година
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL пре 5 година
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL пре 5 година
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit пре 1 година
parabase.pas abfd975571 TCGParaLocation: remove alignment gap пре 3 година
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines пре 3 година
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references пре 3 година
pass_1.pas 95e5eeb226 * fix compilation with -dEXTDEBUG пре 2 година
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering пре 2 година
pbase.pas f364bb6b11 * Forbid use of string alias in system unit пре 2 година
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: пре 3 година
pdecl.pas ed50a1941b * Unicode resource strings пре 2 година
pdecobj.pas 92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) пре 2 година
pdecsub.pas 2df57e117b * fix #40381: also check for hints when parsing the parameters of a routine (including open array parameters) or the result type of a function пре 1 година
pdecvar.pas ba55932929 Fixing trying to consume ID for anonymous switch field пре 1 година
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform пре 2 година
pexpr.pas 287ef8e79a * fix #40410: allow specialization of a procdef also inside exception handlers + added test пре 1 година
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 пре 3 година
pgenutil.pas ade7af5234 * Refer to bugreport for internal error 20231102 пре 1 година
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 пре 3 година
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 пре 4 година
pmodules.pas 9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit пре 2 година
pp.lpi 867786c953 * update version пре 5 година
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
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 пре 2 година
ppc68k.lpi 8192bf1b33 * version update пре 4 година
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers пре 8 година
ppcaarch64.lpi 7909f00c83 * project files updated пре 2 година
ppcarm.lpi 7909f00c83 * project files updated пре 2 година
ppcavr.lpi 7909f00c83 * project files updated пре 2 година
ppcjvm.lpi 7909f00c83 * project files updated пре 2 година
ppcmips.lpi 7909f00c83 * project files updated пре 2 година
ppcmips64el.lpi 7909f00c83 * project files updated пре 2 година
ppcmipsel.lpi 7909f00c83 * project files updated пре 2 година
ppcppc.lpi 7909f00c83 * project files updated пре 2 година
ppcppc64.lpi 7909f00c83 * project files updated пре 2 година
ppcppc64le.lpi 7909f00c83 * project files updated пре 2 година
ppcriscv32.lpi 7909f00c83 * project files updated пре 2 година
ppcriscv64.lpi 7909f00c83 * project files updated пре 2 година
ppcsparc.lpi 7909f00c83 * project files updated пре 2 година
ppcsparc64.lpi 7909f00c83 * project files updated пре 2 година
ppcwasm32.lpi 3892bb265e + always call resolve_labels_complex, if DEBUG_WASM_GOTO is defined. пре 1 година
ppcx64.lpi ed50a1941b * Unicode resource strings пре 2 година
ppcx64llvm.lpi 7909f00c83 * project files updated пре 2 година
ppcxtensa.lpi 7909f00c83 * project files updated пре 2 година
ppcz80.lpi 7909f00c83 * project files updated пре 2 година
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed пре 9 година
ppu.pas bbedb958f6 * bump CurrentPPULongVersion пре 2 година
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 пре 2 година
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef пре 3 година
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 пре 4 година
pstatmnt.pas 55deefbab5 * do not crash on illegal with statement, resolves #40118 пре 2 година
psub.pas 50040a2cab default values: store as staticvarsyms in staticsymtable пре 2 година
psystem.pas adf9f98f7c * Define char as AnsiChar пре 2 година
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed пре 5 година
ptype.pas 3f1d62af8e * fix #40504: always provide the global enum symbol for anonymous enum types (e.g. as part of a set) пре 1 година
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from пре 19 година
rasm.pas 46fe2d486c * forgotten comment пре 7 година
rautils.pas 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 пре 2 година
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler пре 5 година
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters пре 5 година
rgobj.pas 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record пре 1 година
scandir.pas 64feb6a5cd * $NAMESPACES directive пре 2 година
scanner.pas f364bb6b11 * Forbid use of string alias in system unit пре 2 година
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly пре 2 година
symbase.pas 8184287ec0 Fix for variables longer than 127 chars пре 3 година
symconst.pas 7085083559 * Additional fields/enums for invoke helper пре 2 година
symcreat.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI пре 2 година
symdef.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) пре 2 година
symsym.pas 706443c354 dbgllvm: support for record field debug information пре 3 година
symtable.pas a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols пре 2 година
symtype.pas 8f3cce556d * some error messages use nicer symbol names пре 2 година
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants пре 2 година
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) пре 3 година
systems.inc 5a123d33ba Add -Awin64-as option for aarch64 compiler for win64 target пре 2 година
systems.pas 48556ab039 + enable the reference types extension in llvm-mc via a command line option пре 2 година
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' пре 2 година
triplet.pas 327aac7f24 Add aarch64-iphonesim target пре 2 година
verbose.pas 63642b13c8 Add -vj option in options unit to set V_Parallel пре 1 година
version.pas 12c4290ffe Add loongarch64 architecture support to compiler пре 2 година
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 пре 2 година
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType пре 3 година
widestr.pas cb44d7d4e2 * some cleanup пре 5 година
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 година
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars пре 2 година
wpoinfo.pas b1dff29cbf * removed unused units пре 8 година

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