svenbarth 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
..
aarch64 c48d572996 Implement support for saving and restoring address registers. 12 rokov pred
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 rokov pred
arm 555634b755 * (re)set upper bits of register when appropriate for all operations in 12 rokov pred
avr c48d572996 Implement support for saving and restoring address registers. 12 rokov pred
generic 3017132268 * Remove triple sources 14 rokov pred
html fa0d3d79e0 no message 23 rokov pred
i386 a0723ccfd5 * also check if ECX is nonvolatile in is_ecx_used. Not strictly necessary for the current set of i386 calling conventions, but good as an extra safety precaution in case new calling conventions are added or the code is adapted and used on other platforms. 12 rokov pred
i8086 645cd11b9d * fixed the assignment of global functions to nested procvars in i8086 far code 12 rokov pred
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 rokov pred
jvm 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
m68k 74af6d0dab enabled hardware mul reg, reg codepath for ColdFire too, accelerates tfloattostr test (thus some of the SoftFPU code) by a magnitude... 12 rokov pred
mips 142d20ca30 * MIPS: cleanup assembler reader, MIPS references allow only a single register in parentheses. 12 rokov pred
msg 1c578de28c compiler: 12 rokov pred
powerpc c48d572996 Implement support for saving and restoring address registers. 12 rokov pred
powerpc64 c48d572996 Implement support for saving and restoring address registers. 12 rokov pred
ppcgen 57cdd8c106 * set symbol type/binding of data referred by ppc and arm/darwin stubs (part 12 rokov pred
sparc c48d572996 Implement support for saving and restoring address registers. 12 rokov pred
systems a28917086b * updated *crt1* linking logic for OS X 10.8+: 12 rokov pred
utils e160dab697 + added i8086 to the list of supported CPUs by FPC.exe 12 rokov pred
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 rokov pred
x86 0f69362edd - rm LEA reg,imm from x86ins.dat, as that's not a valid x86 instruction, 12 rokov pred
x86_64 0f69362edd - rm LEA reg,imm from x86ins.dat, as that's not a valid x86 instruction, 12 rokov pred
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 rokov pred
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 rokov pred
Makefile 1bea98995b * regenerated fpcmake makefiles after r25642 12 rokov pred
Makefile.fpc 781fa416e2 * make insdatx86 now also refereshes the i8086 ins files 12 rokov pred
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
aasmbase.pas 1f8192b6da * indention fixes 12 rokov pred
aasmdata.pas d25330e367 * Removed tasmdata.realname (it is not used anywhere) and changed tasmdata.name to pshortstring. The name string is owned by tmodule and referenced by tasmdata. This removes 80-char limit on tasmdata.name, Mantis #25009. 12 rokov pred
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 rokov pred
aasmtai.pas babbc21afd * fix handling of register sets on m68k: it is required that they are stored as two tcpuregistersets because address registers and data registers have different register types 12 rokov pred
aggas.pas 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 rokov pred
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 13 rokov pred
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 rokov pred
aoptbase.pas a5ae26da7e * Moved SkipEntryExitMarker method from ARM optimizer to the base one, since it is not target-dependent. Now it can be reused by other targets. 12 rokov pred
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 rokov pred
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 rokov pred
aoptobj.pas 2806947a8f + FindRegAllocBackward 12 rokov pred
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 12 rokov pred
assemble.pas 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 rokov pred
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 13 rokov pred
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 rokov pred
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 rokov pred
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 rokov pred
cclasses.pas 68a3827539 Fix for Mantis #21051. Correctly handle specializations that occur during the specialization of methods. 12 rokov pred
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 rokov pred
cfileutl.pas 2e70575afc Allow compilation of compiler with 2.6.x RTL for simplyfied development. 12 rokov pred
cg64f32.pas 49bd829ffc * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 12 rokov pred
cgbase.pas 2ba22f666e + support for R_SUBMMX and R_SUBMMY in generic_regname() 12 rokov pred
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 rokov pred
cgobj.pas bf07fc077b * specify AT_DATA in all references to the tobjectdef.vmt_mangledname symbol. 12 rokov pred
cgutils.pas 70649932de * tlocation.value reverted back to longint on non 64-bit archs. This fixes the tset5.pp and tset5a.pp regressions on powerpc and probably other 32-bit platforms. 12 rokov pred
cmsgs.pas aba10cd184 compiler: 14 rokov pred
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 12 rokov pred
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 12 rokov pred
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
constexp.pas b78d6108fd * workaround for 2.6.x to avoid overflow errors when compiled with -CRiot 12 rokov pred
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 rokov pred
crefs.pas 851b00f8e9 * more properties fixed 16 rokov pred
cresstr.pas a1fa1954b8 * i8086 medium model fixes in Tresourcestrings.CreateResourceStringData 12 rokov pred
cstreams.pas f79dc85033 * typo fixed 13 rokov pred
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 rokov pred
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 rokov pred
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 rokov pred
dbgdwarf.pas 936bd3c902 * fixed definitions/uses of asmsymbols: always explicitly define local 12 rokov pred
dbgstabs.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 12 rokov pred
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 rokov pred
defcmp.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
defutil.pas 894d400a7b + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 12 rokov pred
dirparse.pas 826b4678f3 * moved UpdateAlignmentStr, UpdateOptimizerStr, UpdateWpoStr and UpdateDebugStr from unit globals to unit dirparse 12 rokov pred
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 rokov pred
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 rokov pred
expunix.pas 0960ee2034 * Add missing checks for android target. 12 rokov pred
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 rokov pred
fmodule.pas d25330e367 * Removed tasmdata.realname (it is not used anywhere) and changed tasmdata.name to pshortstring. The name string is owned by tmodule and referenced by tasmdata. This removes 80-char limit on tasmdata.name, Mantis #25009. 12 rokov pred
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 rokov pred
fpcdefs.inc 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 rokov pred
fppu.pas 243e3bbb77 + added i8086 memory model flags to the ppu flags and added a check that prevents the using of units compiled for different memory models 12 rokov pred
gendef.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
globals.pas 8fad859161 * the default packrecords setting changed to 1 on i8086 for Turbo Pascal 7 12 rokov pred
globstat.pas 88af293155 Fix for Mantis #22160 13 rokov pred
globtype.pas ac66f3ae1b + added new field 'define' to ttargetswitchinfo, which specifies a system macro 12 rokov pred
hlcg2ll.pas 7d9f98e516 + def_cgmmsize() that returns a vector tcgsize for arraydefs (as generated 12 rokov pred
hlcgobj.pas d4968e054b + arm: tsettings.instructionset 12 rokov pred
htypechk.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 rokov pred
import.pas bf1c390027 * refactor import library generation 19 rokov pred
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 rokov pred
link.pas 38058505ba * Changed linking infrastructure to look like assembler one: 12 rokov pred
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 rokov pred
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 rokov pred
msgidx.inc 1c578de28c compiler: 12 rokov pred
msgtxt.inc 1c578de28c compiler: 12 rokov pred
nadd.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
nbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 rokov pred
ncal.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
ncgadd.pas 0a84f1f10c + avx uses add to multiply by 2 12 rokov pred
ncgbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 rokov pred
ncgcal.pas 235c06ab34 Implement volatile address registers. Fixes quite some tests, but also breaks others... (overall more are fixed than are broken :) ) 12 rokov pred
ncgcnv.pas 76f6de5cf1 Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again. 12 rokov pred
ncgcon.pas a308994423 * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 12 rokov pred
ncgflw.pas bf07fc077b * specify AT_DATA in all references to the tobjectdef.vmt_mangledname symbol. 12 rokov pred
ncginl.pas bf07fc077b * specify AT_DATA in all references to the tobjectdef.vmt_mangledname symbol. 12 rokov pred
ncgld.pas 7ff97d9b7d * specify AT_DATA when refering to the 'RESSTR' symbols; among other things, 12 rokov pred
ncgmat.pas cb81153cc4 * fixed tcgnotnode.second_64bit for 8/16-bit cpus after r24678 12 rokov pred
ncgmem.pas bf07fc077b * specify AT_DATA in all references to the tobjectdef.vmt_mangledname symbol. 12 rokov pred
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 rokov pred
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 rokov pred
ncgobjc.pas 4cf5e36ce7 compiler: 14 rokov pred
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 rokov pred
ncgrtti.pas 088c06d308 * fixed class VMT generation for the i8086 medium memory model (near code, far data) by setting correctly the Tasmsymtype to each symbol according to whether it points to code or data 12 rokov pred
ncgset.pas 29c7d38e43 * 16-bit ALU fixes in tcgcasenode.genlinearcmplist 12 rokov pred
ncgutil.pas c51c75936b * 16/8-bit ALU fixes in ncgutil.gen_free_symtable 12 rokov pred
ncgvmt.pas 088c06d308 * fixed class VMT generation for the i8086 medium memory model (near code, far data) by setting correctly the Tasmsymtype to each symbol according to whether it points to code or data 12 rokov pred
ncnv.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
ncon.pas 90fb63db26 * also compare the type of tordconstnode in docompare, so that the node CSE 12 rokov pred
nflw.pas 5973b231ec * traisenode.pass_typecheck: in the case of 'raise X at addr,frame' require 'addr' to be a far pointer in i8086 far code memory models 12 rokov pred
ngenutil.pas a14ceba791 + -CTinitlocals switch for the JVM that initialises all local variables 12 rokov pred
ngtcon.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
ninl.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 rokov pred
nld.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
nmat.pas 1312fd72f2 * tmoddivnode.pass_typecheck: in the case of unsigned div/mod positive_const, check also the upper bound of the const, so it doesn't get truncated 12 rokov pred
nmem.pas f2763b98fa + implemented absolute seg:ofs vars on i8086 12 rokov pred
nobj.pas d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 12 rokov pred
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 rokov pred
node.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 rokov pred
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 rokov pred
nset.pas 5d74e0578a compiler: remove unused variables and unneeded assignments 12 rokov pred
nstate.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
nutils.pas 9d48bc0baf Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 12 rokov pred
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). 14 rokov pred
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 rokov pred
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 rokov pred
ogbase.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 rokov pred
ogcoff.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
ogelf.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 rokov pred
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 rokov pred
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 rokov pred
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 rokov pred
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 rokov pred
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 rokov pred
optcse.pas b4481544ef * work with actualtargetnode when checking load nodes for cse 12 rokov pred
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
optdfa.pas 709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns 12 rokov pred
options.pas 304d7ef7a1 * restores atari support/rtl partially 12 rokov pred
optloop.pas d23a5b7c7d * store break/continue usage in a variable 12 rokov pred
opttail.pas 6391fd39aa * optimize also tail calls, if it is a simple procedure 12 rokov pred
optutils.pas 0af7a6f92c + has_life_info 12 rokov pred
optvirt.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 rokov pred
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 rokov pred
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 rokov pred
paramgr.pas 235c06ab34 Implement volatile address registers. Fixes quite some tests, but also breaks others... (overall more are fixed than are broken :) ) 12 rokov pred
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 rokov pred
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
pbase.pas 1c578de28c compiler: 12 rokov pred
pdecl.pas 8dd956cbde * convert unicode/widestring constants to ansistring in resourcestring 12 rokov pred
pdecobj.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
pdecsub.pas 76f6de5cf1 Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again. 12 rokov pred
pdecvar.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 rokov pred
pexpr.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
pgenutil.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
pinline.pas 9d48bc0baf Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 12 rokov pred
pmodules.pas 2fa739f729 compiler: remove unneeded push/pop to symtablestack 12 rokov pred
pp.lpi 440a592d68 * project file updated for newer lazarus versions 12 rokov pred
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 rokov pred
pparautl.pas 8744fbefbb * add $parentfp as a first parameter on i8086, instead of last. This makes 12 rokov pred
ppc68k.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppc8086.lpi 6046edd8f9 + i8086/n8086cnv.pas added to lazarus project 12 rokov pred
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 rokov pred
ppcarm.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcavr.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 rokov pred
ppcmips.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcppc.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcppc64.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppcsparc.lpi 9ebf2aa984 * project file updates 13 rokov pred
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 rokov pred
ppu.pas f165cee058 + save the absolute variable's segment to the ppu file after r25666 12 rokov pred
ppx86_64.lpi e96dc4204e * version update 13 rokov pred
procinfo.pas 5c33644e5c compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865) 12 rokov pred
pstatmnt.pas d25ae84113 compiler: don't output an error twice in 'on Exception do' block if Exception is not a valid type 12 rokov pred
psub.pas 68a3827539 Fix for Mantis #21051. Correctly handle specializations that occur during the specialization of methods. 12 rokov pred
psystem.pas 44b141ea1a * also load the methodpointer type for managed VM types. It's required 12 rokov pred
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 rokov pred
ptype.pas 1c578de28c compiler: 12 rokov pred
raatt.pas d89b9a4311 Add support in ARM assembler reader for ldr reg, =literal syntax 12 rokov pred
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 rokov pred
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 rokov pred
rautils.pas babbc21afd * fix handling of register sets on m68k: it is required that they are stored as two tcpuregistersets because address registers and data registers have different register types 12 rokov pred
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 rokov pred
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 rokov pred
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 rokov pred
rgobj.pas 32a18199c5 Print aX or aregX for address registers if DEBUG_REGISTERLIFE is defined. 12 rokov pred
scandir.pas 9d1ba65cec * {$PackRecords NORMAL}, {$PackRecords DEFAULT} and {$ALIGN RESET} now set 12 rokov pred
scanner.pas d908dbeec1 Fix for Mantis #25215. 12 rokov pred
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 rokov pred
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 rokov pred
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 rokov pred
symconst.pas 381c996e53 + added po_far to tprocoptions 12 rokov pred
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 12 rokov pred
symdef.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
symnot.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
symsym.pas b70e64dc67 * fixed some bugs in the camelCase conversion performed on the JVM target by 12 rokov pred
symtable.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
symtype.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 12 rokov pred
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 rokov pred
systems.inc 304d7ef7a1 * restores atari support/rtl partially 12 rokov pred
systems.pas a48b44cfe5 + added a new tsystemflag tf_cld, which indicates that ts_cld should be enabled 12 rokov pred
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 rokov pred
tokens.pas 0d8ad2a932 compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030 12 rokov pred
verbose.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 rokov pred
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 rokov pred
widestr.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 rokov pred
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 rokov pred
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 rokov pred
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 rokov pred

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