florian 49246b6263 * make textrec/filerec unpacked, this improves the code significantly on arm etc. 13 éve
..
alpha 502cd6db29 Remove tai_ent, which is moved to aasmtai unit 13 éve
arm 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
avr aadf6da14f * better naming of CPU flag strings 13 éve
generic 3017132268 * Remove triple sources 14 éve
html fa0d3d79e0 no message 23 éve
i386 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
jvm 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
m68k 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
mips 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
msg 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
powerpc 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
powerpc64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
ppcgen 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
sparc 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
systems ad3aa937d3 * respect Dontlinkstdlibpath when adding a default library search path 13 éve
utils 3a082f8c29 Add defautl mips name and use mips instead of mipseb 13 éve
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 éve
x86 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
x86_64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 éve
Makefile 8698357d6c Makefile regenerazted after change to Makefile.fpc: 13 éve
Makefile.fpc f369069965 + Add CYCLELEVEL variable, whose value can be from 1 to 3 13 éve
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
aasmbase.pas 68d7e943c8 + Add global_used callback procedure 13 éve
aasmdata.pas 834026bfb5 * synchronised with trunk up to r21067 13 éve
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 éve
aasmtai.pas f92fba996d + New tai_ent and tai_ent_end classes 13 éve
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end 13 éve
agjasmin.pas 9c0ec8ee8c * part of r21120, forgot to commit 13 éve
aopt.pas 117c083003 * call inherited Destroy in TAsmOptimizer to avoid memory leak 13 éve
aoptbase.pas 9825fbf554 Support top_shifterop and top_regset for arm in RegInOp 13 éve
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 éve
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 éve
aoptobj.pas d472a6d5d0 * changed tregset into tcpuregisterset so it's faster and uses less memory 13 éve
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 éve
assemble.pas 24c7b7f433 * If alignment requirement of data is bigger than alignment of the section being written to, increase section alignment to match. This mostly affects cases of non-smart linking, where wrong initial alignment used to cause hard to catch misalignment issues. It also largely obsoletes the need to supply the initial section alignment (hidden tai_section constructor,etc). 13 éve
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 éve
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 éve
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl 14 éve
cclasses.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 éve
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 éve
cg64f32.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 éve
cgbase.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to 13 éve
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 éve
cgobj.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg 13 éve
cgutils.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to 13 éve
cmsgs.pas aba10cd184 compiler: 14 éve
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump 13 éve
compinnr.inc aee5380ae0 * merged trunk up to r20882 13 éve
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 éve
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 éve
crefs.pas 851b00f8e9 * more properties fixed 16 éve
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 éve
cstreams.pas f79dc85033 * typo fixed 13 éve
cutils.pas 8001979f7e Reworked ispowerof2 in cutils.pas 13 éve
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 éve
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 éve
dbgdwarf.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
dbgstabs.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 éve
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
defcmp.pas 4d31fbc31d * also allow conversion of niln to forward-defined pointerdef 13 éve
defutil.pas b0458b55a3 Loosen the restriction regarding operator overloads by applying a (modified) patch from JC Chu. This fixes Mantis #22359. 13 éve
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 éve
expunix.pas aee5380ae0 * merged trunk up to r20882 13 éve
finput.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
fmodule.pas ba4b08261c * fixed (real)modulename memory leak when changing the module name 13 éve
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 éve
fpcdefs.inc bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. 13 éve
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: 13 éve
gendef.pas aee5380ae0 * merged trunk up to r20882 13 éve
globals.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type 13 éve
globtype.pas 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
hlcg2ll.pas 7717e43929 * moved setting the call result to a separate method, so it can still be 13 éve
hlcgobj.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
htypechk.pas 360592d1f4 Some corrections after the loosening of operator overloads: 13 éve
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 éve
import.pas bf1c390027 * refactor import library generation 19 éve
link.pas 1d09005542 + Implemented two-stage removal of empty exe sections. Candidates for removal are first marked with oso_disabled flag, then actually removed. Descendants of TExeOutput that override MemPos_Start may modify list of sections pending removal. In particular, the COFF-specific .reloc section no longer has to be handled in base TExeOutput class. 13 éve
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 éve
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 éve
msgidx.inc 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
msgtxt.inc 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
nadd.pas a2426178dc * don't insert type conversions in add nodes if both arguments are constant 13 éve
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the 13 éve
ncal.pas 2c122a9bf6 * inherit modification flag from load nodes when creating temp nodes when inlining, dfa/cse need this information 13 éve
ncgadd.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 éve
ncgbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the 13 éve
ncgcal.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
ncgcnv.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 éve
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. 13 éve
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
ncginl.pas 89c230c035 * moved assert handling from second to first pass, so that the code generator 13 éve
ncgld.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
ncgmat.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
ncgmem.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 éve
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 éve
ncgobjc.pas 4cf5e36ce7 compiler: 14 éve
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 éve
ncgrtti.pas a54e342060 + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. 13 éve
ncgset.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 éve
ncgutil.pas 9197ce100e * converted tcg.g_copyvaluepara_openarray() to thlcg 13 éve
ncnv.pas c25d9d5e06 * do not search for overloaded operators while parsing constant declarations, 13 éve
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 13 éve
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 éve
ngenutil.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, 13 éve
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed 13 éve
ninl.pas 684bf4fba2 + Reject object types without VMT as arguments of typeof(). Without this check, an undefined reference to VMT is generated which fails at the linking stage. 13 éve
nld.pas b1d00b66ac * fixed internalerror after invalid type node in subscript node 13 éve
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are 13 éve
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using 13 éve
nobj.pas c2be657671 * give an error instead of a note on the JVM target when overriding a 13 éve
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 éve
node.pas eedb5c89de * part of r20140, forgot to commit 13 éve
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 éve
nset.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 14 éve
nstate.pas 790a4fe2d3 * log and id tags removed 20 éve
nutils.pas 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
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 éve
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 éve
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 éve
ogbase.pas c1e7e9c85e * TObjData.symbolref: don't lose the weak binding of asm symbol. This fixes tests/tweaklib*.pp at least for Linux x86 targets with internal assembler. 13 éve
ogcoff.pas 95535ea845 - Do not create any default object sections. On targets with section-based smartlink these sections remain empty and only cause linker to do useless job of removing them. The same happens when loading object files because duplicate section names are allowed at that time. On targets without smartlink they don't stay empty, but the internal assembler creates sections when required, so not creating initial sections effectively doesn't change anything. 13 éve
ogelf.pas 95535ea845 - Do not create any default object sections. On targets with section-based smartlink these sections remain empty and only cause linker to do useless job of removing them. The same happens when loading object files because duplicate section names are allowed at that time. On targets without smartlink they don't stay empty, but the internal assembler creates sections when required, so not creating initial sections effectively doesn't change anything. 13 éve
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 éve
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 éve
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 17 éve
ognlm.pas 1d09005542 + Implemented two-stage removal of empty exe sections. Candidates for removal are first marked with oso_disabled flag, then actually removed. Descendants of TExeOutput that override MemPos_Start may modify list of sections pending removal. In particular, the COFF-specific .reloc section no longer has to be handled in base TExeOutput class. 13 éve
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 éve
optcse.pas 1c2ed53735 * updated comments to reflect latest changes to cse 13 éve
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable 13 éve
options.pas 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
optloop.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 éve
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 14 éve
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops 17 éve
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 éve
owar.pas 083f0a7137 + Added a flag to tarobjectreader constructor that allows it to work as regular tobjectreader if archive signature is missing. 13 éve
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 éve
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
paramgr.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
parser.pas 6972947c6b compiler: remove unused variable 14 éve
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 éve
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 éve
pbase.pas aee5380ae0 * merged trunk up to r20882 13 éve
pdecl.pas aa0f1bdf26 pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593. 13 éve
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
pdecsub.pas aad3ce960a * give an error when trying to give a parameter of a non-simple type a 13 éve
pdecvar.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 éve
pexpr.pas 3d19605fc2 * Using OleVariant type should trigger inclusion of Variants unit into uses clause the same way as using Variant type does. Mantis #22504. 13 éve
pgenutil.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to 13 éve
pinline.pas aee5380ae0 * merged trunk up to r20882 13 éve
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
pp.lpi 5cfc865889 * version update 13 éve
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 13 éve
pparautl.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 éve
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 éve
ppc.conf add30a428e * Kylix fixes, mostly case names of units 24 éve
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 éve
ppc68k.lpi ab217ca748 * lpi version increased 16 éve
ppcarm.lpi a953b732d4 * update of project file 13 éve
ppcavr.lpi 645b6942d0 * version update 14 éve
ppcmips.lpi 5bf1354eca * lazarus project file updates 13 éve
ppcmipsel.lpi 31f54a7810 * use separate build directory for mipsel 13 éve
ppcppc.lpi ab217ca748 * lpi version increased 16 éve
ppcsparc.lpi ab217ca748 * lpi version increased 16 éve
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) 19 éve
ppu.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to 13 éve
ppx86_64.lpi e96dc4204e * version update 13 éve
procinfo.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 éve
pstatmnt.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 éve
psub.pas 5e93f6b70f - reverted r1733, which caused all local procedures to become global in case 13 éve
psystem.pas a7311f1348 * Fixed handling of OleVariant type (was messed up with Variant), now comparisons with colevarianttype work correctly, resolves #22504 (r21970 was correct but not enough). 13 éve
ptconst.pas 834026bfb5 * synchronised with trunk up to r21067 13 éve
ptype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader 13 éve
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 éve
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 éve
rautils.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 éve
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 éve
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 éve
rgbase.pas 790a4fe2d3 * log and id tags removed 20 éve
rgobj.pas ecdec2e431 * disable reg. allocator optimization introduced in r21812 for now because it caused some trouble, see #22405 13 éve
scandir.pas 958600e74b * by default disable the warning about interfaces raising a particular 13 éve
scanner.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to 13 éve
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 éve
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 éve
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 éve
symconst.pas 834026bfb5 * synchronised with trunk up to r21067 13 éve
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID 13 éve
symdef.pas 49246b6263 * make textrec/filerec unpacked, this improves the code significantly on arm etc. 13 éve
symnot.pas 790a4fe2d3 * log and id tags removed 20 éve
symsym.pas ebda98deec * give (w)string tconstsyms a def, so all constsyms always have a def 13 éve
symtable.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 éve
systems.inc 600dd162af Merge of rev21557 by Foxsen 13 éve
systems.pas c1e7e9c85e * TObjData.symbolref: don't lose the weak binding of asm symbol. This fixes tests/tweaklib*.pp at least for Linux x86 targets with internal assembler. 13 éve
tgobj.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level 14 éve
tokens.pas aee5380ae0 * merged trunk up to r20882 13 éve
verbose.pas 3f14f2b61b + be able to turn off warning -> error conversion on the command line (with -) 13 éve
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string 13 éve
widestr.pas aee5380ae0 * merged trunk up to r20882 13 éve
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 éve
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 éve
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 éve

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