pierre 96ac7f29f7 Only try to use softfpu functions when fputype is fpu_soft 5 years ago
..
aarch64 792eafadef * properly calc new src register for OP_XOR 5 years ago
arm 96ac7f29f7 Only try to use softfpu functions when fputype is fpu_soft 5 years ago
armgen ec3fe2f990 Fix overflow when value is high(int64) in OptPass1And method 5 years ago
avr 37a3b542e6 * avr: patch by Christo Crause: replace findreg_by_gasname with gas_regname_table, resolves #37131 5 years ago
generic 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
html fa0d3d79e0 no message 23 years ago
i386 afb68dbcf3 * factored out OptPass1VPXor 5 years ago
i8086 92043c6e20 * call inherited in tcg64f8086.a_op64_reg_ref for OP_NEG and OP_NOT, because it is handled differently after r45302 5 years ago
jvm 84a1f614d9 * fix several double ; 5 years ago
llvm 4caa471a24 * implemented a_load_undefined_cgpara for LLVM, fixes LLVM code generator 5 years ago
m68k 58af742f3a m68k: atari syscalls might also destroy D2 and A2 5 years ago
mips 9710b2cbb4 + some basic stuff for mips64el 5 years ago
msg a423bf6402 * fix -Agas-darwin to say Aas-darwin for x86-64, and also add it for i386 5 years ago
powerpc a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
powerpc64 84a1f614d9 * fix several double ; 5 years ago
ppcgen 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
riscv 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
riscv32 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 years ago
riscv64 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 years ago
sparc a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
sparc64 a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
sparcgen a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
systems 58dcbab10e * (modified) patch by Michael Ring from the mailing list to fix linking for arm-freertos 5 years ago
utils 3655c46982 * clean up 5 years ago
x86 3caacc529a * fix abs() intrinsic optimisation, resolves #37301 5 years ago
x86_64 84a1f614d9 * fix several double ; 5 years ago
xtensa 91149df87f * patch by Christo Crause: fix volatile registers for call0 abi, resolves #37317 5 years ago
z80 cc23515927 z80: vasm doesn't support the JRJP pseudo instruction, so change it to JP during write 5 years ago
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 years ago
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 years ago
Makefile b72419e2a5 * regenerated 5 years ago
Makefile.fpc 72f6752b1c + add intrdat target 5 years ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 years ago
aasmbase.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 years ago
aasmcnst.pas 1df56495b7 * fix a typo in a comment. no functional change 5 years ago
aasmdata.pas e56b58c2b0 * factored out checks whether a procdef's symbol needs to be global, and 6 years 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 84a1f614d9 * fix several double ; 5 years ago
aggas.pas f71415a2de Extend ait_ua_elf_const2str to all aitconst_XXX to fix mips/mipsel RTTI generation 5 years ago
aopt.pas c7b19e2fc9 * track used register better: if a deallocation is moved/removed, the used register may not be removed from the current register used register set 5 years ago
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 years ago
aoptda.pas b1dff29cbf * removed unused units 8 years ago
aoptobj.pas edcc14a5ce * Z80: JR can be both conditional and uncoditional jump, just like JP 5 years ago
aoptutils.pas 7e6eeebdf0 o patch by J. Gareth Moreton, seeks to improve maintainability, safety and efficiency 5 years ago
assemble.pas 3e29742fd9 * for PE+ specific checks use a constant in systems.pas instead of an explicit list (easier to extend this way) 5 years ago
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 6 years ago
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 years 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 872c22842e * do prefetching correctly 5 years ago
cepiktimer.pas 404c6e0c15 + forgotten file 5 years ago
cfidwarf.pas 0fbd418cb7 * generate CFI data only if we're either using it for exception handling or if debug output is enabled (or should this only be generated for targets that in theory support DWARF exception handling?). This removes unnecessary bloat from e.g. Windows binaries 5 years ago
cfileutl.pas 6483b3f5e3 * fixed opt-in sysroot substitution again, renamed the three-argument version 5 years ago
cg64f32.pas 0f6ab0de17 * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign 5 years ago
cgbase.pas cb11e2568d + Xtensa: patch by Christo Crause to add optional MAC16 registers, resolves #37130 5 years ago
cgexcept.pas 84a1f614d9 * fix several double ; 5 years ago
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 years ago
cgobj.pas 0f6ab0de17 * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign 5 years ago
cgutils.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
comphook.pas be0054eeb4 * fixed output of line numbers/columns with -vR 5 years ago
compiler.pas 84e36cce0f * fix morphos info unit name after r44454 5 years ago
compinnr.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic 5 years ago
comprsrc.pas e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin 7 years ago
constexp.pas 8306c7ca79 Fix cycle with -CriotR option on aarch64-linux 5 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 d8903ce6b3 - removed maxcrecordalign parameter/field from recordsymtables, as this value 6 years ago
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 7 years ago
cstreams.pas a578993234 * partial fix for Mantis #35346: more "inline" directives for TCStream and TCMemoryStream methods 6 years ago
cutils.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 years ago
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. 5 years ago
dbgcodeview.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
dbgdwarf.pas 1201cc024e * Add riscv-embedded to targets that don't support non-constant leb128's. 5 years ago
dbgstabs.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
defcmp.pas 52678562e3 * correctly handle selection between Single and Double overloads for Currency 5 years ago
defutil.pas 51da470757 * constrained type parameters are not undefined defs, resolves #37107 5 years ago
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 years ago
dwarfbase.pas 6817cea33b + missing unit 6 years ago
elfbase.pas 245b58c249 + support for arm attributes 5 years ago
entfile.pas 0fc1ba26f8 * compilation fixed 5 years ago
export.pas b1dff29cbf * removed unused units 8 years ago
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 years ago
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton 6 years ago
fmodule.pas 84a1f614d9 * fix several double ; 5 years ago
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 years ago
fpcdefs.inc 9710b2cbb4 + some basic stuff for mips64el 5 years ago
fpcp.pas 0b61b5d4cf * added extra header to ppu inside a subsection, so we won't run into 6 years ago
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 years ago
fppu.pas 84dc6621cb * have the module keep track whether it was loaded from a PPU with a different endianess than the current host system 5 years ago
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 years ago
globals.pas 784237ee33 * tcputype.cpu_z80 renamed .cpu_zilog_z80 5 years ago
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 years ago
globtype.pas 4e1e35aef5 * Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para. 5 years ago
hlcg2ll.pas 0f6ab0de17 * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign 5 years ago
hlcgobj.pas b7ef93030a * set mm register subreg properly when cleaning them with xor 5 years ago
htypechk.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years 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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 years ago
link.pas a0e2cd3638 * use qword instead of aword for bsssize to avoid 8-bit truncation on Z80 5 years 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
msgidx.inc cc7b6d0b05 * regenerated message files 5 years ago
msgtxt.inc cc7b6d0b05 * regenerated message files 5 years ago
nadd.pas 5f118da600 * optimize a/a and a-a if fast math is on 5 years ago
nbas.pas 62c417c8bf * temporarily fix #37034 by disabling the problematic optimization until the real cause is fixed 5 years ago
ncal.pas e63c03125a * Reworked tprocdef.is_implemented to fix a bug with the parentfp optimization. The bug was detected when using the llvm backend. 5 years ago
ncgadd.pas ce598c15ec * factored out the conditions under which add nodes need to perform 6 years ago
ncgbas.pas 2f4390ac9b + added Z80 inline asm instruction validation 5 years ago
ncgcal.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 5 years ago
ncgcnv.pas ba3de67f3b + Xtensa: the boolean extension is used as flags 5 years ago
ncgcon.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
ncgflw.pas fc44c2d4c9 + insert alignments after break/goto/exit/continue jmp instructions, if it is 5 years ago
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 years ago
ncginl.pas 0f6ab0de17 * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign 5 years ago
ncgld.pas 8f91920c9b * use the fpu on suitable x86 targets to copy extended values 5 years ago
ncgmat.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 years ago
ncgmem.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 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 4ba19f5418 * add support for creating non-address-only procvars to 5 years ago
ncgset.pas 8fd0a27875 Avoid range check error for avr/i8086 CPU by changing local variable dist type to asizeuint 6 years ago
ncgutil.pas a2303bd899 * fixed copy&paste error of r45658 5 years ago
ncgvmt.pas 068f0d2ec8 * fix for Mantis #36935: apply patch by J. Gareth Moreton to fix a typo in cs_opt_remove_empty_proc 5 years ago
ncnv.pas eaa2a2006c * fix for Mantis #37272: also allow the empty set for dynamic array parameters; Delphi probably started to allow that together with array constructors. 5 years ago
ncon.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
nflw.pas 55c1ecedac * set implicitframe for copied tryfinally nodes as well 5 years ago
ngenutil.pas 921e73ab0c + add compiler support for the Z80 MSX-DOS target 5 years ago
ngtcon.pas 4ba19f5418 * add support for creating non-address-only procvars to 5 years ago
ninl.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic 5 years ago
nld.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 5 years ago
nmat.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
nmem.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 5 years ago
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to 5 years ago
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
node.pas 792cf056eb * a nil node is also a constant pointer node 5 years ago
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
nset.pas 84a1f614d9 * fix several double ; 5 years ago
nutils.pas 8738b4b47f + might_have_sideeffects checks also if the tempinitcode of a tempref node might have side effects 5 years ago
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 years ago
objcdef.pas b1dff29cbf * removed unused units 8 years ago
objcgutl.pas 84a1f614d9 * fix several double ; 5 years ago
objcutil.pas b1dff29cbf * removed unused units 8 years ago
ogbase.pas 47ba80a545 * the len parameter of TObjData.writebytes changed to TObjSectionOfs to avoid 8-bit truncation on Z80 5 years ago
ogcoff.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogelf.pas 245b58c249 + support for arm attributes 5 years 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 a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 years ago
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogomf.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogrel.pas e41912b076 * limit the ZX Spectrum programs address space up to $FDFC, because the RTL now 5 years ago
omfbase.pas e0041a8244 * compilation of x86 and PowerPC fixed 5 years ago
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 years ago
optconstprop.pas e350264db1 + propagate constants across call nodes 5 years ago
optcse.pas 851accbb4b * cse adjusted 5 years ago
optdead.pas b1dff29cbf * removed unused units 8 years ago
optdeadstore.pas 3947922fea * set nf_* correctly when an inc/dec node is converted into an add/sub node 5 years ago
optdfa.pas 3c18dee694 * take care of for loop counter read after loop 5 years ago
options.pas 5ad02a3799 + Xtensa: more cpu capabilites 5 years ago
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version 8 years ago
optloop.pas aca9727418 + OptimizeForLoop: convert for-loops into zero-based backward for-loops if possible, for most architectures, this results in simpler code 5 years ago
opttail.pas 9a42625cfb * also allow by-value open array parameters for the tail recursion optimization 5 years ago
optutils.pas aabd7c7217 * more fixes for loop strength reduction 5 years ago
optvirt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years 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 e49025a086 More -CriotR fixes: 6 years ago
parabase.pas b777dc21d7 * fix PowerPC compilation 5 years ago
paramgr.pas 4e1e35aef5 * Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para. 5 years ago
parser.pas 3db08d28e9 Set default stack size for i8086-embedded target: 16384 for far data model, and 2048 for other memory models 5 years ago
pass_1.pas 6f6598712f * synchronized with trunk 5 years ago
pass_2.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
pbase.pas 24c4b90343 * instead of declaring another type with a 'attribute' suffix, *search* for another type with a 'ATTRIBUTE' suffix (Delphi allows declaring both a TFoo and TFooAttribute in the same unit) 6 years ago
pcp.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
pdecl.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
pdecobj.pas 04a50733ad * get rid of the scanner message for attributes for real this time (sometimes I *really* hate Git -.-) 6 years ago
pdecsub.pas 56fdba2c9b * partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption 5 years ago
pdecvar.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
pexports.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
pexpr.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic 5 years ago
pgentype.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
pgenutil.pas ff295bf349 * delay setting of pd_body and pd_implement till the header of a generic 5 years ago
pinline.pas 3cb341eabc * ensure that dispose(managed_ptr) does not result in multiple evaluations of 5 years ago
pkgutil.pas 84a1f614d9 * fix several double ; 5 years ago
pmodules.pas 40633835dc * Windows on Aarch64 requires a relocation section 5 years ago
pp.lpi fe99252a9b * lazarus version update 6 years ago
pp.pas 0a62e6040b Reorder and complete list of supported CPUs 5 years ago
pparautl.pas febeef03e4 * for adding procdefs to forwarddefs check for the specialization flag instead of whether it's a full specialization; fixes implicit finalization handlers on x86_64-win64 not being found 5 years ago
ppc68k.lpi 9ebf2aa984 * project file updates 13 years ago
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 years ago
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 5 years ago
ppcavr.lpi b9d4240a8d + version update 7 years ago
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 years ago
ppcmips.lpi 9ebf2aa984 * project file updates 13 years ago
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el 5 years ago
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 years ago
ppcppc.lpi 18a45d94a3 * version update 6 years ago
ppcppc64.lpi 9ebf2aa984 * project file updates 13 years ago
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 years ago
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 years ago
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 years ago
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 years ago
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic 7 years ago
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 years ago
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project 5 years ago
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project 5 years ago
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 years ago
ppu.pas 871f60ef61 * increase PPU version so that 3.2.0 correctly ignores 3.3.1 PPUs instead of fatally failing on the extended header entry 5 years ago
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef 5 years ago
procinfo.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 5 years ago
psabiehpi.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 years ago
pstatmnt.pas 2b7d9c5a1f * also handle single character register names (needed on Z80 for example) 5 years ago
psub.pas e63c03125a * Reworked tprocdef.is_implemented to fix a bug with the parentfp optimization. The bug was detected when using the llvm backend. 5 years ago
psystem.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic 5 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 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 years ago
raatt.pas a7c0fa0def o patch for Xtensa by Christo Crause, resolves #37099 5 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 80111a0a60 * make local variables in assembler blocks working again after r44933 5 years ago
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 years ago
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 years ago
rgobj.pas 40a6059143 Modify code to avoid error when compiling with -CriotR option 5 years ago
scandir.pas 8d18c1792e * fixed {$unitpath xxx} directive with absolute paths 5 years ago
scanner.pas bd01182ff0 * add support for AND, OR, XOR and NOT of integer values in preprocessor directives (Delphi allows that as well) 5 years ago
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 years ago
symbase.pas 6edf6cad2c * also check for Nil symtables in tsymtable.includeoption 5 years ago
symconst.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
symcreat.pas a2174753c1 - removed tabstractrecorddef.get_unit_symtable, which did not always return the unit 5 years ago
symdef.pas f94518a9ae * fix typo (no code changes) 5 years ago
symsym.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
symtable.pas 84a1f614d9 * fix several double ; 5 years ago
symtype.pas a2174753c1 - removed tabstractrecorddef.get_unit_symtable, which did not always return the unit 5 years ago
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 years ago
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 8 years ago
systems.inc 12cb72893d Obsolete system_mips_embedded, as it is a duplicate of system_mipseb_embedded 5 years ago
systems.pas 12cb72893d Obsolete system_mips_embedded, as it is a duplicate of system_mipseb_embedded 5 years ago
tgobj.pas 30a4f667c1 tgobj: Change direction of stack. 5 years ago
tokens.pas bc3131688a * fix precedence of IS operator, resolves #35909 5 years ago
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
version.pas 8ef29235c3 * Xtensa: set source_cpu_string 5 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 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 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