florian c44b5d1043 * take care of tempinitcode when creating def information for tempcreatenodes 11 tahun lalu
..
aarch64 c48d572996 Implement support for saving and restoring address registers. 12 tahun lalu
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 tahun lalu
arm 0736bf4ded Try to change typical constant AND-masking operations into shifts for ARM 11 tahun lalu
avr 6d4a9aad66 pass new asm extra opt using -ao option 11 tahun lalu
generic 3017132268 * Remove triple sources 14 tahun lalu
html fa0d3d79e0 no message 23 tahun lalu
i386 1cec09f979 Add -Caoldwin32gnu ABI option to cope with 'ret $4' issues in old GNU mingw32 C compiler (version below 4.7) 11 tahun lalu
i8086 85dd9e5789 + added a size parameter to optimize_op_const and do a sign extension of the 'a' parameter up from the specified size, so that things like (i and $ffffffff) get optimized away the same way as (i and -1) 11 tahun lalu
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 tahun lalu
jvm 8065fc24d9 * fixed indentation of stack slot allocation debug statements 11 tahun lalu
m68k 2791e8ad15 use optimized cg loading functions in 64bit compares instead of hardcoded move.ls (move.l #X,dn is 48bit long, clr.l/moveq.l is 16bit long) 11 tahun lalu
mips 85dd9e5789 + added a size parameter to optimize_op_const and do a sign extension of the 'a' parameter up from the specified size, so that things like (i and $ffffffff) get optimized away the same way as (i and -1) 11 tahun lalu
msg af83a74544 Add -h output for new assemblers 11 tahun lalu
powerpc 5e6669890a Handle asmextraopt in powerpc, mips and sparc assemblers 11 tahun lalu
powerpc64 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ppcgen 3f33fdd445 Handle asmextraopt in powerpc assmeblers 11 tahun lalu
sparc 534ecbda9f * SPARC: r26561 caused a_op_const_reg_reg used for zero-extending 8-bit values to be optimized away. Fixed by replacing it with an explicit instruction. 11 tahun lalu
systems 9fc9f4bdba Use new as_i8086_nasmobj as external assembler for msdos target 11 tahun lalu
utils 19d71655eb utils: fix few errors with sharepath in samplecfg 11 tahun lalu
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 tahun lalu
x86 85dd9e5789 + added a size parameter to optimize_op_const and do a sign extension of the 'a' parameter up from the specified size, so that things like (i and $ffffffff) get optimized away the same way as (i and -1) 11 tahun lalu
x86_64 42140bd11f Add forgotten new file, should fix bug report 25571 11 tahun lalu
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 tahun lalu
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 tahun lalu
Makefile 2a2184bc40 * regenerated makefiles affected by the last change 11 tahun lalu
Makefile.fpc fd5fa95416 + OPTNEW Makefile parameter: when running a native cycle, this allows to pass a parameter only to the new generated compiler 11 tahun lalu
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 tahun lalu
aasmbase.pas 1f8192b6da * indention fixes 12 tahun lalu
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 tahun lalu
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 tahun lalu
aasmtai.pas 62e1df9e76 * fixed indentation 11 tahun lalu
aggas.pas 5cbcfca33f * changed some Objective-C section declarations to match what's outputted by 11 tahun lalu
agjasmin.pas 441b9feffc pass new asm extra opt using -ao option 11 tahun lalu
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 tahun lalu
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 tahun lalu
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 tahun lalu
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 tahun lalu
aoptobj.pas 0eeb3e8d49 * check if the pointer is really assigned when trying to remove unneeded jumps 11 tahun lalu
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 tahun lalu
assemble.pas 441b9feffc pass new asm extra opt using -ao option 11 tahun lalu
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 tahun lalu
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 tahun lalu
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 tahun lalu
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 tahun lalu
cclasses.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 tahun lalu
cfileutl.pas e87e2f9c30 Print out command line before running it with -vx option 11 tahun lalu
cg64f32.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
cgbase.pas 4148637c8c * fold mov/lea/mov as well if possible 11 tahun lalu
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions 11 tahun lalu
cgobj.pas be85998313 * fixes in optimize_op_const: 11 tahun lalu
cgutils.pas 70f9b098e0 no longer define a segment field for m68k 11 tahun lalu
cmsgs.pas aba10cd184 compiler: 13 tahun lalu
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 tahun lalu
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 12 tahun lalu
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 12 tahun lalu
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 tahun lalu
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 tahun lalu
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 tahun lalu
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
cresstr.pas eb508a18e9 compiler: remove RST writer 11 tahun lalu
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 tahun lalu
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 tahun lalu
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 tahun lalu
dbgdwarf.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
dbgstabs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
dbgstabx.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
defcmp.pas c077adf499 Fix for Mantis #25132 11 tahun lalu
defutil.pas 894d400a7b + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 12 tahun lalu
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 tahun lalu
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 tahun lalu
expunix.pas 0960ee2034 * Add missing checks for android target. 12 tahun lalu
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 tahun lalu
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 tahun lalu
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 tahun lalu
fpcdefs.inc e210d5f30e + cpu_capabilites for x86_64 and i386 11 tahun lalu
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 tahun lalu
gendef.pas aee5380ae0 * merged trunk up to r20882 13 tahun lalu
globals.pas 4441bbb9dc Add new global asmextraopt variable 11 tahun lalu
globstat.pas 88af293155 Fix for Mantis #22160 13 tahun lalu
globtype.pas 4aebcdaa94 * enable node dfa for life information with -O3: 11 tahun lalu
hlcg2ll.pas f69a76b5b1 * generate shorter code on 8-bit and 16-bit CPUs in thlcg2ll.location_force_reg, 11 tahun lalu
hlcgobj.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
htypechk.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 tahun lalu
import.pas bf1c390027 * refactor import library generation 19 tahun lalu
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 tahun lalu
link.pas bef22b2a6f Add scripted version of wlib call for msdos 11 tahun lalu
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 tahun lalu
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 tahun lalu
msgidx.inc 408dc2d2c1 Regenerated after: Add -h output for new assemblers 11 tahun lalu
msgtxt.inc 408dc2d2c1 Regenerated after: Add -h output for new assemblers 11 tahun lalu
nadd.pas 8b3217815b * When inlining currency (ordinal) multiplication, change resultdef to int64, in order to be consistent with behavior of generic handling. Fixes compilation faliure after r26500, Mantis #25565. 11 tahun lalu
nbas.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 tahun lalu
ncal.pas 1a3b46967e + Two more checks for access to global data and setting the pi_needs_got flag, intended for targets that require decision about PIC code generation strictly before pass 2. 11 tahun lalu
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code 11 tahun lalu
ncgcal.pas 235c06ab34 Implement volatile address registers. Fixes quite some tests, but also breaks others... (overall more are fixed than are broken :) ) 12 tahun lalu
ncgcnv.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgcon.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgflw.pas e26ce9e442 * Fix code generation of for-loops. Keeping a copy of to-value in register during pass 2 is basically a hack, because register may be destroyed if an exception is raised and handled in loop body. This went unnoticed because generic setjmp-based exception handling is restoring registers to the state at entry to try block, and Win64 SEH also has some register-preserving features. However, for Win32 SEH it is not true. 11 tahun lalu
ncginl.pas cb8100bccf * do not reuse registers in prec/succ 11 tahun lalu
ncgld.pas 9eb4419ba3 * fixed the conversion and assignment to the 64-bit boolean types on the i8086 11 tahun lalu
ncgmat.pas 36d0c8a5a7 * x86 and SPARC: fixed handling 64-bit (qwordbool) values in tcgnotnode (partial fix for Mantis #25255). 11 tahun lalu
ncgmem.pas 5e15e4b07d add basic constant handling to subscript nodes, avoid ie20060521 when building rgobj.pas with -O3/-O4 11 tahun lalu
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 tahun lalu
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 tahun lalu
ncgobjc.pas 4cf5e36ce7 compiler: 14 tahun lalu
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgrtti.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgset.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgutil.pas e6a9e385d3 * spelling fixed 11 tahun lalu
ncgvmt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncnv.pas 2081b9cad7 * do not convert a boolean to a 32 bit int first when converting to a 64 bit int, this causes data loss when casting e.g. a qwordbool to a qword 11 tahun lalu
ncon.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
nflw.pas b0441e1d64 * move setting of lnf_testatbegin into tfornode.simplify because it is a simplification 11 tahun lalu
ngenutil.pas 15df4a4f80 + support iso pascal like program parameters in iso mode 11 tahun lalu
ngtcon.pas ffd6a4ea47 * set the code page of rawbytestring typed constants to the same value as 11 tahun lalu
ninl.pas e841027a48 * fixes handling of typed files in iso mode 11 tahun lalu
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. 11 tahun lalu
nmat.pas 27f6fd1c2c * use new shl/shr constant folding (of r26295) only if forinline is set 11 tahun lalu
nmem.pas 5e15e4b07d add basic constant handling to subscript nodes, avoid ie20060521 when building rgobj.pas with -O3/-O4 11 tahun lalu
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 tahun lalu
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 tahun lalu
node.pas 880201e56c + pointerconstn is also a constant node 11 tahun lalu
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 tahun lalu
nset.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
nstate.pas 790a4fe2d3 * log and id tags removed 20 tahun lalu
nutils.pas 9d48bc0baf Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 12 tahun lalu
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 tahun lalu
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by 11 tahun lalu
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 tahun lalu
ogbase.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ogcoff.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ogelf.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 tahun lalu
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 tahun lalu
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 tahun lalu
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 tahun lalu
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 tahun lalu
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 tahun lalu
optcse.pas 1b355ce1e4 * apply cse to all non-regable variables if possible 11 tahun lalu
optdead.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 tahun lalu
optdfa.pas c44b5d1043 * take care of tempinitcode when creating def information for tempcreatenodes 11 tahun lalu
options.pas e9c0484b3c pass new asm extra opt using -ao option 11 tahun lalu
optloop.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 tahun lalu
opttail.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 tahun lalu
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. 11 tahun lalu
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 tahun lalu
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 tahun lalu
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 tahun lalu
paramgr.pas 6ea9ce1077 * Force managed types to be always returned in parameters, independent of target (primitive types were already handled that way; the patch affects small records with fields of managed types). 11 tahun lalu
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 tahun lalu
pass_1.pas 9fdd64e94c * indention and new line fixes 11 tahun lalu
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 tahun lalu
pbase.pas 1c578de28c compiler: 12 tahun lalu
pdecl.pas 79ef05407a compiler: fix error message (was error message about resourcestring for property) 11 tahun lalu
pdecobj.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
pdecsub.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
pdecvar.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 tahun lalu
pexpr.pas e841027a48 * fixes handling of typed files in iso mode 11 tahun lalu
pgenutil.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
pinline.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
pmodules.pas fe7238bdf1 * avoid compiler warning about uninitialized variable 11 tahun lalu
pp.lpi 440a592d68 * project file updated for newer lazarus versions 12 tahun lalu
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 tahun lalu
pparautl.pas 8744fbefbb * add $parentfp as a first parameter on i8086, instead of last. This makes 12 tahun lalu
ppc68k.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppc8086.lpi 6046edd8f9 + i8086/n8086cnv.pas added to lazarus project 12 tahun lalu
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 tahun lalu
ppcarm.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcavr.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 tahun lalu
ppcmips.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcppc.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcppc64.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcsparc.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 tahun lalu
ppu.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ppx86_64.lpi e96dc4204e * version update 13 tahun lalu
procinfo.pas 5c33644e5c compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865) 12 tahun lalu
pstatmnt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
psub.pas 6e63272ab7 * added missing parenthesis 11 tahun lalu
psystem.pas 44b141ea1a * also load the methodpointer type for managed VM types. It's required 12 tahun lalu
ptconst.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ptype.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
raatt.pas d89b9a4311 Add support in ARM assembler reader for ldr reg, =literal syntax 12 tahun lalu
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 tahun lalu
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 tahun lalu
rautils.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 tahun lalu
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 tahun lalu
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 tahun lalu
rgobj.pas 587acf6452 fix infinite spilling on m68k, patch by Florian, additional IE workaround by me, based on a similar hack in the ARM cg... 11 tahun lalu
scandir.pas 93883d1264 compiler: load binary unicode mappings in cpavailable() call instead of separate loadbinarycp() call 11 tahun lalu
scanner.pas 2274150698 * fixed compilation with -Oodfa on big endian systems 11 tahun lalu
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 tahun lalu
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 tahun lalu
symconst.pas 1d4a4d0684 + noreturn directive 11 tahun lalu
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 12 tahun lalu
symdef.pas 67413a2823 * fixed skpara setter of tprocdef after r26332 11 tahun lalu
symnot.pas 790a4fe2d3 * log and id tags removed 20 tahun lalu
symsym.pas 98e5dead27 * moved comments in from of fields for better readability 11 tahun lalu
symtable.pas 5fc4af09dd * don't crash when searching for a type helper in an anonymous array (or 11 tahun lalu
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. 11 tahun lalu
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 tahun lalu
systems.inc dfd37aae43 Add several x86 assemblers: yasm, and target specialized nasm, including for x86_64 11 tahun lalu
systems.pas 1cec09f979 Add -Caoldwin32gnu ABI option to cope with 'ret $4' issues in old GNU mingw32 C compiler (version below 4.7) 11 tahun lalu
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 tahun lalu
tokens.pas 1d4a4d0684 + noreturn directive 11 tahun lalu
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 tahun lalu
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 tahun lalu
widestr.pas f9c3c598b6 compiler: remove big codepage maps from the compiler executable - they will be loaded from -FM path when needed 11 tahun lalu
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 tahun lalu
wpobase.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 tahun lalu

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