Ondrej Pokorny 91be179377 read user-defined compiler messages in source codepage 1 år sedan
..
aarch64 48fe8e6208 * unify internalerror 3 månader sedan
arm cba0ca490e * genlinearlist and genlinearcmplist for case blocks now allocate the flags properly 3 månader sedan
armgen 5646d14a3c * arm/a64: Be more careful about hp1 and p_second being null in "TryConstMerge" 3 månader sedan
avr b0003f71dd Check rjmp destination range. 5 månader sedan
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 9d55e3aa0e * x86: Fixed bug where XMM7 wasn't used by the register allocator 1 månad sedan
i8086 9d55e3aa0e * x86: Fixed bug where XMM7 wasn't used by the register allocator 1 månad sedan
jvm 6724e3dec8 Add tsym parameter to ttgobj.getlocal method. 2 månader sedan
llvm b790ea1a86 Add counter for tissurrogatepair2 test 1 månad sedan
loongarch64 c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
m68k c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
mips c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
msg 4a81f13709 Add new messages about win16 memory models 1 månad sedan
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 år sedan
ppcgen b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 5 månader sedan
riscv 62236ec2bb * proper naming 4 månader sedan
riscv32 f65994ddcb + RiscV: flags for crypotography extensions 4 månader sedan
riscv64 d6825a3561 * cleanup 4 månader sedan
sparc 5e00358f13 + cs_opt_consts for sparc 1 år sedan
sparc64 1fa83a91ab + cs_opt_consts for sparc64 1 år sedan
sparcgen c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
systems ad6e9049ed Force usage of ld.lld for x86_64-openbsd system, because ld.bfd generates invalid executable which SIGSEGV at exit 2 månader sedan
utils f635354042 Allow more than 255 registers. 1 månad sedan
wasm32 6724e3dec8 Add tsym parameter to ttgobj.getlocal method. 2 månader sedan
x86 90685b3b5d * x86: MOV/AND optimisations now check for the flags being in use 1 vecka sedan
x86_64 9d55e3aa0e * x86: Fixed bug where XMM7 wasn't used by the register allocator 1 månad sedan
xtensa c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
z80 c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 4 månader sedan
.gitignore e14692f594 git ignore msg2inc binary 2 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 år sedan
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 år sedan
Makefile 21e13f0c2c Regenerate all Makefile's after: Change resource string extension variable RSTEXT to '.rsj' 3 månader sedan
Makefile.fpc 71ec7a94d1 Add x86_64-openbsd to LLVM supported list 2 månader sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 år sedan
aasmcnst.pas 754c40cdb0 tai_string: remove useless #0 terminators 4 månader sedan
aasmdata.pas 835375e7e0 * properly fix #41161 3 månader sedan
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 år sedan
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 år sedan
aasmtai.pas 754c40cdb0 tai_string: remove useless #0 terminators 4 månader sedan
aggas.pas 08b7d2ffdb Discard ait_symbol_end if tai_symbol_end(hp).sym.is_used is false 2 månader sedan
aopt.pas b20f968454 * simple clean ups after dyn. array conversion 4 månader sedan
aoptbase.pas 32d0531c71 * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 9 månader sedan
aoptda.pas b1dff29cbf * removed unused units 8 år sedan
aoptobj.pas 07a2c6b37e * Replace labeltable with dynamic array 4 månader sedan
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 år sedan
assemble.pas 25e955b6e4 * source linebuf as dyn array 4 månader sedan
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 år sedan
browcol.pas b810e6d5cf Symbol browser consolidate units 1 vecka sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
ccharset.pas c74c4ad9ad * Use dynamic array instead of pointer for character map 4 månader sedan
cclasses.pas 04a31f8be2 Avoid range error in tbitset.clear method 4 månader sedan
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 år sedan
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
cfileutl.pas 87d4c18992 Every compile gets actual current directory (fix for Textmode IDE) 6 månader sedan
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
cgbase.pas 8a836ccafc Support for tmmreg. 1 månad sedan
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
cghlcpu.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 5 månader sedan
cgobj.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 5 månader sedan
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 år sedan
cmsgs.pas 1547f28a40 * Use dynamic arrays for compiler messages 4 månader sedan
comphook.pas cd1251bf00 * Flush output in case of redir 2 månader sedan
compiler.pas 51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 1 år sedan
compinnr.pas 2c5a070959 + random bits for quad support on RiscV 7 månader sedan
comprsrc.pas 44282acecb * Allow to process .fmx files just as .lfm/.dfm files 6 månader sedan
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 år sedan
constexp.pas 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 8 månader sedan
cprofile.pas 6612bb4434 * proper naming 5 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 år sedan
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 år sedan
ctask.pas 564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 1 år sedan
cutils.pas 6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 6 månader sedan
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 år sedan
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 år sedan
dbgdwarf.pas 51b9f31f7c * Dwarf 3+: write always a type for enums 3 månader sedan
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 år sedan
dbgstabs.pas a401898139 * spelling fixes 3 år sedan
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 år sedan
defcmp.pas 9de0025394 * fix #41074: adjust conversion level of class/interface to pointer and class to interface conversions so that sub class to class conversions take precedence 7 månader sedan
defutil.pas 470e3b9448 Modify is_inlimit function to use setlow instead of setbase field 2 månader sedan
dirparse.pas 7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 11 månader sedan
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 år sedan
elfbase.pas 245b58c249 + support for arm attributes 5 år sedan
entfile.pas b58469a7bd * Change pchar to dynamic array of ansichar 4 månader sedan
export.pas 2f1ccd6f2a + support 'promising last' exports 2 år sedan
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 år sedan
finput.pas 166a24ae77 * Use dyn array of char for macro contents 4 månader sedan
fmodule.pas cc81e56eb2 * Use linear mechanism to check whether function types were emitted 3 månader sedan
fpcdefs.inc c07da2a654 * typo 4 månader sedan
fpchash.pas 0e0c4bd621 * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 10 månader sedan
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 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas f372eb8a33 Other improvements and fixes for PPU debug code 3 månader sedan
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) 9 månader sedan
globals.pas eb5c61281c + take care of asmmode in $push/$pop, resolves #41190 4 månader sedan
globstat.pas 9cc30829fa * Restore messages state 1 år sedan
globtype.pas 859b100da6 * Convert symversions to dyn array of word 4 månader sedan
hlcg2ll.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 5 månader sedan
hlcgobj.pas 5d72473ca1 * Removed random call to "printnode" at internal error 2011010418 3 veckor sedan
htypechk.pas 36e9e39bca * allow type casted pointer constants being used as arrays which address can be takes, resolves #41177 4 månader sedan
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 år sedan
import.pas b1dff29cbf * removed unused units 8 år sedan
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 år sedan
link.pas 6314d69c40 * Correct allocation size for IsHandled, index is 1-based 4 månader sedan
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
nadd.pas e1509e1c6d Use setlow field of tsetdef class to generate new set typedef in set add node 2 månader sedan
nbas.pas 9077954762 * "no_exit_statement_in_block" replaced with "not has_child_of_type(..., [exitn])" 9 månader sedan
ncal.pas f672d4cccf * constref does not mean that a variable is written, resolves #41206 3 månader sedan
ncgadd.pas 0f39633acc * generic second_addordinal can handle swapped nodes 11 månader sedan
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 år sedan
ncgcal.pas e237da95d2 * most of tcgcallparanode.secondcallparan's code was moved into two new methods: 5 månader sedan
ncgcnv.pas 7d0ef33766 * avoid to call a_loadmm_reg_intreg for mm registers larger than the int registers, resolves #41252 2 månader sedan
ncgcon.pas 0610d691b6 Avoid adding size if tf_needs_symbol_size is not in target_info.flags 2 månader sedan
ncgflw.pas 6724e3dec8 Add tsym parameter to ttgobj.getlocal method. 2 månader sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas 99b71eafda * simplified code 5 månader sedan
ncgld.pas 6c4d218b8d * use for threadvars on RiscV always the size optimization code path as loading addresses is expensive 4 månader sedan
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
ncgmem.pas 2b9455e262 * Fixed internal error 200411013 when typecasting and dereferencing nil into an array 5 månader sedan
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 år sedan
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 år sedan
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 år sedan
ncgobjc.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
ncgopt.pas b1dff29cbf * removed unused units 8 år sedan
ncgrtti.pas 5c4db7dbca Extended RTTI: more Objective-C handling 7 månader sedan
ncgset.pas cba0ca490e * genlinearlist and genlinearcmplist for case blocks now allocate the flags properly 3 månader sedan
ncgutil.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
ncgvmt.pas 547fa426c7 Fix emit_ansistr_const: its input is not guaranteed to be #0-terminated 4 månader sedan
ncnv.pas e8b6075311 * another internal error 99080501 fixed, resolves #41299 1 månad sedan
ncon.pas de46b06f27 * fix 32 bit => 64 bit cross compilation, resolves #41626 2 månader sedan
nflw.pas 0417504d12 Adding for-in loop iteration over slices 1 vecka sedan
ngenutil.pas f9fbbd4a88 Do not set alignment above varalignmax, as this breaks msdos/win16 targets 2 månader sedan
ngtcon.pas 547fa426c7 Fix emit_ansistr_const: its input is not guaranteed to be #0-terminated 4 månader sedan
ninl.pas b49d2f689f * Replaced Illegal Expression error with Internal Error for 2 månader sedan
nld.pas 4cae231a52 * dont' allow assignments to array of const, resolves #41230 3 månader sedan
nmat.pas f29ff58ab9 + get_int_value 1 år sedan
nmem.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
nobj.pas c3a3cfe80f * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 1 år sedan
nobjc.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
node.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 år sedan
nset.pas 4d732b44d4 * correctly calculate the number of labels of a c boolean in case statemnts, resolves #41025 8 månader sedan
nutils.pas d87ba06608 * improve complexity calculation for tempref nodes 5 månader sedan
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 år sedan
objcgutl.pas 547fa426c7 Fix emit_ansistr_const: its input is not guaranteed to be #0-terminated 4 månader sedan
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 2 år sedan
ogbase.pas a74a4aca03 Avoid range check error in TObjData.writebytes overloads using dynamic arrays 4 månader sedan
ogcoff.pas 30c06d66c3 * Dyn array for FSecTbl and FSymTbl 4 månader sedan
ogelf.pas 859b100da6 * Convert symversions to dyn array of word 4 månader sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 år sedan
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
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 år sedan
ogrel.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
ogwasm.pas d2926867d6 * Reduce object size, use ansistring. Results in faster compilation, less memory usage 3 månader sedan
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 år sedan
optconstprop.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 10 månader sedan
optcse.pas 84a852bc13 * more aggressive cse on thread vars 4 månader sedan
optdead.pas b1dff29cbf * removed unused units 8 år sedan
optdeadstore.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 10 månader sedan
optdfa.pas 81d24975f0 * properly take care of tempinitcode when calculating def./use. sums of tempcreate nodes 8 månader sedan
options.pas f3311d9576 Check memory model for i8086-win16 system use large memory model by default 1 månad sedan
optloadmodifystore.pas 0cb047230f Fix cycle for non-LLVM 1 månad sedan
optloop.pas 9d94ccdc38 * set types of start value calculation correctly when doing strength reduction, resolves #41054 7 månader sedan
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 år sedan
optutils.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 9 månader sedan
optvirt.pas 540807c5c8 WPO: don't crash on TP-style objects with only abstract virtual methods 7 månader sedan
owar.pas 2cd92ee792 * Dyn array for ReadArchive variables 4 månader sedan
owbase.pas ec3ed04b73 * Change buffer to dyn array 4 månader sedan
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 år sedan
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 år sedan
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
parser.pas d3a0a2dddf * Call free instead of destroy 4 månader sedan
pass_1.pas d3a0a2dddf * Call free instead of destroy 4 månader sedan
pass_2.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
pbase.pas 6ac14de986 * Properly handle finish state 1 år sedan
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 år sedan
pdecl.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
pdecobj.pas f971398f47 * throw an error if a second forward type declaration is found at the place of this second 3 månader sedan
pdecsub.pas cae21c4410 * don't crash on external generic subroutines, resolves #41330 1 vecka sedan
pdecvar.pas b6a686930a * allow absolute on array of const parameters, resolves #41292 1 månad sedan
pexports.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
pexpr.pas d3a0a2dddf * Call free instead of destroy 4 månader sedan
pgentype.pas 4e1c9aa1df * Reduce memory usage of tspecializationcontext 3 månader sedan
pgenutil.pas 4b5c6ba3fc * Fix tgenconst13 4 månader sedan
pinline.pas d3a0a2dddf * Call free instead of destroy 4 månader sedan
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 år sedan
pmodules.pas 22d7033d18 * Attributes for methods. Fixes issue 41001 9 månader sedan
pp.lpi 867786c953 * update version 5 år sedan
pp.pas 2a6fb32974 * don't use $MINSTACKSIZE and $MAXSTACKSIZE on non-Windows instead of disabling the warning 7 månader sedan
pparautl.pas 4a4eadc60e * throw an error if varargs is used without appropriate calling conventions, resolves #40342 1 år sedan
ppc68k.lpi 8192bf1b33 * version update 4 år sedan
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ppcaarch64.lpi a816fc2114 * update project file 1 år sedan
ppcarm.lpi 7909f00c83 * project files updated 2 år sedan
ppcavr.lpi 7909f00c83 * project files updated 2 år sedan
ppcjvm.lpi 9792ef566f * Undo changes to lpi files, committed by accident 4 månader sedan
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 år sedan
ppcmips.lpi 7909f00c83 * project files updated 2 år sedan
ppcmips64el.lpi 7909f00c83 * project files updated 2 år sedan
ppcmipsel.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc64.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc64le.lpi 7909f00c83 * project files updated 2 år sedan
ppcriscv32.lpi 7909f00c83 * project files updated 2 år sedan
ppcriscv64.lpi 7909f00c83 * project files updated 2 år sedan
ppcsparc.lpi 7909f00c83 * project files updated 2 år sedan
ppcsparc64.lpi 7909f00c83 * project files updated 2 år sedan
ppcwasm32.lpi 9792ef566f * Undo changes to lpi files, committed by accident 4 månader sedan
ppcx64.lpi e0aed719ed * Do not enable new debug define 4 månader sedan
ppcx64llvm.lpi 7909f00c83 * project files updated 2 år sedan
ppcxtensa.lpi 7909f00c83 * project files updated 2 år sedan
ppcz80.lpi 7909f00c83 * project files updated 2 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas 5462dd388b * store lower set bound in a setdef 2 månader sedan
procdefutil.pas 155756f668 * if an outer capturer is required then that outer capturer must not be optimized into a register (fixes compilation with -Ooregvar enabled (e.g. in -O3)) 7 månader sedan
procinfo.pas ab5c5a7e9a * also keep track of captured def (necessary when functions are captured) 1 år sedan
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
pstatmnt.pas eb5c61281c + take care of asmmode in $push/$pop, resolves #41190 4 månader sedan
psub.pas 18f2553e8e * throw proper error if no suitable NewInstance method is found, resolves #41274 1 månad sedan
psystem.pas 7f4b2f63b3 Switch from functions for the Atomic*-family to intrinsics 7 månader sedan
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 år sedan
ptype.pas bbecb015c9 * Avoid access violation. Use internal error instead 3 månader sedan
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
rabase.pas 328e60c155 * Use new and dispose for asmmodeinfos 4 månader sedan
rasm.pas 46fe2d486c * forgotten comment 7 år sedan
rautils.pas e749c81040 Disable limitation of nonlocal setting for LLVM compiler 5 månader sedan
rescmn.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 år sedan
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 år sedan
rgobj.pas 994ebf55ec * Added missing "ait_tempalloc" to 7a4dbdc5 commit 1 månad sedan
scandir.pas 91be179377 read user-defined compiler messages in source codepage 1 vecka sedan
scanner.pas 91be179377 read user-defined compiler messages in source codepage 1 vecka sedan
switches.pas eb5c61281c + take care of asmmode in $push/$pop, resolves #41190 4 månader sedan
symbase.pas 1e9e533e6c * Replace object with record where possible 1 år sedan
symconst.pas 05b73f1523 Postponing building of VMT until inheritance chain is specialized 8 månader sedan
symcreat.pas 5f215e8126 LLVM: always added related high parameters to parentfpstruct 1 månad sedan
symdef.pas d8682f36b9 + comments to explain difference between setbase and setlow 2 månader sedan
symsym.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
symtable.pas 166a24ae77 * Use dyn array of char for macro contents 4 månader sedan
symtype.pas f372eb8a33 Other improvements and fixes for PPU debug code 3 månader sedan
symutil.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 4 månader sedan
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 år sedan
systems.inc c515d45026 + added new target to the compiler: wasm32-wasip2. Not working, yet. 4 månader sedan
systems.pas c515d45026 + added new target to the compiler: wasm32-wasip2. Not working, yet. 4 månader sedan
tgobj.pas 6724e3dec8 Add tsym parameter to ttgobj.getlocal method. 2 månader sedan
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 år sedan
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 år sedan
verbose.pas 1547f28a40 * Use dynamic arrays for compiler messages 4 månader sedan
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 2 år sedan
wasmbase.pas ffd461860b + added extra values to TWasmNameSubsectionType from the extended name section 10 månader sedan
widestr.pas fb04659eb9 Fix previous commit 105382b8 by setting Temp to zero if maxi is zero 3 månader sedan
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 år sedan
wpobase.pas 98f6c64f82 * Write byte dyn array 4 månader sedan
wpoinfo.pas f7edf0355a * Change pointer-to-array of deref to dynamic array 4 månader sedan

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