Jonas Maebe 04c5d2ee6e * generate indirect symbols for LLVM too 9 anni fa
..
aarch64 1feb062f7d * similar change as in r33393 but now for a_load_reg_ref_unaligned(), although 9 anni fa
arm 3c6d4f1ee2 * Removed unused vars. 9 anni fa
avr b2f15e2736 * first check for ait_instruction before checking opcode 9 anni fa
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 anni fa
html fa0d3d79e0 no message 23 anni fa
i386 0c13f3ce3e * fix modification information for vand* 9 anni fa
i8086 ce66597df8 * handle classrefdefs properly, according to the memory model in i8086's 9 anni fa
jvm 531ce3be61 * fixed initialising an array of ansichar typed constant using a string 9 anni fa
llvm 04c5d2ee6e * generate indirect symbols for LLVM too 9 anni fa
m68k 25c34aedc2 m68k: implemented tcpucasenode.genlinearlist. 68k doesn't need cmp after sub, as sub sets the flags as expected. results in simpler, faster and more compact code 9 anni fa
mips 578348817b * MIPS: some progress with linker: 9 anni fa
msg cde95b0e4a Merge all message related changes from the package branch 9 anni fa
powerpc 1850cb4ccc * don't look at the resultdef, but at the defs of the operands to decide 9 anni fa
powerpc64 fa3b0ca312 * support marking defs created via the getreusable*() class methods as 10 anni fa
ppcgen 14bab6c85d * fixed ppc jump table generation in case a jump table has cases for the 9 anni fa
sparc cc3e09ee46 * Handle possible relocation types in assembler reader using a single AS_RELTYPE token, rather than with individual tokens for each case. Since possible relocations are target-dependent, this will allow to support any amount of them without modifying the base tattreader class. 9 anni fa
systems a77d26530d AmigaOS4: set winlike resources 9 anni fa
utils 34f65fd059 Fix ppudump 9 anni fa
x86 e4baf67722 * do not write any size suffix for cvt*ss2si, doing so makes no sense as the size of the single and the integer might be different on x86-64, resolves issue #30101 9 anni fa
x86_64 0c13f3ce3e * fix modification information for vand* 9 anni fa
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 anni fa
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 anni fa
Makefile e0b0ec3d43 m68k: disabled the force-enabled stack checking for m68k-amiga when compiling the compiler, which was enabled since forever. the current Amiga RTL startup code supports setting stack size programmatically, therefore very low default stack on Amiga is no longer a problem 9 anni fa
Makefile.fpc e0b0ec3d43 m68k: disabled the force-enabled stack checking for m68k-amiga when compiling the compiler, which was enabled since forever. the current Amiga RTL startup code supports setting stack size programmatically, therefore very low default stack on Amiga is no longer a problem 9 anni fa
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 anni fa
aasmbase.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
aasmcnst.pas 508038a691 + emit_pchar_const() helper for high level typed const builder 9 anni fa
aasmdata.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 anni fa
aasmtai.pas e7838dad39 m68k: initial asm-level infrastructure to let the codegenerator output float consts as operands, which is supported on 88x/040/060 9 anni fa
aggas.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
aopt.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 9 anni fa
aoptbase.pas cfd49ec708 + TAOptBase.SuperRegistersEqual 9 anni fa
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 anni fa
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 anni fa
aoptobj.pas cfd49ec708 + TAOptBase.SuperRegistersEqual 9 anni fa
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 9 anni fa
assemble.pas 5576caada6 * handle the asd_cpu asd_cpu directive and keep track of the currently selected 9 anni fa
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 anni fa
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 12 anni fa
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 anni fa
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 12 anni fa
cclasses.pas 3e70ac05c2 Merged revision(s) 32450-32451, 32455, 32457-32458, 32460-32462, 32477, 32480 from branches/svenbarth/packages: 9 anni fa
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 anni fa
cfileutl.pas 8f645fdc83 * removed hack to disable dircache for DragonFly BSD now that its dirent 9 anni fa
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 anni fa
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code 10 anni fa
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 anni fa
cgobj.pas a5dba44fd3 * fixed sign extension for unaligned loads (mantis #29891, although that 9 anni fa
cgutils.pas 5595651816 * define avr => cpu8bitalu 10 anni fa
cmsgs.pas aba10cd184 compiler: 14 anni fa
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 anni fa
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 anni fa
compinnr.inc 8287773b16 Reverted revision 33036. This feature is too controverse to be left in. 9 anni fa
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 anni fa
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 anni fa
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 anni fa
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 anni fa
cresstr.pas f83f9168ee * emit all resource strings and internal dynamic string data using the 9 anni fa
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 anni fa
cutils.pas 315b32918e + Tconstexprint-version of ispowerof2() to correctly deal with constants 9 anni fa
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 anni fa
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 anni fa
dbgdwarf.pas 35b18fbf85 * change address related variables from aint to PInt to avoid range check errors 9 anni fa
dbgstabs.pas d44100448c * add support in the debug info for the dummy s128bit/u128bit types added 9 anni fa
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 anni fa
defcmp.pas a4d2f71d3d * better estimation of compatibility of array constructors with open arrays, resolves issue #29244 9 anni fa
defutil.pas 75a6ba4113 - removed symcpu dependencies 10 anni fa
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 anni fa
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 anni fa
entfile.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 anni fa
export.pas adbef4fc84 New export option that enforces the use of the provided export name instead of using the name of the provided symbol. This is necessary to correctly handle overloaded functions, especially if one of them is an internproc one. 9 anni fa
expunix.pas 4afb96a1cb * fix warning which prevents compilation with -Oodfa 9 anni fa
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 anni fa
fmodule.pas a67fe62caa fmodule.pas, tmodule: 9 anni fa
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 anni fa
fpcdefs.inc 046b148f5f * i386 and i8086 have an index register, so define cpurefshaveindexreg 9 anni fa
fpcp.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 anni fa
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 anni fa
fppu.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 anni fa
gendef.pas aee5380ae0 * merged trunk up to r20882 13 anni fa
globals.pas e1814305bd Fix default CPU for assembler blocks (init_settings.asmcputype) to be the same as init_settings.cputype 9 anni fa
globstat.pas 88af293155 Fix for Mantis #22160 13 anni fa
globtype.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 9 anni fa
hlcg2ll.pas 56fea8d047 * have regvars in address registers for defs which are address types. improves code with reference bases in regvars on m68k. and also reduces data register pressure. 9 anni fa
hlcgobj.pas 18538494b9 * use the high level code generator's getaddressregister method in thlcgobj.maybe_change_load_node_reg 9 anni fa
htypechk.pas e58488dc3e Fix for Mantis #29792. 9 anni fa
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 anni fa
import.pas bf1c390027 * refactor import library generation 19 anni fa
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 anni fa
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with 9 anni fa
macho.pas e243cc77ea macho.pas: 9 anni fa
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 anni fa
msgidx.inc 0f9e556c80 * regenerate message files after r33450 9 anni fa
msgtxt.inc 0f9e556c80 * regenerate message files after r33450 9 anni fa
nadd.pas 2bbab60c92 * when simplifying a constant string concatenation that gets assigned to a 9 anni fa
nbas.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations 10 anni fa
ncal.pas 2f81c14ee9 * also print funcretnode for callnodes 9 anni fa
ncgadd.pas da696057ab * converted register_maybe_adjust_setbase() to the high level code generator 9 anni fa
ncgbas.pas 06b9789928 + implemented a new {$ASMCPU XXX} directive, allowing to specify a different 9 anni fa
ncgcal.pas d2a7f17d8c Fix for Mantis #29372. 9 anni fa
ncgcnv.pas 9d4e322cd0 Add AT_FUNCTION or AT_DATA to calls to (Weak)RefAsmSymbol. powerpc-macos needs them. 9 anni fa
ncgcon.pas aef6120438 * fixed shortstring constant emission after r28210: the terminating #0 9 anni fa
ncgflw.pas 56fea8d047 * have regvars in address registers for defs which are address types. improves code with reference bases in regvars on m68k. and also reduces data register pressure. 9 anni fa
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 anni fa
ncginl.pas 8917633199 * implement sizeof/typeof completely at the node level, based on 9 anni fa
ncgld.pas 9d4e322cd0 Add AT_FUNCTION or AT_DATA to calls to (Weak)RefAsmSymbol. powerpc-macos needs them. 9 anni fa
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 anni fa
ncgmem.pas 778a0b737e * removed ancient (since r5554) special handling code for m68k from tcgvecnode, which is no longer necessary 9 anni fa
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 anni fa
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 anni fa
ncgobjc.pas 4cf5e36ce7 compiler: 14 anni fa
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 anni fa
ncgrtti.pas 140f5b5f94 Write indirect symbols for the RTTI (basically a merge of r28238, but using the typed constant builder and the new indirect asmbinds) 9 anni fa
ncgset.pas da696057ab * converted register_maybe_adjust_setbase() to the high level code generator 9 anni fa
ncgutil.pas b6242d14ed * use currpara.paraloc[calleeside].def instead of currpara.vardef when copying parameters to local registers in ncgutil. this mimics hlcgobj behavior and fixes parameters passed by reference to be allocated into intregs on m68k. among others, this has a big impact on OOP code, because of self, for example 9 anni fa
ncgvmt.pas 9857a27ad8 Generate and use an indirect symbol for VMTs. 9 anni fa
ncnv.pas 1e1b36515e * don't narrow expressions that contain a mod/div followed by an "and", 9 anni fa
ncon.pas a65ab73e8b * support unicodestring constants in "case string of" (mantis #29353) 9 anni fa
nflw.pas e20f2111b7 Check for nil before doing loopunrolling. 9 anni fa
ngenutil.pas 86478fa781 Fix the handling of imports of the init and finalize functions now that the symbols are correctly registered 9 anni fa
ngtcon.pas 092a0af0ec * removed special-purpose code for constant chars while parsing typed string 9 anni fa
ninl.pas 8287773b16 Reverted revision 33036. This feature is too controverse to be left in. 9 anni fa
nld.pas 9914f02faa * always set the resultdef for variant array constructors correctly, so we 10 anni fa
nmat.pas 1e5883b6d1 Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU 9 anni fa
nmem.pas 7005dec9b4 * equivalent of r32602 for subscriptnodes; couldn't find a test that fails 9 anni fa
nobj.pas 59eff35c5d * give fields added for VMT definition of TP-style objects the same 9 anni fa
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 anni fa
node.pas 8fe986ba11 + write also node complexity when dumping a node tree 9 anni fa
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 anni fa
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after 10 anni fa
nstate.pas 790a4fe2d3 * log and id tags removed 20 anni fa
nutils.pas e0c21b6f8b ARM: avoid some range check errors, while running a compiler compiled with -CR 9 anni fa
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 anni fa
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 anni fa
objcgutl.pas b9231aa6f1 * converted objcgutl (Objective-C metadata generation) to the high level 9 anni fa
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 anni fa
ogbase.pas f950dca8a5 * use PUInt for passing around sizes in ogbase as the width of the data type should dependent on the address size and not the ALU size 9 anni fa
ogcoff.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
ogelf.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 anni fa
ogmacho.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 anni fa
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 anni fa
ogomf.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
omfbase.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 anni fa
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 anni fa
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 anni fa
optcse.pas 260ea81c82 * improve cse on record/array accesses 9 anni fa
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 anni fa
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 anni fa
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint 9 anni fa
options.pas e1814305bd Fix default CPU for assembler blocks (init_settings.asmcputype) to be the same as init_settings.cputype 9 anni fa
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 anni fa
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 anni fa
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 anni fa
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 anni fa
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 anni fa
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 anni fa
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 10 anni fa
parabase.pas b4fe4789d6 + support for constant call parameters on LLVM 9 anni fa
paramgr.pas 99361994b7 * only copy the shiftval field from the original para location when creating 9 anni fa
parser.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 anni fa
pass_1.pas 9fdd64e94c * indention and new line fixes 12 anni fa
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 10 anni fa
pbase.pas 5a344ee263 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: 10 anni fa
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 anni fa
pdecl.pas 56ae2d34b2 Ensure that (Bit)SizeOf(GenericParameter) returns a sensible value in case of constants (which are evaluated at compile time unlike if occuring in code) 9 anni fa
pdecobj.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 anni fa
pdecsub.pas 08d63e3408 * allow default parameters for constref (mantis #29992) 9 anni fa
pdecvar.pas 1142fdeccd * initialize variables to avoid warnings 9 anni fa
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 anni fa
pexpr.pas a0296d7311 * fixed indentation 9 anni fa
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 anni fa
pgenutil.pas d07b49270f Fix for Mantis #30030. 9 anni fa
pinline.pas 5919ca84bb * fixed string code page after setstring(rawbytestring,..) (mantis #29833) 9 anni fa
pkgutil.pas b5d984da7a pkgutil.pas, createimportlibfromexternals: 9 anni fa
pmodules.pas 1824a945cf Merged revision(s) 32515, 32573, 32575, 32579 from branches/svenbarth/packages: 9 anni fa
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 anni fa
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 anni fa
pparautl.pas e1d4d167b4 * hidden high parameter must be of type ptrsinttype, resolves issue #29204 9 anni fa
ppc68k.lpi 9ebf2aa984 * project file updates 13 anni fa
ppc8086.lpi 839ab714cc + started implementing a win16 target :) 10 anni fa
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 anni fa
ppcarm.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcavr.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 anni fa
ppcmips.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc64.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcsparc.lpi 9ebf2aa984 * project file updates 13 anni fa
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 anni fa
ppu.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 anni fa
ppx86_64.lpi e96dc4204e * version update 13 anni fa
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 anni fa
pstatmnt.pas 35f8d5427f Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings. 9 anni fa
psub.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 9 anni fa
psystem.pas 36043d13ae - Removed remains of tai_labeled_instruction, already commented out probably in 1.0 times. 9 anni fa
ptconst.pas 94d8d9927d Only add indirect symbol for constants if tf_supports_packages flag is set in target_info.flags 9 anni fa
ptype.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 anni fa
raatt.pas cc3e09ee46 * Handle possible relocation types in assembler reader using a single AS_RELTYPE token, rather than with individual tokens for each case. Since possible relocations are target-dependent, this will allow to support any amount of them without modifying the base tattreader class. 9 anni fa
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 anni fa
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 anni fa
rautils.pas 2e0fea94b8 * set operand size information when accessing fields in assembly 9 anni fa
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 anni fa
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 anni fa
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 anni fa
rgobj.pas 2a28f5a85d * update used_in_proc only in trgobj.translate_registers, before it might cause unnecessary pushes of actually unused registers 9 anni fa
scandir.pas d24065c529 Fix compilation of the JEDI package. Old Delphi versions have {$WEAKPACKAGEUNIT} while newer ones also seem to allow {$WEAKPACKAGENUNIT ON}... :/ (analogous for DENYPACKAGEUNIT...) 9 anni fa
scanner.pas e566fe1938 * tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments 9 anni fa
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 anni fa
switches.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 9 anni fa
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 anni fa
symconst.pas 3971ba7898 Provide basic facilities to handle indirect symbols that are needed for proper dynamic packages support. 9 anni fa
symcreat.pas 4cfec3b6e9 * fixed copy/paste error in r31285 9 anni fa
symdef.pas 266dee9258 * update tprocvardef.GetTypeName() for blocks so it prints them using the 9 anni fa
symsym.pas 7a966345e5 * don't recalculate the regable info when dereferencing a symbol's vardef: 9 anni fa
symtable.pas 9fd8c8718a Partial merge of r28846 (without the global assembler symbols) 9 anni fa
symtype.pas 9a0cb50a08 * converted the result of fullownerhierarchyname to tsymstr so it (and 9 anni fa
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 anni fa
systems.inc 90ff332b49 Add -Aas-sol to use native Solaris assembler 10 anni fa
systems.pas 9d2258e4d9 * increase length of asmbin string from 8 chars to 16. this is needed to support standard vasm binary names on PPC and (soon) m68k 9 anni fa
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 anni fa
tokens.pas cb4773432b + hardfloat directive (arm only): use hard float calling conventions regardless of the abi, resolves #29715 9 anni fa
verbose.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 anni fa
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 anni fa
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 10 anni fa
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 17 anni fa
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 anni fa
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: 9 anni fa

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