Pierre Muller 7ec9d2bf9f Fix compilation with -dDEBUG_PPU 11 months ago
..
aarch64 47d2395110 * set operand size properly for STX* 1 year ago
arm ce702df526 Take care about endianess in arm instruction binary code generator 1 year ago
armgen fd74c26707 * TARMAsmOptimizer.USxtOp2Op sets register size if needed 1 year ago
avr f49da05633 * unified g_concatcopy_move 1 year ago
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 years ago
html fa0d3d79e0 no message 23 years ago
i386 1030f67fb4 Use IndexQWord_SSE41 directly if -Cp RTL compiled with supports SSE 4.1. 1 year ago
i8086 db5e821ead * more change information updates 1 year ago
jvm 1de3aba4e3 * few types fixed 1 year ago
llvm 0fb4fca957 * fix building of llvm compiler after node flag refactoring 1 year ago
loongarch64 462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He) 1 year ago
m68k 9f6a3eebb7 * handle adress registers properly in tcg64f68k.a_op64_reg_ref 1 year ago
mips f584c559fd * fold the MIPS tabitype into tabi as the former wasn't really used or hooked up anyway; this way the ABI can be set using -Ca<abi> 1 year ago
msg 8833fabb4b + enable the WebAssembly internal linker with multithreading 1 year ago
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 year ago
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 year ago
ppcgen b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 year ago
riscv 081af9a892 * overleft cosmetics 11 months ago
riscv32 159d97e864 * Risc-V: make use of sext.h instruction if available 11 months ago
riscv64 159d97e864 * Risc-V: make use of sext.h instruction if available 11 months ago
sparc 5e00358f13 + cs_opt_consts for sparc 1 year ago
sparc64 1fa83a91ab + cs_opt_consts for sparc64 1 year ago
sparcgen f49da05633 * unified g_concatcopy_move 1 year ago
systems 10ec49d75b Remap .data with fpc specific information to outside normal memory range. 11 months ago
utils 83d3a39417 Avoid unnecessary call when length(s) is zero, which avoids range check error 1 year ago
wasm32 8bbb28ace8 + WASI: enable the generic stack checking 1 year ago
x86 a06a20f9c0 * x86: Fixed an issue where invalid typecast errors would be raised in the peephole optimizer under -CriotR 1 year ago
x86_64 1030f67fb4 Use IndexQWord_SSE41 directly if -Cp RTL compiled with supports SSE 4.1. 1 year ago
xtensa 14b3c11c0d Initial support for esp32-c6-s2-s3. Support for idf versions 5.0.6 and 5.2.1 1 year ago
z80 eae74aaee0 Follow sdas documentation for .ascii limitations by using only printable chars and .byte for others 1 year ago
.gitignore e14692f594 git ignore msg2inc binary 2 years ago
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 years ago
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 years ago
Makefile 28704b2976 * distclean removes msgtxt.inc and msgidx.inc, resolves #40861 1 year ago
Makefile.fpc 28704b2976 * distclean removes msgtxt.inc and msgidx.inc, resolves #40861 1 year ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 years ago
aasmbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 year ago
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 years ago
aasmcnst.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 year ago
aasmdata.pas b367d7c905 + introduced TAsmData.WeakRefAsmSymbolByClass 1 year ago
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 years ago
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
aasmtai.pas fb66369a3b * x86: CheckJumpMovTransferOpt now also copies over register deallocations to allow better optimisations 1 year ago
aggas.pas 11246aa5b4 m68k-palmos: do not try to write section attributes, they're not really useful, and lead to assembler warnings 1 year ago
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 years ago
aoptbase.pas fb66369a3b * x86: CheckJumpMovTransferOpt now also copies over register deallocations to allow better optimisations 1 year ago
aoptda.pas b1dff29cbf * removed unused units 8 years ago
aoptobj.pas 346962beaa * compiler part of #35433 1 year ago
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 year ago
assemble.pas 318e31487a Take care about endianess in arm eabi attribute section 1 year ago
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 years ago
browcol.pas 8aa9ac99a6 * Remove loaded_from in tmodule. The same unit can be loaded from different places 1 year ago
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 years ago
ccharset.pas cb44d7d4e2 * some cleanup 5 years ago
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 years ago
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 years ago
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
cfileutl.pas c9b88a1cd0 * Allow to disable 8.3 filename search 1 year ago
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 years ago
cgbase.pas 2e65a5d458 + introduced cgbase.topcg2str and topcmp2str for converting TOpCg and TOpCmp to strings (useful for debug logging, etc) 1 year ago
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 years ago
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 years ago
cgobj.pas f49da05633 * unified g_concatcopy_move 1 year ago
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 year ago
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
comphook.pas 83abe1fb15 * oc_blue properly named as noted by Don Siders 1 year ago
compiler.pas 51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 1 year ago
compinnr.pas 81b7b80749 * Added support for 64-bit min/max intrinsics 1 year ago
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 years ago
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 years ago
constexp.pas a6d6f93887 * revert accidently committed code 3 years ago
cprofile.pas 6612bb4434 * proper naming 5 years ago
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cresstr.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 year ago
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 years ago
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 years ago
ctask.pas 564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 1 year ago
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2 years ago
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 year ago
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 years ago
dbgdwarf.pas e87982e925 const array - reducing unnecessary data copying 1 year ago
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 years ago
dbgstabs.pas a401898139 * spelling fixes 3 years ago
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
defcmp.pas ddc2259e5e * protect against comparisons of nested types of generics and specializations 1 year ago
defutil.pas 81b7b80749 * Added support for 64-bit min/max intrinsics 1 year ago
dirparse.pas 93be88b270 * reverted r47862 4 years ago
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 years ago
elfbase.pas 245b58c249 + support for arm attributes 5 years ago
entfile.pas 7ec9d2bf9f Fix compilation with -dDEBUG_PPU 11 months ago
export.pas 2f1ccd6f2a + support 'promising last' exports 2 years ago
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 years ago
finput.pas c96ef4902b * Handle finish state separately 1 year ago
fmodule.pas e86882580d * Do not free used units during reset, they can be in use during load cycle. Fixes issue #40852 1 year ago
fpcdefs.inc 1e9e533e6c * Replace object with record where possible 1 year ago
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 years ago
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 year ago
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 years ago
fppu.pas e86882580d * Do not free used units during reset, they can be in use during load cycle. Fixes issue #40852 1 year ago
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 years ago
globals.pas b71b5b771f * fixes building for ARM 1 year ago
globstat.pas 9cc30829fa * Restore messages state 1 year ago
globtype.pas bc72021039 * Define RTTI directive parameters 1 year ago
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 years ago
hlcgobj.pas 8971103a00 * use bit_set_reg_reg also to clear single bits in thlcgobj.a_load_regconst_subsetref_intern 1 year ago
htypechk.pas 8b2ebd07bf * don't throw an internal error if a procedure is passed to a const formal parameter, resolves #40817 1 year ago
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 years ago
import.pas b1dff29cbf * removed unused units 8 years ago
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 years ago
link.pas 7887f46700 Try to compute correct page size for wlib call 1 year ago
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
nadd.pas 7f03fb6966 * revert the changes from b0d61558e38f7e9ceb3918dbbaab13bc49496320, as 61397d40ae0c43083844e850d87c60ba74b34d28 fixes it more correctly 1 year ago
nbas.pas ac0e641ce7 * Stripped down and refactored TAsmNode XML node dumps 1 year ago
ncal.pas 9caabdc4e7 Immediately set the capacity 1 year ago
ncgadd.pas b804fc5164 * Flags specific to TAddNode have been moved to their own field 1 year ago
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 year ago
ncgcal.pas dce70b3b70 Short version of the mips code genration bug 2 years ago
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 years ago
ncgflw.pas 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement 1 year ago
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 years ago
ncginl.pas 80750f7591 * second_abs: don't supply a separate 64 bit code path for high level cpu targets 1 year ago
ncgld.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 year ago
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 years ago
ncgmem.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 year ago
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 years ago
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 years ago
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
ncgobjc.pas b1dff29cbf * removed unused units 8 years ago
ncgopt.pas b1dff29cbf * removed unused units 8 years ago
ncgrtti.pas 87137a4aaa * Do not include class and array properties in RTTI 1 year ago
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 year ago
ncgutil.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
ncgvmt.pas 170c05592b * ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64) 1 year ago
ncnv.pas 4103b3d180 * formatting 1 year ago
ncon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 year ago
nflw.pas 953a4e1b64 * fix #40563: apply slightly adjusted patch by byte bites to use fixed range of 1..Length(str) for for-in loops iterating over ShortStrings 1 year ago
ngenutil.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 year ago
ngtcon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 year ago
ninl.pas e60a7d01a4 * Inc/Dec nodes converted to Add/Sub now remove 1 year ago
nld.pas 4103b3d180 * formatting 1 year ago
nmat.pas f29ff58ab9 + get_int_value 1 year ago
nmem.pas 4378319f87 * Added missing "override" directive for XML node dump routine on TDerefNode 1 year ago
nobj.pas c3a3cfe80f * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 1 year ago
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
node.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 year ago
nset.pas e412f6be55 + in on an empty set is always false, resolves #40745 1 year ago
nutils.pas f29ff58ab9 + get_int_value 1 year ago
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 years ago
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 years ago
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target 2 years ago
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 2 years ago
ogbase.pas 9caabdc4e7 Immediately set the capacity 1 year ago
ogcoff.pas 5bf93d220f * exact-match COMDAT sections are already supported since tdynamicarray.equal() has been implemented a couple of yours ago, so allow them 1 year ago
ogelf.pas 9caabdc4e7 Immediately set the capacity 1 year ago
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 years ago
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
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 year ago
ogrel.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 year ago
ogwasm.pas c54d1d4b89 * WebAssembly internal linker: the PageSize constant, which was repeated twice, 11 months ago
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 year ago
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 year ago
optconstprop.pas b3c1f294ba + propagate also widechar/pointer constants 1 year ago
optcse.pas 0a88683310 + do do_consttovar on RiscV 1 year ago
optdead.pas b1dff29cbf * removed unused units 8 years ago
optdeadstore.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 year ago
optdfa.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
options.pas 8833fabb4b + enable the WebAssembly internal linker with multithreading 1 year ago
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 years ago
optloop.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 years ago
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 years ago
optvirt.pas a512273976 WPO: handle classes defined in localsymtables 1 year ago
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 years ago
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 years ago
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 year ago
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 years ago
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 years ago
parser.pas c52794f943 * Fix build of nativent 1 year ago
pass_1.pas 2641f65bb7 * compilation with -dEXTDEBUG fixed 1 year ago
pass_2.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
pbase.pas 6ac14de986 * Properly handle finish state 1 year ago
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 years ago
pdecl.pas 13de117b8e * give better error message for #40821 1 year ago
pdecobj.pas b0a82993e6 * Inherit extended RTTI settings from parent object 1 year ago
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 year ago
pdecvar.pas 7a1ef994b4 * fix #40721: correctly set up the generic defs when parsing fields, especially important when dealing with anonymous fields 1 year ago
pexports.pas 258ad62c4d * Do not try to export symbol if an error occurred, avoid internal error. Fixes issue #40858 1 year ago
pexpr.pas f8da65f8e9 * cosmetics 1 year ago
pgentype.pas 9caabdc4e7 Immediately set the capacity 1 year ago
pgenutil.pas 1743df7b80 * Patch by Evgenii Savin to avoid IE 2010021502 when calling generic from other generic. Fixes issue #40770 1 year ago
pinline.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 year ago
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 years ago
pmodules.pas 437e7fa75a * make warning on unsupported esp-idf version a warning string so it can be translated 1 year ago
pp.lpi 867786c953 * update version 5 years ago
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
pparautl.pas 4a4eadc60e * throw an error if varargs is used without appropriate calling conventions, resolves #40342 1 year ago
ppc68k.lpi 8192bf1b33 * version update 4 years ago
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
ppcaarch64.lpi a816fc2114 * update project file 1 year ago
ppcarm.lpi 7909f00c83 * project files updated 2 years ago
ppcavr.lpi 7909f00c83 * project files updated 2 years ago
ppcjvm.lpi 7909f00c83 * project files updated 2 years ago
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 year ago
ppcmips.lpi 7909f00c83 * project files updated 2 years ago
ppcmips64el.lpi 7909f00c83 * project files updated 2 years ago
ppcmipsel.lpi 7909f00c83 * project files updated 2 years ago
ppcppc.lpi 7909f00c83 * project files updated 2 years ago
ppcppc64.lpi 7909f00c83 * project files updated 2 years ago
ppcppc64le.lpi 7909f00c83 * project files updated 2 years ago
ppcriscv32.lpi 7909f00c83 * project files updated 2 years ago
ppcriscv64.lpi 7909f00c83 * project files updated 2 years ago
ppcsparc.lpi 7909f00c83 * project files updated 2 years ago
ppcsparc64.lpi 7909f00c83 * project files updated 2 years ago
ppcwasm32.lpi 610f2bb3c9 + enable FPC_WASM_THREADS_INTERNAL_LINKER (not stable, yet) in ppcwasm32.lpi 1 year ago
ppcx64.lpi ed50a1941b * Unicode resource strings 2 years ago
ppcx64llvm.lpi 7909f00c83 * project files updated 2 years ago
ppcxtensa.lpi 7909f00c83 * project files updated 2 years ago
ppcz80.lpi 7909f00c83 * project files updated 2 years ago
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 years ago
ppu.pas 02e90adfe1 * Need IFDEF, compiler stops "with unreachable code" 1 year ago
procdefutil.pas 9caabdc4e7 Immediately set the capacity 1 year ago
procinfo.pas ab5c5a7e9a * also keep track of captured def (necessary when functions are captured) 1 year ago
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 years ago
pstatmnt.pas b828529b24 * Block nodes are now marked as strippable when created from "begin" statements 1 year ago
psub.pas 5a9d4d44fa * Calling "internalstatements" now sets the "bnf_strippable" flag on the result 1 year ago
psystem.pas adf9f98f7c * Define char as AnsiChar 2 years ago
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 years ago
ptype.pas 0e9efd07ef * extend read_anon_type() so that it can take a genericdef as well 1 year ago
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 years ago
rasm.pas 46fe2d486c * forgotten comment 7 years ago
rautils.pas b08b5bf136 * fixed the WebAssembly inline asm call instruction with the internal assembler writer 1 year ago
rescmn.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 year ago
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 years ago
rgobj.pas 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 1 year ago
scandir.pas 5298e25c84 * Introduce task (Single main-level task at the moment, no change in behaviour). 1 year ago
scanner.pas a9c88ace25 * handle unary minus in the preprocessor, resolves #40782 1 year ago
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 year ago
symbase.pas 1e9e533e6c * Replace object with record where possible 1 year ago
symconst.pas 312cf246ad * Fix creating thunk class when inherited interfaces are used 1 year ago
symcreat.pas 02704f85a9 * Wasm: generator for invoke helper now handles overloaded methods in interfaces 1 year ago
symdef.pas 9caabdc4e7 Immediately set the capacity 1 year ago
symsym.pas 9caabdc4e7 Immediately set the capacity 1 year ago
symtable.pas 9caabdc4e7 Immediately set the capacity 1 year ago
symtype.pas 1e9e533e6c * Replace object with record where possible 1 year ago
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants 2 years ago
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 year ago
systems.inc 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 year ago
systems.pas f584c559fd * fold the MIPS tabitype into tabi as the former wasn't really used or hooked up anyway; this way the ABI can be set using -Ca<abi> 1 year ago
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 years ago
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 years ago
verbose.pas 63642b13c8 Add -vj option in options unit to set V_Parallel 1 year ago
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 2 years ago
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 years ago
widestr.pas cb44d7d4e2 * some cleanup 5 years ago
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 years ago
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 years ago
wpoinfo.pas b1dff29cbf * removed unused units 8 years ago

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