florian 2da28054d4 * RiscV: pass the same default directories to the linker as on other architectures преди 3 години
..
aarch64 a19add9c88 Add cntfrq_el0 and cntpct_el0 AArch64 registers преди 3 години
arm d1f035f456 * arm: Labels to constants are now data labels and not jump labels преди 3 години
armgen a6921fff7b + Aarch64: SxthSxtw2Sxth optimization преди 3 години
avr 7822a90e20 Increase reference count of jump label, fixes #39784 преди 3 години
generic ff3acfb8cd * cleanup of 2.7.0 defines преди 3 години
html fa0d3d79e0 no message преди 23 години
i386 f6b5c513bb * patch by Rika: makes #39786 work on more setups, resolves #39786 преди 3 години
i8086 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not преди 3 години
jvm 7de854ef1e + add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef преди 3 години
llvm 403292a131 LLVM backend: address sanitizer support преди 3 години
m68k 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not преди 3 години
mips d153c75e84 * small MIPS64 fix преди 3 години
msg 403292a131 LLVM backend: address sanitizer support преди 3 години
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler преди 3 години
powerpc64 dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS преди 3 години
ppcgen dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS преди 3 години
riscv e66378ee59 * RiscV: generate mret only for FreeRTOS and Embedded преди 3 години
riscv32 a16f35dcb1 + support RV32E Extension преди 3 години
riscv64 f5cf8956c5 riscv: Merge stack code, fix interrupted code преди 3 години
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already преди 3 години
sparc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already преди 3 години
sparcgen ad72542e9e Fix compilation of sparc compiler with -dDEBUG_ALL_OPT преди 3 години
systems 2da28054d4 * RiscV: pass the same default directories to the linker as on other architectures преди 3 години
utils 403292a131 LLVM backend: address sanitizer support преди 3 години
wasm32 5395e52539 - disable the cs_opt_nodecse optimization from the -O2 for the WebAssembly target, because it causes a crash, when compiling the classes unit преди 3 години
x86 2ce3656ed3 x86 BuildInsTabMemRefSizeInfoCache: don't read past end of instab преди 3 години
x86_64 d5a50eee8a x86-64: properly set parameter alignment if not default преди 3 години
xtensa 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already преди 3 години
z80 088c746d45 * reset written source lines once a section is encountered преди 3 години
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) преди 9 години
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option преди 4 години
Makefile eaeb8b70ff + added Risc-V register information file generation to the compiler Makefile преди 3 години
Makefile.fpc eaeb8b70ff + added Risc-V register information file generation to the compiler Makefile преди 3 години
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files преди 16 години
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs преди 3 години
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives преди 6 години
aasmcnst.pas a8352f3e99 ttai_typedconstbuilder: do not remove tcalo_vectorized_dead_strip_item преди 3 години
aasmdata.pas d0bf7acc18 llvmdbg: build hashtable to lookup llvmdecl belonging to a global variable преди 3 години
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 94c87243ca * Reference counts are now properly incremented on duplicated taicpu objects преди 3 години
aggas.pas b821b9d502 + WebAssembly multithreading: also declare threadvar sections as TLS and prefix their name with '.tbss' when using the external assembler преди 3 години
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 627fb9a25b * x86: New jump/label tracking in CrossJump optimisations преди 3 години
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 преди 4 години
assemble.pas 6ac50f4100 + add method ResetSourceLines to TExternalAssembler to reset already written lines преди 3 години
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not преди 3 години
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it преди 5 години
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because преди 16 години
ccharset.pas cb44d7d4e2 * some cleanup преди 5 години
cclasses.pas 986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. преди 3 години
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit преди 4 години
cfidwarf.pas 3385ce92a2 * Always generate CFI-information. During linking it can be omitted when преди 3 години
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS преди 5 години
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned преди 3 години
cgbase.pas 557e823734 + introduced trefaddr.addr_got_tls, to be used for generating WebAssembly threadvar access, when WASM multithreading is turned on преди 3 години
cgexcept.pas fe57cd3536 * fix LLVM after r48828 преди 4 години
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
cgobj.pas 67a1d52806 JccAdd2SetccAdd modified to make use of GetIntRegisterBetween преди 3 години
cgutils.pas 9b4033fa80 Fast mod преди 3 години
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled преди 8 години
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 преди 3 години
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 27a1acdc7d cresstr: fix length specified for resource strings to typed const builder преди 3 години
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 5562e3e440 + add a AnsiString based overload of GetToken преди 3 години
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation преди 3 години
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. преди 4 години
dbgdwarf.pas e28238da9b * handle absolute on strings correctly for dwarf debug info, resolves #39816 преди 3 години
dbgdwarfconst.pas 4da1ad71a4 * moved a bunch of constants from dbgdwarf to dbgdwarfconst преди 3 години
dbgstabs.pas 7f886cc4b0 Call increfs manually to avoid removal of stabs debug related labels преди 3 години
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the преди 5 години
defcmp.pas 2372a06926 * fix #39740: consider a conversion of a procedure or procedure variable to a function reference as a bit more expensive than otherwise преди 3 години
defutil.pas 2ce4f0baf5 defutil: new is_address() helper преди 3 години
dirparse.pas 93be88b270 * reverted r47862 преди 4 години
dwarfbase.pas 6817cea33b + missing unit преди 6 години
elfbase.pas 245b58c249 + support for arm attributes преди 6 години
entfile.pas e9e8013316 + some basic stuff for MIPS64 преди 3 години
export.pas b1dff29cbf * removed unused units преди 8 години
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa преди 6 години
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton преди 6 години
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 преди 3 години
fpcdefs.inc b6aaa06f83 + enable the ROL/ROR instructions for WebAssembly преди 3 години
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 14dc066d6b + added check whether PPU and program are compiled in the same WebAssembly преди 3 години
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 преди 5 години
globals.pas e9e8013316 + some basic stuff for MIPS64 преди 3 години
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit преди 6 години
globtype.pas 403292a131 LLVM backend: address sanitizer support преди 3 години
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is преди 3 години
hlcgobj.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods преди 3 години
htypechk.pas 2372a06926 * fix #39740: consider a conversion of a procedure or procedure variable to a function reference as a bit more expensive than otherwise преди 3 години
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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). преди 13 години
link.pas 59fca3a01d * Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus. преди 3 години
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 7bad177139 msg files: regenerated преди 3 години
msgtxt.inc 7bad177139 msg files: regenerated преди 3 години
nadd.pas f6b5c513bb * patch by Rika: makes #39786 work on more setups, resolves #39786 преди 3 години
nbas.pas 3e98429418 Revert " * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194" преди 4 години
ncal.pas cdf676c9b5 * a function also captures other nested functions when these are called преди 3 години
ncgadd.pas bbece3e668 * MIPS64 can преди 3 години
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. преди 4 години
ncgcal.pas 8d864559b7 * overleft cosmetics преди 3 години
ncgcnv.pas 940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation преди 4 години
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 преди 3 години
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. преди 3 години
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 a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods преди 3 години
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 преди 4 години
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms преди 6 години
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 e25594c48e * correctly truncate rtti symbol names of enumeration types, resolves #39829 преди 3 години
ncgset.pas c06a3f2ca3 Avoid range check error inside tcgcasenode.pass_generate_code method преди 3 години
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 743d7c50d0 do_set: immediately exit in case of range error преди 3 години
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun преди 3 години
nflw.pas 815734c47a * fix #32034 and fix #39656: in a for-in-loop with an array constructor enforce the type of the loop variable for the elements преди 3 години
ngenutil.pas 6a485065ba __fpc_valgrind symbol: use correct size when inserting definition преди 3 години
ngtcon.pas 70908b1449 llvm: support for adding/subtracting constants to pointers in typed constants преди 3 години
ninl.pas 8eb2cea349 * do not throw an internal error if slice is used on dyn. array paramters, resolves #39806 преди 3 години
nld.pas 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable преди 3 години
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 c26f9329b6 Support arrays and classes in compile-time OffsetOf. преди 3 години
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 d96600a02d * Removed unused and confusing tnode.parent and tnode.concattolist(). преди 3 години
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would преди 6 години
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels преди 3 години
nutils.pas 2cc621618a * Delphi-mode calling without parenthesis преди 3 години
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines преди 3 години
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check преди 3 години
objcgutl.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs преди 3 години
objcutil.pas b1dff29cbf * removed unused units преди 8 години
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 преди 3 години
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library преди 4 години
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 a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map преди 5 години
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the преди 5 години
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 преди 3 години
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer преди 3 години
ogwasm.pas 63c8e458bb * workaround crash when generating WebAssembly DWARF debug info for threadvars, while multithreading is turned off преди 3 години
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 ef15d3d9ec * Fixed infinite loop when CONSTPROP is enabled преди 3 години
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) преди 3 години
optdead.pas b1dff29cbf * removed unused units преди 8 години
optdeadstore.pas 08817f1aed * fixes to deadstore optimization преди 4 години
optdfa.pas 98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 преди 3 години
options.pas 403292a131 LLVM backend: address sanitizer support преди 3 години
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 92771760b7 Get rid of some global variables. преди 3 години
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 c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 преди 3 години
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 9d95e6159e * fix typo in comment преди 3 години
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. преди 4 години
pbase.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references преди 3 години
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: преди 3 години
pdecl.pas e148afd506 Fix cycling with -CR option преди 3 години
pdecobj.pas 7de854ef1e + add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef преди 3 години
pdecsub.pas 59f293711a function references: make names of interface methods valid Pascal identifiers преди 3 години
pdecvar.pas ceda27ae25 * allow type parameters in variant parts of records as we do not now преди 3 години
pexports.pas d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" преди 4 години
pexpr.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references преди 3 години
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 преди 3 години
pgenutil.pas b2a5334a75 * fix #39795: when extracting make_prettystring it was forgotten to also append the const part of the name to the specialize name преди 3 години
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 403292a131 LLVM backend: address sanitizer support преди 3 години
pp.lpi 867786c953 * update version преди 5 години
pp.pas 78f23a462e * set minimum compiler to compile the compiler to 3.2.0 преди 3 години
pparautl.pas 749faa42ee * do not insert the $result symbol again when the VMT for the capturer is built преди 3 години
ppc68k.lpi 8192bf1b33 * version update преди 4 години
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers преди 8 години
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common преди 6 години
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well преди 5 години
ppcavr.lpi b9d4240a8d + version update преди 7 години
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target преди 5 години
ppcmips.lpi 9ebf2aa984 * project file updates преди 13 години
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el преди 5 години
ppcmipsel.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc.lpi 18a45d94a3 * version update преди 6 години
ppcppc64.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE преди 4 години
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed преди 7 години
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils преди 7 години
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) преди 8 години
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) преди 8 години
ppcwasm32.lpi bc76487b87 + enable the WebAssembly internal assembler and object writer преди 4 години
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} преди 4 години
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic преди 7 години
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project преди 5 години
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project преди 5 години
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed преди 9 години
ppu.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global преди 3 години
procdefutil.pas 8d90cd3e64 * fix #39826: correctly handle function references that are part of generics/specializations, but are not generics/specializations themselves преди 3 години
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 a05aa25aad * Risc-V: allow also register aliases in register modification lists after asm blocks, last part to resolve #39738 преди 3 години
psub.pas f8b1801a8f + implement necessary functionality in tcgprocinfo to initialize and populate the capturer преди 3 години
psystem.pas 3a34fc7be3 llvm: use formaldef rather than undefineddef for llvm_metadata преди 3 години
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 45bf47ee05 * compilation with -O3 fixed преди 3 години
raatt.pas 4f9c19d943 * simplifications by Rika (*2 loops => shl/Bsr), resolves #39717 преди 3 години
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from преди 19 години
rasm.pas 46fe2d486c * forgotten comment преди 7 години
rautils.pas 8c67a4370b rautils: don't interpret ".L3" as potentially meaning "unitx.identifier" преди 3 години
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 4f9c19d943 * simplifications by Rika (*2 loops => shl/Bsr), resolves #39717 преди 3 години
scandir.pas a0b637530c * remove accidently commited writeln преди 3 години
scanner.pas 8363c48863 * patch by rika: simplify tscannerfile.readstring, resolves #39835 преди 3 години
switches.pas d2a1f9cb20 * get rid of cs_opt_none преди 3 години
symbase.pas 8184287ec0 Fix for variables longer than 127 chars преди 3 години
symconst.pas 98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 преди 3 години
symcreat.pas 76e3cfc38f parentfpstruct: don't add vo_is_firstfield to first field of record преди 3 години
symdef.pas 9e7895575e tarraydef.elecount: fix overflow detection преди 3 години
symsym.pas 706443c354 dbgllvm: support for record field debug information преди 3 години
symtable.pas 3eac88eeaf * protected symbols are visible for defs declared in a local symtable as well преди 3 години
symtype.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 преди 3 години
symutil.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym преди 3 години
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) преди 3 години
systems.inc 66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) преди 3 години
systems.pas eed6effe27 Put systems_bsd into systems_weak_linking to fix heaptrc compilation failure for netbsd and dragonfly target OS introduced by commit ae346a87 преди 3 години
tgobj.pas f7239e03e7 * make tgobj.pas less verbose in extdebug mode, use separate define DEBUG_FREETEMP for the really преди 3 години
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. преди 4 години
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm преди 5 години
verbose.pas 598da1936e * change ChangeMessageVerbosity from String to AnsiString as long parameters might be passed to it преди 3 години
version.pas d147533c94 Remove "r" from FPC revision. преди 4 години
wasmbase.pas eed1fbe38a + added custom section descriptions for DWARF debug info for the WebAssembly object writer (not actually emitted, yet) преди 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 5df9b994d1 * fix warnings which were caused by last changes to for node generation преди 8 години
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