Pierre Muller 5c564ea940 Use writeint8/writeuint8 methods to avoid cross-endian issues 1 год назад
..
aarch64 a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 год назад
arm 8146443336 + set pi_do_call on ARM as well if we check for fpu exceptions 1 год назад
armgen 271f69db12 * arm/a64: "OptPass2AND" and "OptPass2CMP" adapted to remove vestigial CMP and TST instructions 1 год назад
avr 248082347f AVR optimization LdsMov2Lds 1 год назад
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 лет назад
html fa0d3d79e0 no message 23 лет назад
i386 62495c964a * x86: New "aoc_DoPass2JccOpts" option to catch branch and 1 год назад
i8086 ede47ffea9 * New "fast 3-component LEA hint" and "Icelake" CPU options 1 год назад
jvm a401898139 * spelling fixes 3 лет назад
llvm bac4ca19e7 * Fixed internal error 2022041701 number clash (LLVM changed to 2022041730) 1 год назад
loongarch64 462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He) 1 год назад
m68k 19fe377455 m68k: fix tw40182 test 1 год назад
mips dc04a8a677 Fix storing of unaligned 64-bit to memory 2 лет назад
msg ccb1985953 * Fix latex error due to unescaped dollar 1 год назад
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 год назад
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 год назад
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler 2 лет назад
riscv a736a4bba7 + set pi_do_call on RiscV as well if we check for fpu exceptions 1 год назад
riscv32 acf5675a90 Change AVOID_OVERFLOW to avoid warning about inequality being always true 1 год назад
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 2 лет назад
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 лет назад
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 2 лет назад
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method 2 лет назад
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 год назад
utils 5eda6e027d * Add internal_endian field to tppudumpfile class 1 год назад
wasm32 26855a29c8 * fix warning 1 год назад
x86 5c564ea940 Use writeint8/writeuint8 methods to avoid cross-endian issues 1 год назад
x86_64 629c87efc8 * x86-64: Typo fixed in FPU type string array 1 год назад
xtensa 57f6ed804e + set pi_do_call on xtensa as well if we check for fpu exceptions 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 679f2f75b3 human68k: regenerated Makefiles 1 год назад
Makefile.fpc d9ad6bdd1f Avoid troubles with exported directories 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 fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
aasmdata.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 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 90e0b426ef * SkipInstr now includes ait_align 1 год назад
aggas.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 год назад
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 d7d4b446c1 * FindRegAllocBackward will now return nil if it hits a dealloc for the register first 1 год назад
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 год назад
assemble.pas 529b64790b Avoid 'false' warning: Local variable "gap_index" does not seem to be initialized on cycle with -O3 option 1 год назад
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 лет назад
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 лет назад
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 лет назад
ccharset.pas cb44d7d4e2 * some cleanup 5 лет назад
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 лет назад
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 11712658b0 + implemented WebAssembly code generator support for funcref and externref data 2 лет назад
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 лет назад
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 лет назад
cgobj.pas 922893ddbb Attempt to fix tcalext3 big-endian powerpc64 failure 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 63642b13c8 Add -vj option in options unit to set V_Parallel 2 лет назад
compiler.pas 4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support 1 год назад
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 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 лет назад
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2 лет назад
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 fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 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 cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) 2 лет назад
dirparse.pas 93be88b270 * reverted r47862 4 лет назад
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 лет назад
elfbase.pas 245b58c249 + support for arm attributes 5 лет назад
entfile.pas 8ae28b4846 Fix writing of low qword of floatx80 real type into 10-byte array on big endian systems 1 год назад
export.pas 2f1ccd6f2a + support 'promising last' exports 2 лет назад
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 лет назад
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 лет назад
fmodule.pas ecfff40f96 * Implement parsing of RTTI directive 1 год назад
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler 2 лет назад
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 лет назад
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 c9b88a1cd0 * Allow to disable 8.3 filename search 1 год назад
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 лет назад
globals.pas c9b88a1cd0 * Allow to disable 8.3 filename search 1 год назад
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 лет назад
globtype.pas bc72021039 * Define RTTI directive parameters 1 год назад
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 лет назад
hlcgobj.pas 49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations 1 год назад
htypechk.pas 692754b422 Move test to end of possible conversion and add check_valid_var boolean variable 1 год назад
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 лет назад
msgidx.inc 2575cbc439 * complain about turned off support of c style operators only in the parser, 1 год назад
msgtxt.inc 2575cbc439 * complain about turned off support of c style operators only in the parser, 1 год назад
nadd.pas 6e5860cb87 * check for *-1 multiplications after folding, resolves #40448 1 год назад
nbas.pas 7854152304 * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes 2 лет назад
ncal.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
ncgadd.pas bbece3e668 * MIPS64 can 3 лет назад
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 лет назад
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 5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement 1 год назад
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 fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
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 0104edce45 Extended RTTI: optimise fetching VMT index 1 год назад
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 a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 лет назад
ncgvmt.pas 170c05592b * ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64) 1 год назад
ncnv.pas 8a48d1bbbc * clean up of arrayconstructor_to_set, the stringdef case didn't work for years and is not tested, so it probably is not supposed to be there at all 1 год назад
ncon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
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 год назад
ngenutil.pas c96641f901 LLVM: fix double init/fini of local managed variables accessed from nested functions 1 год назад
ngtcon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
ninl.pas 6597f02ebc * The "Val" intrinsic is now simplified for string constants akin to a 1 год назад
nld.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
nmat.pas 0943458713 * More efficient if-statement construction in tmoddivnode.simplify 1 год назад
nmem.pas bb2e2f83e9 Add struct field names to subscriptn nodes in parse tree output 1 год назад
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 7488f1e3f8 * New node pruning methods 2 лет назад
nopt.pas bb51ac77dd * the right side of a concatenation of multiple ShortString values can directly pass any String[x] to the utility routine, because only the Length() is used, not High() and nothing is modified (also typed pointers must not be used for them); this allows for better code generation for strings with a maximum length < 255 2 лет назад
nset.pas d44cae14f5 * decide more sophisticately if a temp. var is needed for fixing #40618 1 год назад
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall 2 лет назад
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 ca6fe96360 Add writeInt8/writeUInt8 methods to fix some cross-endian generation issues 1 год назад
ogcoff.pas 7595dd3624 Also swap word/dword in case of cross-endian compilation 1 год назад
ogelf.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 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 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 год назад
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 год назад
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 лет назад
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 2 лет назад
optcse.pas da37fabc42 * fixed a div by zero error, when compiling a wasi-hosted compiler 1 год назад
optdead.pas b1dff29cbf * removed unused units 8 лет назад
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 2 лет назад
optdfa.pas a27cb35fa8 * propagate life info properly 2 лет назад
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 год назад
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 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 лет назад
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 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 a4c94c8b44 human68k: more work on getting tinyheap right. still doesn't seem to work, sadly, so still disabled 1 год назад
pass_1.pas 95e5eeb226 * fix compilation with -dEXTDEBUG 2 лет назад
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering 2 лет назад
pbase.pas f364bb6b11 * Forbid use of string alias in system unit 2 лет назад
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 лет назад
pdecl.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
pdecobj.pas 5e05630713 * fix the internal error of #40639; however as the test code in question will only compile correctly with the next commit no test is added yet 1 год назад
pdecsub.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 год назад
pdecvar.pas ba55932929 Fixing trying to consume ID for anonymous switch field 1 год назад
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2 лет назад
pexpr.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 лет назад
pgenutil.pas ade7af5234 * Refer to bugreport for internal error 20231102 1 год назад
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 af482fde23 * generate specializations only of no error happened so far to prevent further (internal)errors, resolves #40646 1 год назад
pp.lpi 867786c953 * update version 5 лет назад
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 лет назад
pparautl.pas b32573d1eb * inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608 1 год назад
ppc68k.lpi 8192bf1b33 * version update 4 лет назад
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 лет назад
ppcaarch64.lpi 7909f00c83 * project files updated 2 лет назад
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 a9316b1953 - removed the DEBUG_WASM_GOTO define from the .lpi file 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 fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
procdefutil.pas ad61db2ff5 * allow a nested function that calls itself can be converted to a function reference 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 55deefbab5 * do not crash on illegal with statement, resolves #40118 2 лет назад
psub.pas 5c090fce2c * Node dumps now output the convention if it's not pocall_default 1 год назад
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 dbf6527508 * factor out pointer_dec 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 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 2 лет назад
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 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 1 год назад
scandir.pas 2c527cfc01 * fix typos in comment, no code changes 1 год назад
scanner.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 лет назад
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 лет назад
symconst.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
symcreat.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI 2 лет назад
symdef.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 год назад
symsym.pas 7a29d8f54d * Fix compilation with DEBUG_NODE_XML 1 год назад
symtable.pas ea102d792f * fix #40634 the 2nd: a (strict) protected symbol in a parent class of the owner is supposed to be visible 1 год назад
symtype.pas 4c330f2799 Issue internal error in def type is errordef 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 790a58be52 + added ld_int_wasi constant. Register the WASI internal linker. 1 год назад
systems.pas ba773e3385 human68k: this system has internal sysinit 1 год назад
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 63642b13c8 Add -vj option in options unit to set V_Parallel 2 лет назад
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 лет назад
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 лет назад
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 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 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