Nikolay Nikolov b1ad8c809e + added last:boolean parameter to implement_wasm_promising_wrapper 2 år sedan
..
aarch64 30eb4647b6 Add -Awin64-as option for aarch64 compiler for win64 target 1 år sedan
arm be401422fd * more warnings after last commit fixed 3 år sedan
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 3 år sedan
avr 5d489b2464 Also add boot information to board aliases. 1 år sedan
generic ff3acfb8cd * cleanup of 2.7.0 defines 4 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 a9fc5df569 * second mul might get called with a zero operand if the other has a side effect, 1 år sedan
i8086 7b95ae1dea + CPUX86_HAS_BSWAP 1 år sedan
jvm a401898139 * spelling fixes 3 år sedan
llvm 25ca59bfd4 Use systems_darwin set for supported targets for as_clang_llvm_darwin 1 år sedan
loongarch64 4aa1033c07 * patch by Jinyang He to fix building loongarch64 with -Oodfa/-O4 1 år sedan
m68k 9ee063e78b m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. 1 år sedan
mips 0048a91e15 Fix storing of unaligned 64-bit to memory 1 år sedan
msg 773b36c21e * disallow WebAssembly reference types to be declared as var, constref or out parameters 1 år sedan
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler 3 år sedan
powerpc64 dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS 3 år sedan
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler 3 år sedan
riscv f50415a0b9 riscv32-freertos: 1 år sedan
riscv32 c4c943c004 * memory sizes updated 1 år sedan
riscv64 02a6e33f0a * correct tripletcpustr, resolves #40301 1 år sedan
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 år sedan
sparc64 019f3f6684 Fix for sparc64 specific code generation bug report #40252 1 år sedan
sparcgen ad72542e9e Fix compilation of sparc compiler with -dDEBUG_ALL_OPT 3 år sedan
systems fd6113e880 + introduced tcpuprocdef.add_promising_export 1 år sedan
utils 1f286cf736 * ppudump compilation fixed 1 år sedan
wasm32 fd6113e880 + introduced tcpuprocdef.add_promising_export 1 år sedan
x86 941520415d + implemented WebAssembly code generator support for funcref and externref data 1 år sedan
x86_64 e09c2061d1 * x86: Some refactoring to use aoc_ForceNewIteration instead of manually advancing p 1 år sedan
xtensa 8435279cf2 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option 1 år sedan
z80 5e1453092e Restore start section at end of assembler block inside z80 asm reader 1 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 år sedan
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 år sedan
Makefile 0acafdf108 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list 1 år sedan
Makefile.fpc 0acafdf108 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list 1 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 år sedan
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 år sedan
aasmcnst.pas 39b7ab29b0 * Emit comments in RTTI info for classes/interfaces 1 år sedan
aasmdata.pas 9d7d5f9fc1 Add dwarf cfa support 1 år sedan
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 år sedan
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 år sedan
aasmtai.pas a1ed717d81 + added wasm32-specific flag tai_label.is_pascal_goto_target 1 år sedan
aggas.pas 1cb4a08418 Add aarch64-iphonesim target 1 år sedan
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 år sedan
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 år sedan
aoptda.pas b1dff29cbf * removed unused units 8 år sedan
aoptobj.pas 24a31c2b7d * New UpdateUsedRegsBetween utility subroutine 1 år sedan
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 år sedan
assemble.pas 0a297b1e2d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 1 år sedan
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 år sedan
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 år sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
ccharset.pas cb44d7d4e2 * some cleanup 5 år sedan
cclasses.pas 8270af8a01 * patch by Rika: Use Index* for pointer lists, resolves #40218 1 år sedan
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 år sedan
cfidwarf.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
cfileutl.pas b934517871 * patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882 3 år sedan
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
cgbase.pas 941520415d + implemented WebAssembly code generator support for funcref and externref data 1 år sedan
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
cgobj.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label 1 år sedan
cgutils.pas 131c1e1b93 * Converted assertion into an internal error 3 år sedan
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 år sedan
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 4 år sedan
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 3 år sedan
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 år sedan
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 år sedan
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 år sedan
constexp.pas a6d6f93887 * revert accidently committed code 3 år sedan
cprofile.pas 6612bb4434 * proper naming 5 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 12 år sedan
cresstr.pas 27a1acdc7d cresstr: fix length specified for resource strings to typed const builder 3 år sedan
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 år sedan
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 år sedan
cutils.pas fa2e4d7d15 * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 1 år sedan
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation 3 år sedan
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 år sedan
dbgdwarf.pas 002c7efa7a * revert use of DW_AT_external for types as this is not covered by the dwarf standard 1 år sedan
dbgdwarfconst.pas f2b62a2ce4 * spelling fixed 1 år sedan
dbgstabs.pas a401898139 * spelling fixes 3 år sedan
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 år sedan
defcmp.pas 12c8d24ec3 * New is_cyclic function to detect if def references itself - fixes #40010 2 år sedan
defutil.pas f351e5c1a4 + add utility function to retrieve the char type def from a stringlike def 1 år sedan
dirparse.pas 93be88b270 * reverted r47862 4 år sedan
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 3 år sedan
elfbase.pas 245b58c249 + support for arm attributes 6 år sedan
entfile.pas a75a5f9432 Add new test code to verify that tentfile.buf limits are not overpassed 1 år sedan
export.pas aa94e9cd21 * eo_promising renamed eo_promising_first 1 år sedan
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 år sedan
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 år sedan
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 år sedan
fpcdefs.inc 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 år sedan
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas 7b09eee02a * mark units compiled with cs_compilesystem with a corresponding flag 3 år sedan
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 år sedan
globals.pas 1fc338b555 Add new substitute_env_variables parameter for DefaultReplacements function (with default true value) 1 år sedan
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 år sedan
globtype.pas fbcf52d45e * Add option to allow emitting comments in RTTI info 1 år sedan
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 år sedan
hlcgobj.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label 1 år sedan
htypechk.pas d221f42a57 * ensure that the correct overload is picked for function reference parameters 2 år sedan
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 år sedan
import.pas b1dff29cbf * removed unused units 8 år sedan
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
link.pas d1a9e02d86 * fix (hopefully) build without an ld.bfd variant 1 år sedan
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
msg2inc da9bdad3cb + exec_e_cant_call_linker shows now the error message 1 år sedan
msgidx.inc 773b36c21e * disallow WebAssembly reference types to be declared as var, constref or out parameters 1 år sedan
msgtxt.inc 773b36c21e * disallow WebAssembly reference types to be declared as var, constref or out parameters 1 år sedan
nadd.pas c04c513a5d + support nil comparison of WebAssembly reference types (externref and funcref) 1 år sedan
nbas.pas 7a7dc58c0d * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes 1 år sedan
ncal.pas b541b22880 * some error messages use nicer symbol names 1 år sedan
ncgadd.pas bbece3e668 * MIPS64 can 3 år sedan
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 år sedan
ncgcal.pas dce70b3b70 Short version of the mips code genration bug 2 år sedan
ncgcnv.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 år sedan
ncgflw.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label 1 år sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
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 år sedan
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 3 år sedan
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 4 år sedan
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 år sedan
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 år sedan
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 år sedan
ncgobjc.pas b1dff29cbf * removed unused units 8 år sedan
ncgopt.pas b1dff29cbf * removed unused units 8 år sedan
ncgrtti.pas 39b7ab29b0 * Emit comments in RTTI info for classes/interfaces 1 år sedan
ncgset.pas 18ede7caae tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok 1 år sedan
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 år sedan
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 år sedan
ncnv.pas 1de727d958 Allow WideChar const to UTF8String const conversion 1 år sedan
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun 3 år sedan
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 3 år sedan
ngenutil.pas 5135b586cb * fix #39857: don't trash symbols marked as vo_is_internal 3 år sedan
ngtcon.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars 1 år sedan
ninl.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 3 år sedan
nld.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars 1 år sedan
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 år sedan
nmem.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars 1 år sedan
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 år sedan
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 år sedan
node.pas 83bbb10df3 * New node pruning methods 1 år sedan
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 3 år sedan
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 4 år sedan
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall 2 år sedan
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 år sedan
objcgutl.pas 1cb4a08418 Add aarch64-iphonesim target 1 år sedan
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 3 år sedan
ogbase.pas 0a297b1e2d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 1 år sedan
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 år sedan
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 år sedan
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 år sedan
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer 3 år sedan
ogwasm.pas 20b9e39ff5 + support externref and funcref WebAssembly globals in the internal object writer 1 år sedan
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 år sedan
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 år sedan
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 3 år sedan
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 3 år sedan
optdead.pas b1dff29cbf * removed unused units 8 år sedan
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 2 år sedan
optdfa.pas 38c9a49ef4 * propagate life info properly 2 år sedan
options.pas fbcf52d45e * Add option to allow emitting comments in RTTI info 1 år sedan
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 år sedan
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 4 år sedan
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 år sedan
optutils.pas 8270af8a01 * patch by Rika: Use Index* for pointer lists, resolves #40218 1 år sedan
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 år sedan
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 år sedan
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 år sedan
owomflib.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 år sedan
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 år sedan
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 år sedan
pass_1.pas 5cf4b08182 * fix compilation with -dEXTDEBUG 1 år sedan
pass_2.pas fc7807a823 * New 'do not execute' flag for notes and respective internal error triggering 1 år sedan
pbase.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 år sedan
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 år sedan
pdecl.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 år sedan
pdecobj.pas a401898139 * spelling fixes 3 år sedan
pdecsub.pas d55c7819cb + also allow declaring an external as 'suspending first' 1 år sedan
pdecvar.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 år sedan
pexports.pas aa94e9cd21 * eo_promising renamed eo_promising_first 1 år sedan
pexpr.pas 22d2e0d3ae + support procvar[] in tp/mac procvar mode if the procvar returns an array type 1 år sedan
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 år sedan
pgenutil.pas f9a7c57042 * use new chartype_for_stringlike function to retrieve the char type for a stringlike def instead of casting to a stringdef 1 år sedan
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 år sedan
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 år sedan
pmodules.pas 403292a131 LLVM backend: address sanitizer support 3 år sedan
pp.lpi 867786c953 * update version 5 år sedan
pp.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
pparautl.pas f1655b71f8 * fix #40062: ensure that Self is only added to anonymous functions when dealing with method pointers 2 år sedan
ppc68k.lpi 8192bf1b33 * version update 4 år sedan
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ppcaarch64.lpi 130d7255f1 * project files updated 1 år sedan
ppcarm.lpi 130d7255f1 * project files updated 1 år sedan
ppcavr.lpi 130d7255f1 * project files updated 1 år sedan
ppcjvm.lpi 130d7255f1 * project files updated 1 år sedan
ppcmips.lpi 130d7255f1 * project files updated 1 år sedan
ppcmips64el.lpi 130d7255f1 * project files updated 1 år sedan
ppcmipsel.lpi 130d7255f1 * project files updated 1 år sedan
ppcppc.lpi 130d7255f1 * project files updated 1 år sedan
ppcppc64.lpi 130d7255f1 * project files updated 1 år sedan
ppcppc64le.lpi 130d7255f1 * project files updated 1 år sedan
ppcriscv32.lpi 130d7255f1 * project files updated 1 år sedan
ppcriscv64.lpi 130d7255f1 * project files updated 1 år sedan
ppcsparc.lpi 130d7255f1 * project files updated 1 år sedan
ppcsparc64.lpi 130d7255f1 * project files updated 1 år sedan
ppcwasm32.lpi 99074a5578 * .lpi version update 3 år sedan
ppcx64.lpi 130d7255f1 * project files updated 1 år sedan
ppcx64llvm.lpi 130d7255f1 * project files updated 1 år sedan
ppcxtensa.lpi 130d7255f1 * project files updated 1 år sedan
ppcz80.lpi 130d7255f1 * project files updated 1 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas fc7807a823 * New 'do not execute' flag for notes and respective internal error triggering 1 år sedan
procdefutil.pas 442774e997 * ensure that all hidden parameter symbols are removed when adding an anonymous function to a capturer (they'll be added again later on) 2 år sedan
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef 3 år sedan
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
pstatmnt.pas 55b1294620 * do not crash on illegal with statement, resolves #40118 1 år sedan
psub.pas c433deb0f2 * also initalize default helper variables of initialization sections, resolves #40183 1 år sedan
psystem.pas 8df95f539d + magically insert a void externref type in the System unit, called WasmExternRef 1 år sedan
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 år sedan
ptype.pas 481d8d1513 * ensure that a procvar (especially a "REFERENCE TO") begins either with FUNCTION or PROCEDURE 1 år sedan
raatt.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 46fe2d486c * forgotten comment 7 år sedan
rautils.pas de04f0e37f * do not warn on lea e/rsp with negative address offset, part of #40113 1 år sedan
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 år sedan
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 år sedan
rgobj.pas 29fc94d2a6 Aslo check that live_end is assigned before refering to it 1 år sedan
scandir.pas ec6e66629c + introduce long forms for $E, $F and $S, resolves #39889 1 år sedan
scanner.pas a75a5f9432 Add new test code to verify that tentfile.buf limits are not overpassed 1 år sedan
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 3 år sedan
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 år sedan
symconst.pas fc9d8c98d0 + support 'suspending last' externals as well 1 år sedan
symcreat.pas b1ad8c809e + added last:boolean parameter to implement_wasm_promising_wrapper 1 år sedan
symdef.pas 8df95f539d + magically insert a void externref type in the System unit, called WasmExternRef 1 år sedan
symsym.pas 706443c354 dbgllvm: support for record field debug information 3 år sedan
symtable.pas e557616279 add has_double_field 1 år sedan
symtype.pas b541b22880 * some error messages use nicer symbol names 1 år sedan
symutil.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 år sedan
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 år sedan
systems.inc 30eb4647b6 Add -Awin64-as option for aarch64 compiler for win64 target 1 år sedan
systems.pas 5a65ca51c0 + enable the reference types extension in llvm-mc via a command line option 1 år sedan
tgobj.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
tokens.pas d55c7819cb + also allow declaring an external as 'suspending first' 1 år sedan
triplet.pas 1cb4a08418 Add aarch64-iphonesim target 1 år sedan
verbose.pas d1fc7faa83 Disable substitution by environment variables in message comment related functions 1 år sedan
version.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 år sedan
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 år sedan
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 år sedan
widestr.pas cb44d7d4e2 * some cleanup 5 år sedan
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 17 år sedan
wpobase.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars 1 år sedan
wpoinfo.pas b1dff29cbf * removed unused units 8 år sedan

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