fpc/compiler
2013-09-28 20:59:46 +00:00
..
aarch64 Decrease amount of code duplication regarding handling of safecall and record constructors. 2013-01-25 20:39:28 +00:00
alpha + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 2012-09-06 15:12:12 +00:00
arm * calculate stack correction on exit correctly if stack parameters are passed 2013-09-05 21:40:33 +00:00
avr * don't use the paracgsize in get_paraloc_def(), because it generally 2013-06-02 14:05:07 +00:00
generic * Remove triple sources 2011-07-08 15:37:23 +00:00
html
i386 * tsettings.enablecld converted to a targetswitch ts_cld 2013-09-28 13:41:58 +00:00
i8086 * tsettings.enablecld converted to a targetswitch ts_cld 2013-09-28 13:41:58 +00:00
ia64 * -O4 switch for optimizations which are correct but which might have unexpected effects 2012-08-09 18:58:54 +00:00
jvm * fixed compilation of length(unicode/ansistring) on JVM target after r25499 2013-09-24 23:57:17 +00:00
m68k Fix an embarrasing error in m68k which fixes 60 tests. 2013-09-28 20:07:57 +00:00
mips + MIPS internal linker: support TLS IE/LE and GPREL32 relocations, is now able to link tw14265. 2013-07-29 09:30:40 +00:00
msg + added the new -CTcld option to the help screen 2013-09-28 16:05:01 +00:00
powerpc - Removed tai_label.is_global field, was used in just one place and is generally not needed: binding is controlled by 'bind' property of referenced AsmLabel. 2013-08-23 11:34:08 +00:00
powerpc64 * 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. 2013-09-19 10:06:43 +00:00
ppcgen * set symbol type/binding of data referred by ppc and arm/darwin stubs (part 2013-08-17 16:26:37 +00:00
sparc * add a tdef to each parameter location and set it for all target 2013-06-02 10:24:02 +00:00
systems + added a new tsystemflag tf_cld, which indicates that ts_cld should be enabled 2013-09-28 14:57:12 +00:00
utils * mkx86reg.pp updated to support i8086 2013-09-28 20:56:47 +00:00
vis + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
x86 * tsettings.enablecld converted to a targetswitch ts_cld 2013-09-28 13:41:58 +00:00
x86_64 * x86_64-win64: SEH finalization procedures have frame pointer set to RBP but since r25389 they save registers relative to RSP. Fixed offsets for .seh_savereg/.seh_savexmm directives. 2013-09-04 15:31:55 +00:00
aasmbase.pas * indention fixes 2013-05-03 20:41:55 +00:00
aasmdata.pas * 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. 2013-09-19 10:06:43 +00:00
aasmsym.pas
aasmtai.pas + added i8086-specific methods tai_const.Create_sym_near and tai_const.Create_sym_far, which allow creating explicitly a near or far ptr const, regardless of current memory model's defaults 2013-09-16 19:56:49 +00:00
aggas.pas Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
agjasmin.pas * initialise dollarsign field of jasmin tasminfo 2012-10-21 17:56:16 +00:00
aopt.pas * more consistent updates of used registers 2012-08-22 19:52:15 +00:00
aoptbase.pas * Fixed label optimizer to work with MIPS, and enabled level 1 optimization for MIPS targets. 2013-07-03 14:40:24 +00:00
aoptcs.pas * RefsHaveIndexReg -> cpurefshaveindexreg 2012-03-10 19:43:52 +00:00
aoptda.pas
aoptobj.pas + FindRegAllocBackward 2013-08-18 18:56:56 +00:00
asmutils.pas * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 2012-11-18 17:00:18 +00:00
assemble.pas Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
browcol.pas Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 2012-11-07 16:22:57 +00:00
bsdcompile
catch.pas
ccharset.pas compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 2013-03-12 01:35:25 +00:00
cclasses.pas Fix for Mantis #21051. Correctly handle specializations that occur during the specialization of methods. 2013-09-26 08:15:58 +00:00
cfidwarf.pas
cfileutl.pas Allow compilation of compiler with 2.6.x RTL for simplyfied development. 2013-09-11 16:05:24 +00:00
cg64f32.pas * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 2013-05-19 18:44:54 +00:00
cgbase.pas + support for R_SUBMMX and R_SUBMMY in generic_regname() 2013-08-07 12:41:47 +00:00
cghlcpu.pas + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 2012-04-28 14:27:31 +00:00
cgobj.pas * basic avx support for floating point operations (use -Cfavx to activate) 2013-06-14 20:03:01 +00:00
cgutils.pas * 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. 2013-04-28 17:52:06 +00:00
cmsgs.pas compiler: 2011-11-02 09:20:59 +00:00
comphook.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
compiler.pas applied fix from trunk for building with fpc 2.6.x on unix 2013-03-09 18:35:24 +00:00
compinnr.inc + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
comprsrc.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
constexp.pas * workaround for 2.6.x to avoid overflow errors when compiled with -CRiot 2013-06-26 21:40:52 +00:00
COPYING.txt * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 2013-06-27 14:04:34 +00:00
cpid.pas merge r14347 from cpstrnew branch by florian: 2011-09-17 12:00:06 +00:00
crefs.pas
cresstr.pas * i8086 medium model fixes in Tresourcestrings.CreateResourceStringData 2013-08-18 21:18:22 +00:00
cstreams.pas * typo fixed 2011-12-31 16:25:19 +00:00
cutils.pas + added min and max functions for Tconstexprint 2013-04-01 20:23:14 +00:00
cwindirs.pp + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 2011-03-19 22:48:56 +00:00
dbgbase.pas * correctly deal with writing debug information in the Stabs writer for class 2012-07-26 14:27:10 +00:00
dbgdwarf.pas * fixed definitions/uses of asmsymbols: always explicitly define local 2013-08-21 09:49:07 +00:00
dbgstabs.pas compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
dbgstabx.pas * fixed writing of local static symbols on AIX 2012-10-14 15:59:49 +00:00
defcmp.pas * synchronized with trunk up to and including r25430 2013-09-06 10:09:26 +00:00
defutil.pas + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 2013-06-10 20:50:05 +00:00
elfbase.pas + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 2013-03-29 14:46:44 +00:00
export.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
expunix.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
finput.pas * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 2013-03-17 16:22:00 +00:00
fmodule.pas * 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. 2013-09-19 10:06:43 +00:00
fpccrc.pas
fpcdefs.inc Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
fppu.pas + added i8086 memory model flags to the ppu flags and added a check that prevents the using of units compiled for different memory models 2013-08-25 16:45:04 +00:00
gendef.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
globals.pas * UpdateTargetSwitchStr moved from unit globals to unit options in order to 2013-09-28 15:43:56 +00:00
globstat.pas Fix for Mantis #22160 2012-09-25 09:45:25 +00:00
globtype.pas + added new field 'define' to ttargetswitchinfo, which specifies a system macro 2013-09-28 14:14:32 +00:00
hlcg2ll.pas + def_cgmmsize() that returns a vector tcgsize for arraydefs (as generated 2013-06-02 10:24:08 +00:00
hlcgobj.pas + arm: tsettings.instructionset 2013-08-25 21:56:12 +00:00
htypechk.pas Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. 2013-03-04 16:02:18 +00:00
impdef.pas * moved maybequoted() from cutils to cfileutl and let its behaviour vary 2012-04-16 19:52:36 +00:00
import.pas
ldscript.pas + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 2012-08-21 08:37:39 +00:00
link.pas * Changed linking infrastructure to look like assembler one: 2013-08-18 12:01:21 +00:00
macho.pas * fixed comments for some comments, they were offset by one line (patch by 2010-12-24 15:58:41 +00:00
machoutils.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
Makefile * make insdatx86 now also updates the i8086 reg files 2013-09-28 20:59:46 +00:00
Makefile.fpc * make insdatx86 now also updates the i8086 reg files 2013-09-28 20:59:46 +00:00
MPWMake
msgidx.inc + added the new -CTcld option to the help screen 2013-09-28 16:05:01 +00:00
msgtxt.inc + added the new -CTcld option to the help screen 2013-09-28 16:05:01 +00:00
nadd.pas * 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. 2013-09-16 14:38:38 +00:00
nbas.pas * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 2013-06-23 15:16:30 +00:00
ncal.pas * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 2013-06-29 22:20:30 +00:00
ncgadd.pas + avx uses add to multiply by 2 2013-06-15 21:18:40 +00:00
ncgbas.pas * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 2013-06-23 15:16:30 +00:00
ncgcal.pas * far proc fixes in tcgcallnode.pass_generate_code 2013-06-09 14:21:03 +00:00
ncgcnv.pas + MIPS: emulate "flags", i.e. support LOC_FLAGS location. This allows to generate differently optimized code for branching and for conversion to register, typically saving a register and instruction per compare. 2013-07-19 14:06:47 +00:00
ncgcon.pas * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 2013-05-24 17:16:55 +00:00
ncgflw.pas * Fixed register live range in for-loops: 2013-06-21 15:26:14 +00:00
ncginl.pas * 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. 2013-09-16 14:38:38 +00:00
ncgld.pas * always use the varrec size retrieved from the system unit when advancing to the next element 2013-08-11 20:13:57 +00:00
ncgmat.pas * fixed tcgnotnode.second_64bit for 8/16-bit cpus after r24678 2013-06-01 14:05:53 +00:00
ncgmem.pas * handle also LOC_CREGISTER/LOC_CMMREGISTER in tcgvecnode.pass_generate_code, resolves #24705 2013-07-04 19:36:28 +00:00
ncgnstld.pas * copy the implicit pointer rather than the contents of var/out/constref 2011-11-18 21:09:38 +00:00
ncgnstmm.pas * fixed loading the nested framepointer when calling another nested 2011-09-20 22:22:26 +00:00
ncgobjc.pas compiler: 2011-09-28 01:18:43 +00:00
ncgopt.pas * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 2012-06-24 21:36:28 +00:00
ncgrtti.pas * 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 2013-08-18 00:03:55 +00:00
ncgset.pas * 16-bit ALU fixes in tcgcasenode.genlinearcmplist 2013-03-24 22:40:27 +00:00
ncgutil.pas - Removed gen_proc_symbol procedure, no longer used, replaced by thlcgobj.gen_proc_symbol method. 2013-08-23 10:54:57 +00:00
ncgvmt.pas * 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 2013-08-18 00:03:55 +00:00
ncnv.pas * synchronized with trunk up to and including r25430 2013-09-06 10:09:26 +00:00
ncon.pas * also compare the type of tordconstnode in docompare, so that the node CSE 2013-09-28 14:12:50 +00:00
nflw.pas * 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 2013-09-17 21:31:30 +00:00
ngenutil.pas + -CTinitlocals switch for the JVM that initialises all local variables 2013-08-29 22:21:23 +00:00
ngtcon.pas * check range of enums and booleans in typed constant expressions when 2013-05-14 12:05:00 +00:00
ninl.pas * 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. 2013-09-16 14:38:38 +00:00
nld.pas * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 2013-06-23 15:16:30 +00:00
nmat.pas * 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 2013-04-14 21:56:32 +00:00
nmem.pas + getting the address of a label now returns a far pointer in i8086 far code memory models; this fixes the call to fpc_raiseexception in the raise node 2013-09-17 22:45:13 +00:00
nobj.pas * 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. 2013-04-19 13:31:27 +00:00
nobjc.pas
node.pas * 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. 2013-09-16 14:38:38 +00:00
nopt.pas * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 2013-07-19 16:33:14 +00:00
nset.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
nstate.pas
nutils.pas Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 2013-09-18 14:28:46 +00:00
objcdef.pas 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). 2011-02-20 11:41:55 +00:00
objcgutl.pas * objcprotocol symbols have to be weak in the non-fragile abi to prevent 2011-12-17 12:43:42 +00:00
objcutil.pas * don't generate a classClass call for objc loadvmtaddrnodes generated 2012-03-29 20:54:47 +00:00
ogbase.pas + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 2013-07-30 09:23:48 +00:00
ogcoff.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
ogelf.pas + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 2013-07-30 09:23:48 +00:00
oglx.pas
ogmacho.pas + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 2012-04-11 18:01:57 +00:00
ogmap.pas + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 2013-07-30 09:23:48 +00:00
ognlm.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
optbase.pas
optcse.pas * work with actualtargetnode when checking load nodes for cse 2013-09-07 17:44:44 +00:00
optdead.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
optdfa.pas + introduce cnf_call_never_returns to signal the dfa if a call node never returns 2013-04-21 16:53:25 +00:00
options.pas * UpdateTargetSwitchStr moved from unit globals to unit options in order to 2013-09-28 15:43:56 +00:00
optloop.pas * store break/continue usage in a variable 2013-08-11 21:13:24 +00:00
opttail.pas * factored load node flags out of node flags to gain space 2011-10-30 15:14:21 +00:00
optutils.pas + has_life_info 2013-06-14 20:52:40 +00:00
optvirt.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
owar.pas + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 2012-08-21 08:37:39 +00:00
owbase.pas * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 2012-07-12 16:10:34 +00:00
parabase.pas * add a tdef to each parameter location and set it for all target 2013-06-02 10:24:02 +00:00
paramgr.pas * missing part of r24776, using a build server also has pitfalls :/ 2013-06-02 14:35:29 +00:00
parser.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
pass_1.pas
pass_2.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
pbase.pas - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 2012-09-30 21:03:35 +00:00
pdecl.pas * record/use the code page of string constants typecasted to an ansistring 2013-08-02 13:23:32 +00:00
pdecobj.pas + introduce tvariantrecbranch to be able to store 2013-04-14 15:50:42 +00:00
pdecsub.pas compiler: allow comparative operators to have result other than Boolean. Reasons: 2013-09-16 05:10:31 +00:00
pdecvar.pas 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 2013-09-16 09:11:17 +00:00
pexports.pas * handle exports with a name consisting of a single character correctly 2012-07-22 14:23:09 +00:00
pexpr.pas Fix for Mantis #24687. 2013-09-26 10:21:11 +00:00
pgenutil.pas Small improvements for generate_specializations. 2013-09-26 12:17:30 +00:00
pinline.pas Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 2013-09-18 14:28:46 +00:00
pmodules.pas compiler: remove unneeded push/pop to symtablestack 2013-09-18 05:24:19 +00:00
pp.lpi * reverted accidental commit in r22568 2012-10-07 19:46:59 +00:00
pp.pas cpu_i8086 and system_i8086_msdos added to the systems.inc enums 2013-03-07 22:38:35 +00:00
pparautl.pas compiler: don't add operator name as a function result into operator symtable. For FPC mode only operator result identifier should be added and for Delphi mode only 'Result' identifier. Fixes mantis #0025081 2013-09-25 05:22:28 +00:00
ppc68k.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppc8086.lpi + i8086/n8086cnv.pas added to lazarus project 2013-06-10 01:19:22 +00:00
ppcaarch64.lpi + lazarus compiler project for aarch64 2012-12-16 12:35:02 +00:00
ppcarm.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcavr.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcjvm.lpi * jvm lazarus project file properly named 2013-04-28 08:39:20 +00:00
ppcmips.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcmipsel.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcppc64.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcppc.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcsparc.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppheap.pas * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 2012-09-19 07:57:31 +00:00
ppu.pas * incremented the ppu version as well after r25365 2013-08-25 16:52:37 +00:00
ppx86_64.lpi * version update 2012-06-03 18:55:44 +00:00
procinfo.pas compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865) 2013-08-17 04:44:19 +00:00
pstatmnt.pas compiler: don't output an error twice in 'on Exception do' block if Exception is not a valid type 2013-09-05 00:46:26 +00:00
psub.pas Fix for Mantis #21051. Correctly handle specializations that occur during the specialization of methods. 2013-09-26 08:15:58 +00:00
psystem.pas * also load the methodpointer type for managed VM types. It's required 2013-09-24 23:57:21 +00:00
ptconst.pas * factored out code to decide when an asmsym for a staticvarsym has to be 2012-08-25 15:12:39 +00:00
ptype.pas Fix for Mantis #24453. Check for nested types after a specialization. Additionally check correctly whether a type is really a generic before accepting it when parsing a generic. 2013-09-26 09:21:28 +00:00
raatt.pas Add support in ARM assembler reader for ldr reg, =literal syntax 2013-07-21 16:06:57 +00:00
rabase.pas
rasm.pas
rautils.pas - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 2013-02-25 22:09:39 +00:00
README.txt
regvars.pas * Improvements of tprocinfo class: 2011-03-27 17:21:48 +00:00
rescmn.pas * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 2013-05-04 21:25:36 +00:00
rgbase.pas Use TRegNameTable instead of array[tregisterindex] of string[10] 2012-10-22 10:23:21 +00:00
rgobj.pas * accumulate register weight instead of taking only the maximum 2013-09-07 17:44:41 +00:00
scandir.pas * UpdateTargetSwitchStr moved from unit globals to unit options in order to 2013-09-28 15:43:56 +00:00
scanner.pas compiler: support also XOR expressions in macro expressions 2013-09-27 00:28:15 +00:00
script.pas * GNU ld only supports double quotes in its response file -> requote there 2012-05-03 12:41:16 +00:00
switches.pas * the default string type for the JVM target is no longer automatically 2011-08-20 08:35:47 +00:00
symbase.pas compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 2013-09-17 08:53:37 +00:00
symconst.pas + added po_far to tprocoptions 2013-06-08 16:34:30 +00:00
symcreat.pas * fixed typo in jvm record clone implementation comment 2013-01-26 21:28:30 +00:00
symdef.pas compiler: regenerate parameter list in tprocvardef.getcopy (fixes compiler crash, issue #0025077) 2013-09-25 03:28:14 +00:00
symnot.pas
symsym.pas * perform -CTlowercaseprocstart conversion it tprocsym.create rather than 2013-08-29 22:43:06 +00:00
symtable.pas compiler: search namespace symbols also in the interface symtable of a unit when we are registering a unit with a namespace in the implementation section (fixes issue #0025059) 2013-09-25 02:25:26 +00:00
symtype.pas Correctly specialize generics if locally declared types are used (e.g. two procedures could both define a different "TRec" type which is used to specialize a generic inside the procedures). 2013-07-26 09:02:24 +00:00
symutil.pas
systems.inc * Changed linking infrastructure to look like assembler one: 2013-08-18 12:01:21 +00:00
systems.pas + added a new tsystemflag tf_cld, which indicates that ts_cld should be enabled 2013-09-28 14:57:12 +00:00
tgobj.pas * prevent previously freed temp blocks from getting lost occasionally (can 2013-03-27 17:16:34 +00:00
tokens.pas 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 2013-09-16 09:11:17 +00:00
verbose.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
version.pas ifdef cpu86 replaced with ifdef cpui386 2013-03-07 22:21:27 +00:00
widestr.pas compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 2013-03-12 01:35:25 +00:00
wpo.pas
wpobase.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
wpoinfo.pas

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