yury 39c48f0d01 * Fixed r43577 for cases when the size of the new result of a simplified node after typecheckpass is smaller than the size of the original node's result. This caused internal errors or invalid assembly in some cases. Issue #36587. 5 سال پیش
..
aarch64 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
arm 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
armgen 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 سال پیش
avr 2135b9b724 * for avr1, do not save registers during an interrupt procedure, as it has no memory to store them 5 سال پیش
generic 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 سال پیش
html fa0d3d79e0 no message 23 سال پیش
i386 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
i8086 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
jvm 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
llvm 254b85c352 + new pio_inline_forbidden flag to indicate that while parsing the 5 سال پیش
m68k 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
mips 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
msg 2135b9b724 * for avr1, do not save registers during an interrupt procedure, as it has no memory to store them 5 سال پیش
powerpc 6b47d9d9ed * safecall support is meanwhile generic, so enabled for all linux targets 5 سال پیش
powerpc64 6b47d9d9ed * safecall support is meanwhile generic, so enabled for all linux targets 5 سال پیش
ppcgen 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
riscv 2678522db5 - RISC-V: Add controller types for common RV32 MCUs. 5 سال پیش
riscv32 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
riscv64 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
sparc ef87879402 * common naming for fpu_none string 5 سال پیش
sparc64 592df7fa59 * disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does 5 سال پیش
sparcgen 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
systems 36058ca4d4 * based on a patch by Christo Crause: more compiler fixes for avrtiny, resolves #36646 5 سال پیش
utils 254b85c352 + new pio_inline_forbidden flag to indicate that while parsing the 5 سال پیش
x86 e7d2c93ca7 * patch by J. Gareth Moreton: deadstore removal improvement, resolves #36669 5 سال پیش
x86_64 993144b91b * patch by J. Gareth Moreton: x86 SUB and LEA optimisations, resolves #36622 5 سال پیش
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 سال پیش
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 سال پیش
Makefile 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
Makefile.fpc 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 سال پیش
aasmbase.pas 245b58c249 + support for arm attributes 5 سال پیش
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 سال پیش
aasmcnst.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
aasmdata.pas e56b58c2b0 * factored out checks whether a procdef's symbol needs to be global, and 6 سال پیش
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 ac1e0f96bd * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 5 سال پیش
aggas.pas 40bbb28fd2 * do not write section flags/progbits for .data, .rodata .data.norel as the compiler will ignore them anyways and warn about it 5 سال پیش
aopt.pas 872c22842e * do prefetching correctly 5 سال پیش
aoptbase.pas 872c22842e * do prefetching correctly 5 سال پیش
aoptda.pas b1dff29cbf * removed unused units 8 سال پیش
aoptobj.pas 991ce83a2b * patch by J. Gareth Moreton: conditional Jump Inversion stoploop variable, resolves #36680 5 سال پیش
aoptutils.pas 7e6eeebdf0 o patch by J. Gareth Moreton, seeks to improve maintainability, safety and efficiency 5 سال پیش
assemble.pas 245b58c249 + support for arm attributes 5 سال پیش
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 5 سال پیش
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 سال پیش
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 سال پیش
ccharset.pas cb44d7d4e2 * some cleanup 5 سال پیش
cclasses.pas 872c22842e * do prefetching correctly 5 سال پیش
cepiktimer.pas 404c6e0c15 + forgotten file 5 سال پیش
cfidwarf.pas 6f434b6751 * AVR: fixed TDwarfAsmCFILowLevel.generate_initial_instructions 5 سال پیش
cfileutl.pas 6483b3f5e3 * fixed opt-in sysroot substitution again, renamed the three-argument version 5 سال پیش
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 سال پیش
cgbase.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
cgexcept.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 سال پیش
cgobj.pas b7c6e01b03 * cleaning up tcgsize: it makes no sense to declare every combination and type 5 سال پیش
cgutils.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 سال پیش
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 سال پیش
comphook.pas be0054eeb4 * fixed output of line numbers/columns with -vR 5 سال پیش
compiler.pas 576a50f690 * print used unit scopes 7 سال پیش
compinnr.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
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 سال پیش
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 سال پیش
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 سال پیش
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 d8903ce6b3 - removed maxcrecordalign parameter/field from recordsymtables, as this value 6 سال پیش
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 7 سال پیش
cstreams.pas a578993234 * partial fix for Mantis #35346: more "inline" directives for TCStream and TCMemoryStream methods 6 سال پیش
cutils.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 سال پیش
dbgbase.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
dbgcodeview.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
dbgdwarf.pas 1201cc024e * Add riscv-embedded to targets that don't support non-constant leb128's. 5 سال پیش
dbgstabs.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 سال پیش
dbgstabx.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
defcmp.pas fd20dc1086 * support unique copies of currencies which are handles by torddef, resolves #36013 6 سال پیش
defutil.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 سال پیش
dwarfbase.pas 6817cea33b + missing unit 6 سال پیش
elfbase.pas 245b58c249 + support for arm attributes 5 سال پیش
entfile.pas 45ffa40b71 * Removed inline since it is not supported with open array parameters. 5 سال پیش
export.pas b1dff29cbf * removed unused units 8 سال پیش
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 سال پیش
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton 6 سال پیش
fmodule.pas 84dc6621cb * have the module keep track whether it was loaded from a PPU with a different endianess than the current host system 5 سال پیش
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 سال پیش
fpcdefs.inc 6b47d9d9ed * safecall support is meanwhile generic, so enabled for all linux targets 5 سال پیش
fpcp.pas 0b61b5d4cf * added extra header to ppu inside a subsection, so we won't run into 6 سال پیش
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 سال پیش
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 سال پیش
gendef.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
globals.pas c477816100 - removed LLVM support for clang < 7.0 and Xcode < 10.0: those versions 5 سال پیش
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 سال پیش
globtype.pas b625afe800 * never inline routines that call get_frame (otherwise get_frame would return 5 سال پیش
hlcg2ll.pas 73c8861929 * suppress warning for targets without MM registers 6 سال پیش
hlcgobj.pas 3de193467d * reverted r44119 5 سال پیش
htypechk.pas 9bd7401ce9 * comment fixed 5 سال پیش
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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 سال پیش
link.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
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 2135b9b724 * for avr1, do not save registers during an interrupt procedure, as it has no memory to store them 5 سال پیش
msgtxt.inc 2135b9b724 * for avr1, do not save registers during an interrupt procedure, as it has no memory to store them 5 سال پیش
nadd.pas 39c48f0d01 * Fixed r43577 for cases when the size of the new result of a simplified node after typecheckpass is smaller than the size of the original node's result. This caused internal errors or invalid assembly in some cases. Issue #36587. 5 سال پیش
nbas.pas 9dd25d836d * include ti_nofini in tempinfostoreflags 5 سال پیش
ncal.pas 1993c5d1ef * cosmetics 5 سال پیش
ncgadd.pas ce598c15ec * factored out the conditions under which add nodes need to perform 6 سال پیش
ncgbas.pas f2a8b8ad6a * adapt register if the size of the paraloc and the register differ, resolves #34409 5 سال پیش
ncgcal.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
ncgcnv.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
ncgcon.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
ncgflw.pas fc44c2d4c9 + insert alignments after break/goto/exit/continue jmp instructions, if it is 5 سال پیش
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 سال پیش
ncginl.pas 6c71fd461d * avoid internalerror for dec/inc(...,v) with v>high(int64), resolves #35298 5 سال پیش
ncgld.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
ncgmat.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
ncgmem.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 سال پیش
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 سال پیش
ncgnstmm.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 سال پیش
ncgobjc.pas b1dff29cbf * removed unused units 8 سال پیش
ncgopt.pas b1dff29cbf * removed unused units 8 سال پیش
ncgrtti.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
ncgset.pas 8fd0a27875 Avoid range check error for avr/i8086 CPU by changing local variable dist type to asizeuint 6 سال پیش
ncgutil.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
ncgvmt.pas 3ced30f816 * apply (adjusted) patch by Blaise.ru: vmtentries is always created since 2008, so treat it as such (also fixes a memory leak in tobjectdef.getcopy) 5 سال پیش
ncnv.pas 9c067709f8 Fix invalid typecast revealed by -CriotR option 5 سال پیش
ncon.pas 4de6b3e6b9 * do not crash when an unsupported code page is encountered, resolves #35581 5 سال پیش
nflw.pas 1486ab7c70 * do not throw a warning about unreachable code if the responsible node was generated internally 5 سال پیش
ngenutil.pas e775ecdc43 * cleaned up safecall support: use a hidden localvarsym instead of result 5 سال پیش
ngtcon.pas d23c7980aa * properly perform (or not) range/overflow checking when performing constant 5 سال پیش
ninl.pas b625afe800 * never inline routines that call get_frame (otherwise get_frame would return 5 سال پیش
nld.pas f6c16323fa * unified loadnf_load_self_pointer into loadnf_load_addr 5 سال پیش
nmat.pas ff919184d8 * restored original behaviour of shl/shr constant evaluation outside 5 سال پیش
nmem.pas 00859420ab * correctly handle reading of class/object pointers in combination with @, resolves #26326 5 سال پیش
nobj.pas 36e32ee607 * more correct method names (based on patch by Blaise.ru) 5 سال پیش
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 سال پیش
node.pas fd0012deff * when copying goto nodes take care if the label node is part of the copied tree 5 سال پیش
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
nset.pas cbec738829 * last commit was not complete/earlier version committed 5 سال پیش
nutils.pas 5a87855b06 + might_have_sideeffects takes care of vo_volatile now (it is not exposed yet) 5 سال پیش
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 سال پیش
objcdef.pas b1dff29cbf * removed unused units 8 سال پیش
objcgutl.pas d8903ce6b3 - removed maxcrecordalign parameter/field from recordsymtables, as this value 6 سال پیش
objcutil.pas b1dff29cbf * removed unused units 8 سال پیش
ogbase.pas 2a1d26cc90 * use translateable error messages for undefined symbols and also report in which object file the symbol was first found 5 سال پیش
ogcoff.pas e5de269664 * change TObjData.sectiontype2options to a class function so that it can be called without an instance of TObjData 5 سال پیش
ogelf.pas 245b58c249 + support for arm attributes 5 سال پیش
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 سال پیش
ogmacho.pas e5de269664 * change TObjData.sectiontype2options to a class function so that it can be called without an instance of TObjData 5 سال پیش
ogmap.pas c6a08cdc6e + add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed 5 سال پیش
ognlm.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 سال پیش
ogomf.pas cb9f569906 * fixed i8086 compilation after r43265 5 سال پیش
omfbase.pas e0041a8244 * compilation of x86 and PowerPC fixed 5 سال پیش
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 سال پیش
optconstprop.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 سال پیش
optcse.pas 851accbb4b * cse adjusted 5 سال پیش
optdead.pas b1dff29cbf * removed unused units 8 سال پیش
optdeadstore.pas b1dff29cbf * removed unused units 8 سال پیش
optdfa.pas 3c18dee694 * take care of for loop counter read after loop 5 سال پیش
options.pas 8de6066b95 + added possibility to list supported modeswitches using -im and documented it in help pages 5 سال پیش
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version 8 سال پیش
optloop.pas aabd7c7217 * more fixes for loop strength reduction 5 سال پیش
opttail.pas 9a42625cfb * also allow by-value open array parameters for the tail recursion optimization 5 سال پیش
optutils.pas aabd7c7217 * more fixes for loop strength reduction 5 سال پیش
optvirt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 سال پیش
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 سال پیش
owomflib.pas e49025a086 More -CriotR fixes: 6 سال پیش
parabase.pas b777dc21d7 * fix PowerPC compilation 5 سال پیش
paramgr.pas 1e3f72403e * renamed getintparaloc to getcgtempparaloc 5 سال پیش
parser.pas 3db08d28e9 Set default stack size for i8086-embedded target: 16384 for far data model, and 2048 for other memory models 5 سال پیش
pass_1.pas 9e7cf37cd6 * changed resulttype and firstpass processing from recursion into loop, based 5 سال پیش
pass_2.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 سال پیش
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 سال پیش
pcp.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 سال پیش
pdecl.pas d1e4066477 Hopefully fix problems related to loading of ppufile generated with other endianess for generics 5 سال پیش
pdecobj.pas 04a50733ad * get rid of the scanner message for attributes for real this time (sometimes I *really* hate Git -.-) 6 سال پیش
pdecsub.pas 8111e92e1f * rework syntax for cblocks: now a cblock directive is required 5 سال پیش
pdecvar.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 5 سال پیش
pexports.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 سال پیش
pexpr.pas 1407aa2b4b * fix for Mantis #36631: it's an error if a POINT after an array is not followed by an identifier 5 سال پیش
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 سال پیش
pgenutil.pas c6a4d10f61 * for deciding whether to swap a generic's buffer use the module's flag instead of the def's 5 سال پیش
pinline.pas 76c45b1a72 * fix for Mantis #34333: improve error output for incorrect calls to Copy() 6 سال پیش
pkgutil.pas 0a915e883e * keep track of static symbols that a global function references, as those must now be exported from a dynamic package as well if the function can potentially be inlined 5 سال پیش
pmodules.pas 40c11baaac * use a different name for the packages' entry point and use _DLLMainCRTStartup as an alias to avoid problems with the C-prefix 5 سال پیش
pp.lpi fe99252a9b * lazarus version update 6 سال پیش
pp.pas 78c901e3c4 * mention LLVM define 5 سال پیش
pparautl.pas 11784cb76a * Fixed safecall on win32 with -Ooregvar by making sure that $safecallresult 5 سال پیش
ppc68k.lpi 9ebf2aa984 * project file updates 13 سال پیش
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 سال پیش
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 سال پیش
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 5 سال پیش
ppcavr.lpi b9d4240a8d + version update 7 سال پیش
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 سال پیش
ppcmips.lpi 9ebf2aa984 * project file updates 13 سال پیش
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 سال پیش
ppcppc.lpi 18a45d94a3 * version update 6 سال پیش
ppcppc64.lpi 9ebf2aa984 * project file updates 13 سال پیش
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 سال پیش
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 سال پیش
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 سال پیش
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 سال پیش
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic 7 سال پیش
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 سال پیش
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 سال پیش
ppu.pas 2f914ee2d8 * packed tabstractvarsym.addr_taken/different_scope fields into a set 5 سال پیش
procdefutil.pas b1ee29c836 * fix for Mantis #30205: (adjusted) patch by Do-wan Kim to only use the default calling convention for exception handlers 6 سال پیش
procinfo.pas 0a915e883e * keep track of static symbols that a global function references, as those must now be exported from a dynamic package as well if the function can potentially be inlined 5 سال پیش
psabiehpi.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
pstatmnt.pas 56d64b007f + in some language modes the loop counter is undefined after the loop by language definition 5 سال پیش
psub.pas 254b85c352 + new pio_inline_forbidden flag to indicate that while parsing the 5 سال پیش
psystem.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
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 d8f1aacd78 * better error recovery, resolves #36377 5 سال پیش
raatt.pas 245b58c249 + support for arm attributes 5 سال پیش
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 سال پیش
rasm.pas 46fe2d486c * forgotten comment 7 سال پیش
rautils.pas dcf4e4cb2c * support taking the address of labels defined in assembler blocks in the 5 سال پیش
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 سال پیش
rgbase.pas 69786ffe73 somehow committing went wrong, second part of last commit: 5 سال پیش
rgobj.pas 40a6059143 Modify code to avoid error when compiling with -CriotR option 5 سال پیش
scandir.pas 6483b3f5e3 * fixed opt-in sysroot substitution again, renamed the three-argument version 5 سال پیش
scanner.pas d1e4066477 Hopefully fix problems related to loading of ppufile generated with other endianess for generics 5 سال پیش
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 سال پیش
symbase.pas 6edf6cad2c * also check for Nil symtables in tsymtable.includeoption 5 سال پیش
symconst.pas 254b85c352 + new pio_inline_forbidden flag to indicate that while parsing the 5 سال پیش
symcreat.pas a041f899d3 * when creating the static field of a generic, insert it into the generic instead of the global symtable as it isn't really used anyway 5 سال پیش
symdef.pas cba43ebe1b - remove generic_buf_needs_swapping again as that is now handled with tmodule.change_endian of the generic's module 5 سال پیش
symsym.pas 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 سال پیش
symtable.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) 5 سال پیش
symtype.pas 80a4a01f12 + add a method to tdef to initialize the defid from within a constructor 5 سال پیش
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 سال پیش
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 7 سال پیش
systems.inc 54d3c26e27 * renamed abi_linux386_sysv to abi_i386_dynalignedstack, and also use it 5 سال پیش
systems.pas a20209e691 + tf_init_final_units_by_calls 5 سال پیش
tgobj.pas 51502874af * emit temp lifetime information for llvm 6 سال پیش
tokens.pas 8111e92e1f * rework syntax for cblocks: now a cblock directive is required 5 سال پیش
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 سال پیش
version.pas a34d4e715c Merged riscv_new branch 6 سال پیش
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 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 سال پیش
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