Rika Ichinose 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 1 سال پیش
..
aarch64 ee6bfa357a * don't restore SP if we hadn't stored it originally 11 ماه پیش
arm 2a50d5abf8 * ARMv7A / A64: Constant writes to memory merged to larger forms where possible 11 ماه پیش
armgen 2a50d5abf8 * ARMv7A / A64: Constant writes to memory merged to larger forms where possible 11 ماه پیش
avr a685e2aa5a + avrsim6 controller type 1 سال پیش
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 سال پیش
html fa0d3d79e0 no message 23 سال پیش
i386 8520dabebb * x86: New RET/lbl/RET optimisation 11 ماه پیش
i8086 8520dabebb * x86: New RET/lbl/RET optimisation 11 ماه پیش
jvm 1de3aba4e3 * few types fixed 1 سال پیش
llvm 0fb4fca957 * fix building of llvm compiler after node flag refactoring 1 سال پیش
loongarch64 462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He) 1 سال پیش
m68k 9f6a3eebb7 * handle adress registers properly in tcg64f68k.a_op64_reg_ref 1 سال پیش
mips 46dcffed42 * MIPS64: make use of DMTC1 instruction 11 ماه پیش
msg 57fd8f13c9 * fix grammar 11 ماه پیش
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 سال پیش
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 سال پیش
ppcgen b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 سال پیش
riscv 89b1cdefbe * more use of OptPass1OP 10 ماه پیش
riscv32 159d97e864 * Risc-V: make use of sext.h instruction if available 1 سال پیش
riscv64 1d629270ca * RiscV64: fix abs(<longint>) 11 ماه پیش
sparc 5e00358f13 + cs_opt_consts for sparc 1 سال پیش
sparc64 1fa83a91ab + cs_opt_consts for sparc64 1 سال پیش
sparcgen f49da05633 * unified g_concatcopy_move 1 سال پیش
systems dad75d4472 clearing the bss section on startup 11 ماه پیش
utils 52651a7ede First compiler Build 1 سال پیش
wasm32 3ae64e5e17 + include unit aoptcpu in wasm32/cputarg.pas 1 سال پیش
x86 42c5e368bd * formatting/readability 11 ماه پیش
x86_64 8520dabebb * x86: New RET/lbl/RET optimisation 11 ماه پیش
xtensa 14b3c11c0d Initial support for esp32-c6-s2-s3. Support for idf versions 5.0.6 and 5.2.1 1 سال پیش
z80 eae74aaee0 Follow sdas documentation for .ascii limitations by using only printable chars and .byte for others 1 سال پیش
.gitignore e14692f594 git ignore msg2inc binary 2 سال پیش
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 سال پیش
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 سال پیش
Makefile 52651a7ede First compiler Build 1 سال پیش
Makefile.fpc 52651a7ede First compiler Build 1 سال پیش
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 سال پیش
aasmbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 سال پیش
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 سال پیش
aasmcnst.pas 28b080d9bc + emit a size directive for the internal dynarray const label. This fixes 1 سال پیش
aasmdata.pas b367d7c905 + introduced TAsmData.WeakRefAsmSymbolByClass 1 سال پیش
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 1ddf014980 * create a TWasmGlobalAsmSymbol instead of TAsmSymbol when generating debug info 1 سال پیش
aggas.pas b9ca30165c * WebAssembly: refactored tai_local, so that it is a single directive, 1 سال پیش
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 سال پیش
aoptbase.pas 32d0531c71 * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 11 ماه پیش
aoptda.pas b1dff29cbf * removed unused units 8 سال پیش
aoptobj.pas a7be888255 + add optimizer units (empty for now) for the WebAssembly target 1 سال پیش
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 سال پیش
assemble.pas b1a18f5690 Handle floatx80 records with gaps also in InternalAssembler 1 سال پیش
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 سال پیش
browcol.pas 8aa9ac99a6 * Remove loaded_from in tmodule. The same unit can be loaded from different places 1 سال پیش
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 سال پیش
ccharset.pas cb44d7d4e2 * some cleanup 5 سال پیش
cclasses.pas 8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 11 ماه پیش
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 سال پیش
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 سال پیش
cfileutl.pas c9b88a1cd0 * Allow to disable 8.3 filename search 1 سال پیش
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 سال پیش
cgbase.pas 2e65a5d458 + introduced cgbase.topcg2str and topcmp2str for converting TOpCg and TOpCmp to strings (useful for debug logging, etc) 1 سال پیش
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 سال پیش
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 سال پیش
cgobj.pas f49da05633 * unified g_concatcopy_move 1 سال پیش
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 سال پیش
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 سال پیش
comphook.pas 83abe1fb15 * oc_blue properly named as noted by Don Siders 1 سال پیش
compiler.pas 51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 1 سال پیش
compinnr.pas 81b7b80749 * Added support for 64-bit min/max intrinsics 1 سال پیش
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 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 10 ماه پیش
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 12 سال پیش
cresstr.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 سال پیش
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 سال پیش
ctask.pas 564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 1 سال پیش
cutils.pas 8498eacdeb Remove unused cutils functions. 11 ماه پیش
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2 سال پیش
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 سال پیش
dbgdwarf.pas beee98e246 * WebAssembly debug info: make wasmtime happy by not emitting line info end 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 ddc2259e5e * protect against comparisons of nested types of generics and specializations 1 سال پیش
defutil.pas 81b7b80749 * Added support for 64-bit min/max intrinsics 1 سال پیش
dirparse.pas 7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 1 سال پیش
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 3 سال پیش
elfbase.pas 245b58c249 + support for arm attributes 6 سال پیش
entfile.pas 7ec9d2bf9f Fix compilation with -dDEBUG_PPU 1 سال پیش
export.pas 2f1ccd6f2a + support 'promising last' exports 2 سال پیش
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 سال پیش
finput.pas c96ef4902b * Handle finish state separately 1 سال پیش
fmodule.pas e86882580d * Do not free used units during reset, they can be in use during load cycle. Fixes issue #40852 1 سال پیش
fpcdefs.inc 44c8193cfa + define cpufpemu for MIPS in order to enable (optionally) FPU emulation 1 سال پیش
fpchash.pas 0e0c4bd621 * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 1 سال پیش
fpcp.pas 7163a893e9 * search using the real package name instead of the uppercased one so that an as-is cased package will be found as well 1 سال پیش
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 سال پیش
fppu.pas 167b5213d1 Rename conditional: INTFPPU => DEBUG_GENERATE_INTERFACE_PPU 1 سال پیش
gendef.pas ef16a99c08 * partial fix #40934: don't remove the DEF file if cs_link_deffile is set (thus if the user explicitly wants the file) 1 سال پیش
globals.pas 8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 11 ماه پیش
globstat.pas 9cc30829fa * Restore messages state 1 سال پیش
globtype.pas c828615886 + enable strength reduction for -O3, probably an oversight for years that it was not included in -O3 11 ماه پیش
hlcg2ll.pas 46dcffed42 * MIPS64: make use of DMTC1 instruction 11 ماه پیش
hlcgobj.pas fc76d9fac2 Omit FPC_INIT_FUNC_TABLE generation if no unit initialization is registered for current project. 1 سال پیش
htypechk.pas 8498eacdeb Remove unused cutils functions. 11 ماه پیش
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 7887f46700 Try to compute correct page size for wlib call 1 سال پیش
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 سال پیش
nadd.pas b6af220f1a + print add node flags 10 ماه پیش
nbas.pas 9077954762 * "no_exit_statement_in_block" replaced with "not has_child_of_type(..., [exitn])" 11 ماه پیش
ncal.pas 510a281c3f Use a set instead of boolean arguments to TCallCandidates. 11 ماه پیش
ncgadd.pas 0f39633acc * generic second_addordinal can handle swapped nodes 1 سال پیش
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 سال پیش
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 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 11 ماه پیش
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 سال پیش
ncginl.pas 80750f7591 * second_abs: don't supply a separate 64 bit code path for high level cpu targets 1 سال پیش
ncgld.pas 9d7ea2c069 * revert check for boolean type when handling LOC_FLAG in tcgassignmentnode.pass_generate_code. This makes pas boolean the default, 1 سال پیش
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 سال پیش
ncgmem.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 سال پیش
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 4b92df28cf Adding static properties to extended RTTI 10 ماه پیش
ncgset.pas a8b4c0772c * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 1 سال پیش
ncgutil.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 سال پیش
ncgvmt.pas 190b27ad45 * use proper value for Fnv64 initialization 1 سال پیش
ncnv.pas 4103b3d180 * formatting 1 سال پیش
ncon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 سال پیش
nflw.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 11 ماه پیش
ngenutil.pas bff561063f Use TFPList.FreeAndNilDisposing in four more places. 11 ماه پیش
ngtcon.pas a188322e76 Fixing bug where in const init no typecheck for symbol was performed 1 سال پیش
ninl.pas 73420dcace * ensure that Default() symbols that use management operators are properly initalized/finalized 1 سال پیش
nld.pas 798d793cdc Specialized fpc_copy_with_move_semantics for destructive copies. 10 ماه پیش
nmat.pas f29ff58ab9 + get_int_value 1 سال پیش
nmem.pas 4378319f87 * Added missing "override" directive for XML node dump routine on TDerefNode 1 سال پیش
nobj.pas c3a3cfe80f * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 1 سال پیش
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 سال پیش
node.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 سال پیش
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 سال پیش
nset.pas e412f6be55 + in on an empty set is always false, resolves #40745 1 سال پیش
nutils.pas b8a4a72760 * properly process all child nodes of call nodes in foreachnode, resolves #40957 11 ماه پیش
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 3 سال پیش
ogbase.pas 9caabdc4e7 Immediately set the capacity 1 سال پیش
ogcoff.pas 400094921c Handle cross-endian case inside TCoffObjData.writereloc method 1 سال پیش
ogelf.pas 9caabdc4e7 Immediately set the capacity 1 سال پیش
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 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 سال پیش
ogwasm.pas 800fb6624e + added a missing 'br 1' instruction in the code, generated by 11 ماه پیش
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 سال پیش
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 سال پیش
optconstprop.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 1 سال پیش
optcse.pas e4af0fc1e9 * don't mess with boolean and/or operations in mixed short/full evaluated expressions, resolves #41012 10 ماه پیش
optdead.pas b1dff29cbf * removed unused units 8 سال پیش
optdeadstore.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 1 سال پیش
optdfa.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 11 ماه پیش
options.pas bdeb161d85 * ignore the -gl parameter (and print a warning) on the embedded targets 11 ماه پیش
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 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 سال پیش
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 سال پیش
optutils.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 11 ماه پیش
optvirt.pas a512273976 WPO: handle classes defined in localsymtables 1 سال پیش
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 2 سال پیش
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 سال پیش
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 سال پیش
parser.pas 3e7d58bce7 Rename function to reset_all_default_types 1 سال پیش
pass_1.pas 2641f65bb7 * compilation with -dEXTDEBUG fixed 1 سال پیش
pass_2.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 سال پیش
pbase.pas 6ac14de986 * Properly handle finish state 1 سال پیش
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 سال پیش
pdecl.pas 13de117b8e * give better error message for #40821 1 سال پیش
pdecobj.pas 22d7033d18 * Attributes for methods. Fixes issue 41001 11 ماه پیش
pdecsub.pas 485b31de21 * fix #40764: declare procsyms of a class/object also as sp_generic_dummysym if a symbol in a parent class has it set so that the parser will treat it as a potential generic 1 سال پیش
pdecvar.pas b7edddf9d9 * do not eat the semicolon after an absolute expression to a symbol, noted in #40978 11 ماه پیش
pexports.pas cc063e7a9c * add procsyms from exports also to deffile if user explicitly asked for one 1 سال پیش
pexpr.pas 6618c0dbf7 Fixing a bug where an empty postfix for enum was allowed 11 ماه پیش
pgentype.pas 8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 11 ماه پیش
pgenutil.pas 75d7b66bdf * compilation fixed 11 ماه پیش
pinline.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 سال پیش
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 سال پیش
pmodules.pas 22d7033d18 * Attributes for methods. Fixes issue 41001 11 ماه پیش
pp.lpi 867786c953 * update version 5 سال پیش
pp.pas 66ffc986c0 * fix alphabetical sorting of targets in comment 1 سال پیش
pparautl.pas 4a4eadc60e * throw an error if varargs is used without appropriate calling conventions, resolves #40342 1 سال پیش
ppc68k.lpi 8192bf1b33 * version update 4 سال پیش
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 سال پیش
ppcaarch64.lpi a816fc2114 * update project file 1 سال پیش
ppcarm.lpi 7909f00c83 * project files updated 2 سال پیش
ppcavr.lpi 7909f00c83 * project files updated 2 سال پیش
ppcjvm.lpi 7909f00c83 * project files updated 2 سال پیش
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 سال پیش
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 a7be888255 + add optimizer units (empty for now) for the WebAssembly target 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 0e0c4bd621 * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 1 سال پیش
procdefutil.pas 9caabdc4e7 Immediately set the capacity 1 سال پیش
procinfo.pas ab5c5a7e9a * also keep track of captured def (necessary when functions are captured) 1 سال پیش
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 سال پیش
pstatmnt.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 11 ماه پیش
psub.pas 8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 11 ماه پیش
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 0e9efd07ef * extend read_anon_type() so that it can take a genericdef as well 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 b08b5bf136 * fixed the WebAssembly inline asm call instruction with the internal assembler writer 1 سال پیش
rescmn.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 سال پیش
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 2 سال پیش
scandir.pas 00fc962ca3 + fix #40963: print suitable messages for local unit, include, library and object paths if -vt is given 11 ماه پیش
scanner.pas 224f62a843 Report correct error positions inside macros (at least more often). 11 ماه پیش
switches.pas 5c890b59e3 * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence 1 سال پیش
symbase.pas 1e9e533e6c * Replace object with record where possible 1 سال پیش
symconst.pas 312cf246ad * Fix creating thunk class when inherited interfaces are used 1 سال پیش
symcreat.pas 46e5903792 * Generate correct type name for procedural type arguments in thunk class 11 ماه پیش
symdef.pas bff561063f Use TFPList.FreeAndNilDisposing in four more places. 11 ماه پیش
symsym.pas 2596af84fa Optimize {$DEFINE x := y} and refactor tmacro.buftext. 11 ماه پیش
symtable.pas 2596af84fa Optimize {$DEFINE x := y} and refactor tmacro.buftext. 11 ماه پیش
symtype.pas 44d9234f38 * properly unlink unused type symbols from their defs to avoid 1 سال پیش
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants 2 سال پیش
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 سال پیش
systems.inc 52651a7ede First compiler Build 1 سال پیش
systems.pas dad75d4472 clearing the bss section on startup 11 ماه پیش
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 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 10 ماه پیش
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 سال پیش
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 سال پیش
wasmbase.pas ffd461860b + added extra values to TWasmNameSubsectionType from the extended name section 1 سال پیش
widestr.pas 0b97f169b0 Remove conditionals that rely on not defined(FPC_HAS_CPSTRING). 11 ماه پیش
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 سال پیش
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