Michaël Van Canneyt 9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit hace 2 años
..
aarch64 5a123d33ba Add -Awin64-as option for aarch64 compiler for win64 target hace 2 años
arm be401422fd * more warnings after last commit fixed hace 2 años
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 hace 2 años
avr be54d40660 Also add boot information to board aliases. hace 2 años
generic ff3acfb8cd * cleanup of 2.7.0 defines hace 3 años
html fa0d3d79e0 no message hace 23 años
i386 99b01f6634 * second mul might get called with a zero operand if the other has a side effect, hace 2 años
i8086 9c10167b6f + CPUX86_HAS_BSWAP hace 2 años
jvm a401898139 * spelling fixes hace 3 años
llvm 2a4ca98e85 Use systems_darwin set for supported targets for as_clang_llvm_darwin hace 2 años
loongarch64 6e84ee5806 * patch by Jinyang He to fix building loongarch64 with -Oodfa/-O4 hace 2 años
m68k 6bbb10e64d m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. hace 2 años
mips dc04a8a677 Fix storing of unaligned 64-bit to memory hace 2 años
msg f364bb6b11 * Forbid use of string alias in system unit hace 2 años
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler hace 3 años
powerpc64 dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS hace 3 años
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler hace 2 años
riscv 87e4931489 Fix fullcycle compilation error due to -Sew option hace 2 años
riscv32 63199a0966 * memory sizes updated hace 2 años
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 hace 2 años
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already hace 3 años
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 hace 2 años
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method hace 2 años
systems 79d1fcd40d Introduce -XLL option for link using ld.lld linker hace 2 años
utils 79d1fcd40d Introduce -XLL option for link using ld.lld linker hace 2 años
wasm32 8bd18fc6d3 Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration hace 2 años
x86 e4d5de8d05 * x86: Fixed bug with BT optimisation where operand hace 2 años
x86_64 b8933dd267 * x86: Some refactoring to use aoc_ForceNewIteration instead of manually advancing p hace 2 años
xtensa d24548f8d8 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option hace 2 años
z80 219fedfea6 Restore start section at end of assembler block inside z80 asm reader hace 2 años
.gitignore e14692f594 git ignore msg2inc binary hace 2 años
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) hace 9 años
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option hace 4 años
Makefile 484c178c15 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list hace 2 años
Makefile.fpc 484c178c15 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list hace 2 años
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs hace 3 años
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives hace 6 años
aasmcnst.pas 8696ca652d * Emit comments in RTTI info for classes/interfaces hace 2 años
aasmdata.pas cda8971baa Add dwarf cfa support hace 2 años
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 hace 5 años
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would hace 6 años
aasmtai.pas a135940cf5 Mark .noinit section with nobits flag. hace 3 años
aggas.pas 327aac7f24 Add aarch64-iphonesim target hace 2 años
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written hace 4 años
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef hace 5 años
aoptda.pas b1dff29cbf * removed unused units hace 8 años
aoptobj.pas 9ee672f9eb * New UpdateUsedRegsBetween utility subroutine hace 2 años
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 hace 4 años
assemble.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab hace 2 años
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not hace 3 años
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 hace 2 años
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because hace 16 años
ccharset.pas cb44d7d4e2 * some cleanup hace 5 años
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 hace 2 años
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit hace 4 años
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
cfileutl.pas 299f942d29 * change TCachedSearchRec.Attr to longint as TCachedDirectoryEntry.Attr is also a longint, resolves #40343 hace 2 años
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned hace 3 años
cgbase.pas 11712658b0 + implemented WebAssembly code generator support for funcref and externref data hace 2 años
cgexcept.pas fe57cd3536 * fix LLVM after r48828 hace 4 años
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 hace 10 años
cgobj.pas 5cdef8050b * Fixed bug in register preservation tracking hace 2 años
cgutils.pas 131c1e1b93 * Converted assertion into an internal error hace 3 años
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled hace 8 años
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 hace 3 años
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper hace 3 años
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc hace 4 años
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 hace 3 años
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 hace 4 años
constexp.pas a6d6f93887 * revert accidently committed code hace 3 años
cprofile.pas 6612bb4434 * proper naming hace 5 años
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables hace 11 años
cresstr.pas ed50a1941b * Unicode resource strings hace 2 años
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes hace 4 años
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 hace 3 años
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 hace 2 años
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation hace 3 años
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. hace 4 años
dbgdwarf.pas 8cd10d88cc * revert use of DW_AT_external for types as this is not covered by the dwarf standard hace 2 años
dbgdwarfconst.pas b797bbf5dc * spelling fixed hace 2 años
dbgstabs.pas a401898139 * spelling fixes hace 3 años
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the hace 5 años
defcmp.pas f00a932cc6 * New is_cyclic function to detect if def references itself - fixes #40010 hace 2 años
defutil.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) hace 2 años
dirparse.pas 93be88b270 * reverted r47862 hace 4 años
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr hace 2 años
elfbase.pas 245b58c249 + support for arm attributes hace 5 años
entfile.pas c38cc828e8 Add new test code to verify that tentfile.buf limits are not overpassed hace 2 años
export.pas 2f1ccd6f2a + support 'promising last' exports hace 2 años
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa hace 6 años
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 hace 2 años
fmodule.pas 64feb6a5cd * $NAMESPACES directive hace 2 años
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: hace 3 años
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 hace 4 años
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: hace 9 años
fppu.pas 64feb6a5cd * $NAMESPACES directive hace 2 años
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 hace 5 años
globals.pas 64feb6a5cd * $NAMESPACES directive hace 2 años
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit hace 6 años
globtype.pas 79d1fcd40d Introduce -XLL option for link using ld.lld linker hace 2 años
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is hace 3 años
hlcgobj.pas ee0ad3ff86 thlcgobj.g_undefined_ok: new method hace 2 años
htypechk.pas d221f42a57 * ensure that the correct overload is picked for function reference parameters hace 2 años
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. hace 11 años
import.pas b1dff29cbf * removed unused units hace 8 años
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument hace 2 años
link.pas 708aaa7b97 * fix (hopefully) build without an ld.bfd variant hace 2 años
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler hace 6 años
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler hace 6 años
msgidx.inc f364bb6b11 * Forbid use of string alias in system unit hace 2 años
msgtxt.inc f364bb6b11 * Forbid use of string alias in system unit hace 2 años
nadd.pas 3eee2d8ff3 * Do not insert a widestring <-> ansistring conversion node when checking for (un)equal empty string. hace 2 años
nbas.pas 7854152304 * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes hace 2 años
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 hace 2 años
ncgadd.pas bbece3e668 * MIPS64 can hace 3 años
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. hace 4 años
ncgcal.pas dce70b3b70 Short version of the mips code genration bug hace 2 años
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 hace 3 años
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. hace 3 años
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false hace 10 años
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) hace 3 años
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 hace 3 años
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned hace 3 años
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 hace 4 años
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms hace 6 años
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines hace 6 años
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. hace 5 años
ncgobjc.pas b1dff29cbf * removed unused units hace 8 años
ncgopt.pas b1dff29cbf * removed unused units hace 8 años
ncgrtti.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI hace 2 años
ncgset.pas 29bae2297f tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok hace 2 años
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods hace 3 años
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global hace 3 años
ncnv.pas 4e959de2c7 * Do not insert widechar -> ansichar conversion node in const declaration hace 2 años
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun hace 3 años
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 hace 2 años
ngenutil.pas 5135b586cb * fix #39857: don't trash symbols marked as vo_is_internal hace 3 años
ngtcon.pas 12bde4e903 WPO: fix dead code detection, and handle procvars hace 2 años
ninl.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 hace 2 años
nld.pas 12bde4e903 WPO: fix dead code detection, and handle procvars hace 2 años
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 hace 3 años
nmem.pas 12bde4e903 WPO: fix dead code detection, and handle procvars hace 2 años
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global hace 3 años
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed hace 7 años
node.pas 7488f1e3f8 * New node pruning methods hace 2 años
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 hace 2 años
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels hace 3 años
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall hace 2 años
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines hace 3 años
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check hace 3 años
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target hace 2 años
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks hace 3 años
ogbase.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab hace 2 años
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library hace 4 años
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction hace 4 años
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using hace 10 años
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the hace 5 años
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument hace 2 años
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the hace 5 años
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 hace 3 años
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer hace 3 años
ogwasm.pas 322befbf56 + added mutable globals to the target switches section hace 2 años
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 hace 3 años
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children hace 5 años
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 hace 2 años
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) hace 3 años
optdead.pas b1dff29cbf * removed unused units hace 8 años
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin hace 2 años
optdfa.pas a27cb35fa8 * propagate life info properly hace 2 años
options.pas adf9f98f7c * Define char as AnsiChar hace 2 años
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. hace 4 años
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. hace 3 años
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter hace 5 años
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 hace 2 años
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 hace 4 años
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL hace 5 años
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL hace 5 años
owomflib.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 hace 3 años
parabase.pas abfd975571 TCGParaLocation: remove alignment gap hace 3 años
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines hace 3 años
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references hace 3 años
pass_1.pas 95e5eeb226 * fix compilation with -dEXTDEBUG hace 2 años
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering hace 2 años
pbase.pas f364bb6b11 * Forbid use of string alias in system unit hace 2 años
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: hace 3 años
pdecl.pas ed50a1941b * Unicode resource strings hace 2 años
pdecobj.pas 92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) hace 2 años
pdecsub.pas d3cc976551 * Mark method for invoke helper hace 2 años
pdecvar.pas fce34eb4bf + disallow WebAssembly reference types in records, objects and classes hace 2 años
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform hace 2 años
pexpr.pas ed50a1941b * Unicode resource strings hace 2 años
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 hace 3 años
pgenutil.pas a9cc89ff46 * Allow hidden units to be found when replaying generic hace 2 años
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 hace 3 años
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 hace 4 años
pmodules.pas 9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit hace 2 años
pp.lpi 867786c953 * update version hace 5 años
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
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 hace 2 años
ppc68k.lpi 8192bf1b33 * version update hace 4 años
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers hace 8 años
ppcaarch64.lpi 7909f00c83 * project files updated hace 2 años
ppcarm.lpi 7909f00c83 * project files updated hace 2 años
ppcavr.lpi 7909f00c83 * project files updated hace 2 años
ppcjvm.lpi 7909f00c83 * project files updated hace 2 años
ppcmips.lpi 7909f00c83 * project files updated hace 2 años
ppcmips64el.lpi 7909f00c83 * project files updated hace 2 años
ppcmipsel.lpi 7909f00c83 * project files updated hace 2 años
ppcppc.lpi 7909f00c83 * project files updated hace 2 años
ppcppc64.lpi 7909f00c83 * project files updated hace 2 años
ppcppc64le.lpi 7909f00c83 * project files updated hace 2 años
ppcriscv32.lpi 7909f00c83 * project files updated hace 2 años
ppcriscv64.lpi 7909f00c83 * project files updated hace 2 años
ppcsparc.lpi 7909f00c83 * project files updated hace 2 años
ppcsparc64.lpi 7909f00c83 * project files updated hace 2 años
ppcwasm32.lpi 99074a5578 * .lpi version update hace 3 años
ppcx64.lpi ed50a1941b * Unicode resource strings hace 2 años
ppcx64llvm.lpi 7909f00c83 * project files updated hace 2 años
ppcxtensa.lpi 7909f00c83 * project files updated hace 2 años
ppcz80.lpi 7909f00c83 * project files updated hace 2 años
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed hace 9 años
ppu.pas bbedb958f6 * bump CurrentPPULongVersion hace 2 años
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 hace 2 años
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef hace 3 años
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 hace 4 años
pstatmnt.pas 55deefbab5 * do not crash on illegal with statement, resolves #40118 hace 2 años
psub.pas 0d3ec87492 * also initalize default helper variables of initialization sections, resolves #40183 hace 2 años
psystem.pas adf9f98f7c * Define char as AnsiChar hace 2 años
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed hace 5 años
ptype.pas f364bb6b11 * Forbid use of string alias in system unit hace 2 años
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
rasm.pas 46fe2d486c * forgotten comment hace 7 años
rautils.pas 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 hace 2 años
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler hace 5 años
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters hace 5 años
rgobj.pas b49c3fe4f8 Aslo check that live_end is assigned before refering to it hace 2 años
scandir.pas 64feb6a5cd * $NAMESPACES directive hace 2 años
scanner.pas f364bb6b11 * Forbid use of string alias in system unit hace 2 años
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly hace 2 años
symbase.pas 8184287ec0 Fix for variables longer than 127 chars hace 3 años
symconst.pas 7085083559 * Additional fields/enums for invoke helper hace 2 años
symcreat.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI hace 2 años
symdef.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) hace 2 años
symsym.pas 706443c354 dbgllvm: support for record field debug information hace 3 años
symtable.pas a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols hace 2 años
symtype.pas 8f3cce556d * some error messages use nicer symbol names hace 2 años
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants hace 2 años
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) hace 3 años
systems.inc 5a123d33ba Add -Awin64-as option for aarch64 compiler for win64 target hace 2 años
systems.pas 48556ab039 + enable the reference types extension in llvm-mc via a command line option hace 2 años
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' hace 2 años
triplet.pas 327aac7f24 Add aarch64-iphonesim target hace 2 años
verbose.pas 3770b55ce1 Disable substitution by environment variables in message comment related functions hace 2 años
version.pas 12c4290ffe Add loongarch64 architecture support to compiler hace 2 años
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 hace 3 años
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType hace 3 años
widestr.pas cb44d7d4e2 * some cleanup hace 5 años
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 hace 16 años
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars hace 2 años
wpoinfo.pas b1dff29cbf * removed unused units hace 8 años

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