florian 316e127948 * overflow checking for ti386inlinenode.second_abs_long 1 rok pred
..
aarch64 a907eb49c9 * a64: Several secondary peephole optimizations that clean up CSEL instructions 1 rok pred
arm 4e8b1cb97a * Fixed signature of insert_init_final_table 1 rok pred
armgen 1dbcba4796 * arm/a64: Bug fix where instructions optimised into "mov r0,r0" 1 rok pred
avr a15dfba971 * Fix compilation 1 rok pred
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 rokov pred
html fa0d3d79e0 no message 23 rokov pred
i386 316e127948 * overflow checking for ti386inlinenode.second_abs_long 1 rok pred
i8086 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 rok pred
jvm 2ba04dbd13 * generate init_final table from actual uses clauses 1 rok pred
llvm 0fb4fca957 * fix building of llvm compiler after node flag refactoring 1 rok pred
loongarch64 462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He) 1 rok pred
m68k 19fe377455 m68k: fix tw40182 test 1 rok pred
mips dc04a8a677 Fix storing of unaligned 64-bit to memory 2 rokov pred
msg ccb1985953 * Fix latex error due to unescaped dollar 1 rok pred
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 rok pred
ppcgen b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 rok pred
riscv a736a4bba7 + set pi_do_call on RiscV as well if we check for fpu exceptions 1 rok pred
riscv32 acf5675a90 Change AVOID_OVERFLOW to avoid warning about inequality being always true 1 rok pred
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 2 rokov pred
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 rokov pred
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 2 rokov pred
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method 2 rokov pred
systems 3db060e47a Use writeUInt32LE/writeUInt16LE method to write multi-byte integer in importlib method in t_win unit (as all supported CPUs are little endian) 1 rok pred
utils 5eda6e027d * Add internal_endian field to tppudumpfile class 1 rok pred
wasm32 b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 rok pred
x86 c3b8b51cb5 * more overflow checking for abs(...) 1 rok pred
x86_64 a7fe49f38f * x86: CMOVcc/Jcc pairs are now changed to MOV/Jcc if the register is not used if the jump doesn't branch 1 rok pred
xtensa 91946b78d5 * Fix xtensa compilation 1 rok pred
z80 eae74aaee0 Follow sdas documentation for .ascii limitations by using only printable chars and .byte for others 1 rok pred
.gitignore e14692f594 git ignore msg2inc binary 2 rokov pred
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 rokov pred
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 rokov pred
Makefile 679f2f75b3 human68k: regenerated Makefiles 1 rok pred
Makefile.fpc d9ad6bdd1f Avoid troubles with exported directories 1 rok pred
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
aasmbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 rokov pred
aasmcnst.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
aasmdata.pas b367d7c905 + introduced TAsmData.WeakRefAsmSymbolByClass 1 rok pred
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 rokov pred
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 rokov pred
aasmtai.pas 90e0b426ef * SkipInstr now includes ait_align 1 rok pred
aggas.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 rokov pred
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 rokov pred
aoptda.pas b1dff29cbf * removed unused units 8 rokov pred
aoptobj.pas d7d4b446c1 * FindRegAllocBackward will now return nil if it hits a dealloc for the register first 1 rok pred
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 rok pred
assemble.pas 2044868c10 Swap real constant in internal assembler 1 rok pred
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 rokov pred
browcol.pas 8aa9ac99a6 * Remove loaded_from in tmodule. The same unit can be loaded from different places 1 rok pred
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 rokov pred
ccharset.pas cb44d7d4e2 * some cleanup 5 rokov pred
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 rokov pred
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 rokov pred
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
cfileutl.pas c9b88a1cd0 * Allow to disable 8.3 filename search 1 rok pred
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 rokov pred
cgbase.pas 11712658b0 + implemented WebAssembly code generator support for funcref and externref data 2 rokov pred
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 rokov pred
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 rokov pred
cgobj.pas 922893ddbb Attempt to fix tcalext3 big-endian powerpc64 failure 1 rok pred
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 rok pred
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 rokov pred
comphook.pas 63642b13c8 Add -vj option in options unit to set V_Parallel 1 rok pred
compiler.pas 5298e25c84 * Introduce task (Single main-level task at the moment, no change in behaviour). 1 rok pred
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 rokov pred
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 rokov pred
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 rokov pred
constexp.pas a6d6f93887 * revert accidently committed code 3 rokov pred
cprofile.pas 6612bb4434 * proper naming 5 rokov pred
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 rokov pred
cresstr.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 rokov pred
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 rokov pred
ctask.pas b2bc020fd7 * Handle rename of module during parsing, rebuild hash list. Fixes broken test tb0406.pas 1 rok pred
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2 rokov pred
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 rok pred
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 rokov pred
dbgdwarf.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 rokov pred
dbgstabs.pas a401898139 * spelling fixes 3 rokov pred
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 rokov pred
defcmp.pas ddc2259e5e * protect against comparisons of nested types of generics and specializations 1 rok pred
defutil.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) 2 rokov pred
dirparse.pas 93be88b270 * reverted r47862 4 rokov pred
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 rokov pred
elfbase.pas 245b58c249 + support for arm attributes 5 rokov pred
entfile.pas 8ae28b4846 Fix writing of low qword of floatx80 real type into 10-byte array on big endian systems 1 rok pred
export.pas 2f1ccd6f2a + support 'promising last' exports 2 rokov pred
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 rokov pred
finput.pas c96ef4902b * Handle finish state separately 1 rok pred
fmodule.pas 22de07446d * Fix tgeneric91, need to postpone some additional generic procedures 1 rok pred
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 rokov pred
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 rok pred
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 rokov pred
fppu.pas 9db42f5e67 Fix post_load_or_compile tppumodule method for SHORT_ON_FILE_HANDLES code by adding from_module parameter 1 rok pred
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 rokov pred
globals.pas 5298e25c84 * Introduce task (Single main-level task at the moment, no change in behaviour). 1 rok pred
globstat.pas 9cc30829fa * Restore messages state 1 rok pred
globtype.pas bc72021039 * Define RTTI directive parameters 1 rok pred
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 rokov pred
hlcgobj.pas a75e453c30 + thlcgobj.location_force_mem now supports LOC_JUMP as well, resolves #40650 1 rok pred
htypechk.pas 1bba83cebb * Flags specific to TVecNode have been moved to their own field 1 rok pred
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 rokov pred
import.pas b1dff29cbf * removed unused units 8 rokov pred
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 rokov pred
link.pas 7887f46700 Try to compute correct page size for wlib call 1 rok pred
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 rokov pred
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 rokov pred
msgidx.inc 2575cbc439 * complain about turned off support of c style operators only in the parser, 1 rok pred
msgtxt.inc 2575cbc439 * complain about turned off support of c style operators only in the parser, 1 rok pred
nadd.pas e35403c3b8 * optimize additions of empty sets away if possible, part of #40384 1 rok pred
nbas.pas 4103b3d180 * formatting 1 rok pred
ncal.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 rok pred
ncgadd.pas b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 rok pred
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 rok pred
ncgcal.pas dce70b3b70 Short version of the mips code genration bug 2 rokov pred
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 rokov pred
ncgflw.pas 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement 1 rok pred
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 rokov pred
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 rokov pred
ncgld.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 rok pred
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 rokov pred
ncgmem.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 rok pred
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 rokov pred
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 rokov pred
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 rokov pred
ncgobjc.pas b1dff29cbf * removed unused units 8 rokov pred
ncgopt.pas b1dff29cbf * removed unused units 8 rokov pred
ncgrtti.pas 05f0ceeb26 * Atributes for class/record methods 1 rok pred
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 rok pred
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 rokov pred
ncgvmt.pas 170c05592b * ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64) 1 rok pred
ncnv.pas 4103b3d180 * formatting 1 rok pred
ncon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
nflw.pas 68668c649e * fix #40500: do a for-in on a string variable using low(strvar) to high(strvar) so that zero based strings are handled correctly 1 rok pred
ngenutil.pas 325d29307f * Indentation and casing changes 1 rok pred
ngtcon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
ninl.pas bf2a3566fa * patch by Sergey Larin: Compile dynarr := nil (and, preferably, SetLength(dynarr, 0)) as fpc_dynarray_clear, resolves #40309 1 rok pred
nld.pas 4103b3d180 * formatting 1 rok pred
nmat.pas f41025f5dd * optimize also -(x+1) and -(1+x) into not(x) 1 rok pred
nmem.pas 4103b3d180 * formatting 1 rok pred
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 rokov pred
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 rokov pred
node.pas dba69917a9 * Flags specific to TInlineNode have been moved to their own field 1 rok pred
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 rok pred
nset.pas d44cae14f5 * decide more sophisticately if a temp. var is needed for fixing #40618 1 rok pred
nutils.pas b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 rok pred
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 rokov pred
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 rokov pred
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target 2 rokov pred
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 2 rokov pred
ogbase.pas ca6fe96360 Add writeInt8/writeUInt8 methods to fix some cross-endian generation issues 1 rok pred
ogcoff.pas 7595dd3624 Also swap word/dword in case of cross-endian compilation 1 rok pred
ogelf.pas bf57750436 * cosmetics 1 rok pred
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 rokov pred
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 rokov pred
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 rokov pred
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 rokov pred
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 rok pred
ogrel.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
ogwasm.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 rok pred
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 rok pred
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 2 rokov pred
optcse.pas 4103b3d180 * formatting 1 rok pred
optdead.pas b1dff29cbf * removed unused units 8 rokov pred
optdeadstore.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 rok pred
optdfa.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 rok pred
options.pas 3c57eb42f9 do not display the changing assembler note, if the internal and the external assemblers are the same, or there's no internal assembler defined 1 rok pred
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 rokov pred
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 3 rokov pred
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 rokov pred
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 rokov pred
optvirt.pas a512273976 WPO: handle classes defined in localsymtables 1 rok pred
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 rokov pred
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 rokov pred
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 rok pred
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 rokov pred
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 rokov pred
parser.pas 462c201ce6 * Introduce m_processed 1 rok pred
pass_1.pas 5ea60b97b1 * Clarity over blocknode and VMT flags. nf_usercode_entry doesn't need to be cascaded in "firstpass" as TBlockNode.Simplify already does this 1 rok pred
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering 2 rokov pred
pbase.pas 6ac14de986 * Properly handle finish state 1 rok pred
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 rokov pred
pdecl.pas bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 1 rok pred
pdecobj.pas 05f0ceeb26 * Atributes for class/record methods 1 rok pred
pdecsub.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 rok pred
pdecvar.pas 2c9870f85a * Attributes must be assigned only to elements before the first colon 1 rok pred
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2 rokov pred
pexpr.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 rok pred
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 rokov pred
pgenutil.pas 22de07446d * Fix tgeneric91, need to postpone some additional generic procedures 1 rok pred
pinline.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 rok pred
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 rokov pred
pmodules.pas f88622a799 Be sure not to consume semicolon after _USES twice 1 rok pred
pp.lpi 867786c953 * update version 5 rokov pred
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
pparautl.pas e7f9626592 Be sure not to add a symbol with empty name as an alias for function return variable 1 rok pred
ppc68k.lpi 8192bf1b33 * version update 4 rokov pred
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 rokov pred
ppcaarch64.lpi 7909f00c83 * project files updated 2 rokov pred
ppcarm.lpi 7909f00c83 * project files updated 2 rokov pred
ppcavr.lpi 7909f00c83 * project files updated 2 rokov pred
ppcjvm.lpi 7909f00c83 * project files updated 2 rokov pred
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 rok pred
ppcmips.lpi 7909f00c83 * project files updated 2 rokov pred
ppcmips64el.lpi 7909f00c83 * project files updated 2 rokov pred
ppcmipsel.lpi 7909f00c83 * project files updated 2 rokov pred
ppcppc.lpi 7909f00c83 * project files updated 2 rokov pred
ppcppc64.lpi 7909f00c83 * project files updated 2 rokov pred
ppcppc64le.lpi 7909f00c83 * project files updated 2 rokov pred
ppcriscv32.lpi 7909f00c83 * project files updated 2 rokov pred
ppcriscv64.lpi 7909f00c83 * project files updated 2 rokov pred
ppcsparc.lpi 7909f00c83 * project files updated 2 rokov pred
ppcsparc64.lpi 7909f00c83 * project files updated 2 rokov pred
ppcwasm32.lpi a9316b1953 - removed the DEBUG_WASM_GOTO define from the .lpi file 1 rok pred
ppcx64.lpi ed50a1941b * Unicode resource strings 2 rokov pred
ppcx64llvm.lpi 7909f00c83 * project files updated 2 rokov pred
ppcxtensa.lpi 7909f00c83 * project files updated 2 rokov pred
ppcz80.lpi 7909f00c83 * project files updated 2 rokov pred
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 rokov pred
ppu.pas 64141c8bdd * increase ppu long version as the format changed 1 rok pred
procdefutil.pas ad61db2ff5 * allow a nested function that calls itself can be converted to a function reference 1 rok pred
procinfo.pas ab5c5a7e9a * also keep track of captured def (necessary when functions are captured) 1 rok pred
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 rokov pred
pstatmnt.pas 4103b3d180 * formatting 1 rok pred
psub.pas 1ab46c909a * Reduced the number of expensive calls to "GetUserCode" in DFA 1 rok pred
psystem.pas adf9f98f7c * Define char as AnsiChar 2 rokov pred
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 rokov pred
ptype.pas 05f0ceeb26 * Atributes for class/record methods 1 rok pred
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 rokov pred
rasm.pas 46fe2d486c * forgotten comment 7 rokov pred
rautils.pas 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 2 rokov pred
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 rokov pred
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 rokov pred
rgobj.pas 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 1 rok pred
scandir.pas 5298e25c84 * Introduce task (Single main-level task at the moment, no change in behaviour). 1 rok pred
scanner.pas 5086cf7e72 * set packenum and setalloc to defined values when changing mode, resolves #40056 1 rok pred
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 rok pred
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 rokov pred
symconst.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 rok pred
symcreat.pas 6f7481fd24 * Remove freeold from set_current_scanner 1 rok pred
symdef.pas fb821b8c9b * Allow use of attributes on fields and properties in records and classes 1 rok pred
symsym.pas 7a29d8f54d * Fix compilation with DEBUG_NODE_XML 1 rok pred
symtable.pas 325d29307f * Indentation and casing changes 1 rok pred
symtype.pas 906571fa25 * improve pretty printing of symbols 1 rok pred
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants 2 rokov pred
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 rok pred
systems.inc 790a58be52 + added ld_int_wasi constant. Register the WASI internal linker. 1 rok pred
systems.pas ba773e3385 human68k: this system has internal sysinit 1 rok pred
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 rokov pred
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 rokov pred
verbose.pas 63642b13c8 Add -vj option in options unit to set V_Parallel 1 rok pred
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 rokov pred
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 2 rokov pred
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 rokov pred
widestr.pas cb44d7d4e2 * some cleanup 5 rokov pred
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 rokov pred
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 rokov pred
wpoinfo.pas b1dff29cbf * removed unused units 8 rokov pred

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