pierre d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type hace 13 años
..
alpha 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
arm 64ac48c815 * patch by Nico Erfurth: Better support for PLD on ARM hace 13 años
avr edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
generic 3017132268 * Remove triple sources hace 14 años
html fa0d3d79e0 no message hace 23 años
i386 b9f8934d7e * Fix for go32v2 specific failure in test/cg/tcalval5 with -Aas option hace 13 años
ia64 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
jvm 8234a842e6 * fixed conversion of empty ansistring/widestring constants to pchar on hace 13 años
m68k edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
mips 9453b1bb1e Merge of revision 21551 by Foxsen. hace 13 años
msg 9f0fb9cf10 - removed "<<<<<<< HEAD" leftover from a conflicting merge hace 13 años
powerpc df99ef17b6 + mfpvr, mfdcr, mtdcr, mfdec and mtdec opcodes (mantis #18878) hace 13 años
powerpc64 edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ppcgen f2c82e32cd - removed g_indirect_sym_load() from hlcgobj/hlcg2ll because this cgobj hace 13 años
sparc 618a5e8e2e * fixed operand order for AND-operation in smallset<=/=>smallset code hace 13 años
systems 9fc6f91cd0 Set correct source info for mips/mipsel hace 13 años
utils 31b1678757 * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units hace 13 años
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
x86 1579583484 * COMISD (and COMISS, too) instruction cannot have memory reference as destination, Mantis #22150. hace 13 años
x86_64 53c39d5420 * fixes peephole optimizer problems with -O3 on x86-64 hace 13 años
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests hace 19 años
Makefile 8698357d6c Makefile regenerazted after change to Makefile.fpc: hace 13 años
Makefile.fpc f369069965 + Add CYCLELEVEL variable, whose value can be from 1 to 3 hace 13 años
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
aasmbase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
aasmdata.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files hace 18 años
aasmtai.pas be5a5d6ae6 - Removed redundant fillchar() calls, class instances are cleared on construction. hace 13 años
aggas.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
agjasmin.pas 9c0ec8ee8c * part of r21120, forgot to commit hace 13 años
aopt.pas 8832a34b67 * fix reg. allocs even for procedures without labels hace 13 años
aoptbase.pas d4c120cb34 * fix comment so it does not confuse lazarus hace 13 años
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg hace 13 años
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis hace 16 años
aoptobj.pas 72746e635d * optimize TAOptObj.UpdateUsedRegs to avoid multiple passes through the asmlist hace 13 años
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring hace 13 años
assemble.pas dc03282cb7 + Support assembling expressions ".long L2-L1" where label L1 belongs to the current objsection and L2 comes from any objsection. This is done using relative relocations and is compatible with GNU AS. hace 13 años
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build hace 25 años
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because hace 16 años
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl hace 14 años
cclasses.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems hace 15 años
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there hace 13 años
cg64f32.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
cgbase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg hace 13 años
cgobj.pas f2c82e32cd - removed g_indirect_sym_load() from hlcgobj/hlcg2ll because this cgobj hace 13 años
cgutils.pas 992cc352c6 * generalized handling of pointers to non-implicit pointer types: hace 14 años
cmsgs.pas aba10cd184 compiler: hace 14 años
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump hace 13 años
compinnr.inc aee5380ae0 * merged trunk up to r20882 hace 13 años
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 hace 14 años
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: hace 14 años
crefs.pas 851b00f8e9 * more properties fixed hace 16 años
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring hace 13 años
cstreams.pas f79dc85033 * typo fixed hace 13 años
cutils.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary hace 13 años
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released hace 14 años
dbgbase.pas 813ebf08e3 * Avoid having current_debuginfo pointing to freed memory hace 13 años
dbgdwarf.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
dbgstabs.pas 84214d1249 * Use mips_extra_offset function to give offsets expected by GDB for MIPS cpu hace 13 años
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
defcmp.pas 50659b7e7f * give an error if a routine definition defines default values for hace 13 años
defutil.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works hace 16 años
expunix.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
finput.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
fmodule.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
fpccrc.pas 793fd8fc09 * Add -Xg to help pages hace 17 años
fpcdefs.inc 1e1e0f969e * Patch from Fuxin Zhang: remove cpuflags define for mips and mipsel CPUs hace 13 años
fppu.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
gendef.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
globals.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type hace 13 años
globtype.pas ca29bb10af - zapped some gremlins in comments hace 13 años
hlcg2ll.pas f2c82e32cd - removed g_indirect_sym_load() from hlcgobj/hlcg2ll because this cgobj hace 13 años
hlcgobj.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, hace 13 años
htypechk.pas 12553a9367 * don't give -CO warnings or hints for ordinal constants, because those hace 13 años
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary hace 13 años
import.pas bf1c390027 * refactor import library generation hace 19 años
link.pas 6571b4d140 * Factored code to create internal link script for debug sections into a separate procedure. hace 13 años
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by hace 14 años
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 hace 14 años
msgidx.inc 9f0fb9cf10 - removed "<<<<<<< HEAD" leftover from a conflicting merge hace 13 años
msgtxt.inc 9f0fb9cf10 - removed "<<<<<<< HEAD" leftover from a conflicting merge hace 13 años
nadd.pas a2426178dc * don't insert type conversions in add nodes if both arguments are constant hace 13 años
nbas.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
ncal.pas 3414f91590 * minor reformatting, and removed superfluous assigned test (the value is hace 13 años
ncgadd.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgbas.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level hace 14 años
ncgcal.pas 9bfb8b5d48 * fixed (currently harmless) error in r21287 that specified that the full hace 13 años
ncgcnv.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgcon.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring hace 13 años
ncgflw.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncginl.pas 4a730bd053 * fixed source type for location_force_register() when loading second hace 13 años
ncgld.pas 78bb3e323a * fixed source type information for values loaded in arrayconstructor after hace 13 años
ncgmat.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgmem.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref hace 14 años
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested hace 14 años
ncgobjc.pas 4cf5e36ce7 compiler: hace 14 años
ncgopt.pas 0e87627218 + gethltemp() to allocate a temp specifying full type information even hace 14 años
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. hace 13 años
ncgset.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgutil.pas 2162df1802 * patch by Jeppe Johansen: fix gen_load_cgpara_loc for mips(el) hace 13 años
ncnv.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are hace 13 años
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
ngenutil.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, hace 13 años
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed hace 13 años
ninl.pas 7332a0f801 ninl.pas, tinlinenode.pass_typecheck: an intrinsic which has a generic type parameter as argument is left as is (e.g. a call) and thus this needs to be respected when typechecking a SizeOf. Fixes Mantis #21592. hace 13 años
nld.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are hace 13 años
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using hace 13 años
nobj.pas 50659b7e7f * give an error if a routine definition defines default values for hace 13 años
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code hace 15 años
node.pas eedb5c89de * part of r20140, forgot to commit hace 13 años
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it hace 13 años
nset.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 hace 14 años
nstate.pas 790a4fe2d3 * log and id tags removed hace 20 años
nutils.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, hace 13 años
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). hace 14 años
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent hace 13 años
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated hace 13 años
ogbase.pas 807a2f243f * Fixed control flow after r21492, was causing IE 200602252 if compiling with "-g -Xg" (Mantis #22224) hace 13 años
ogcoff.pas 4e95b50344 * Improved performance of COFF object reader: handle string table as array of chars instead of stream, use Pos instead of Copy to determine if name starts with the given chars. hace 13 años
ogelf.pas 85f6062e05 * Reworked writing ELF symbols into a separate class, TElfSymtab, which is also suitable for creating symbol tables in executable and dynamic ELF files. hace 13 años
oglx.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead hace 13 años
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. hace 17 años
ognlm.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse hace 15 años
optcse.pas ffbf1a7331 * Avoid pointer typecast warning hace 14 años
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable hace 13 años
options.pas 2b90b444bf Differentiate mips/mipsel default system macros hace 13 años
optloop.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space hace 14 años
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops hace 17 años
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated hace 15 años
owar.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 hace 14 años
owbase.pas 96e8e89e16 * write error code if an object file cannot be created hace 13 años
parabase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
paramgr.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
parser.pas 6972947c6b compiler: remove unused variable hace 14 años
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef hace 15 años
pass_2.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
pbase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
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. hace 13 años
pdecobj.pas 7dfaec7a05 Fix for Mantis #21457 hace 13 años
pdecsub.pas 7dfaec7a05 Fix for Mantis #21457 hace 13 años
pdecvar.pas def357287e * revert revision 21251 for pdecvar.pas: not generating the bss-data for the static symbol for a generic breaks linking with debug info enabled; I'll need to find a better solution to avoid unneeded use of space (luckily it wasn't needed to fix any bug ^^) hace 13 años
pexports.pas 3589f90cf8 * also show the valid bounds in most cases when signalling a range check hace 13 años
pexpr.pas dbc410de63 Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688. hace 13 años
pgenutil.pas 4312aa4e08 compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test hace 13 años
pinline.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
pp.lpi 5cfc865889 * version update hace 13 años
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 hace 13 años
pparautl.pas 19053de279 * Added {$i fpcdefs.inc}, was missing in the newly added unit, causing incorrect parameter positions on some platforms (e.g. broken tsafecall2, tsafecall3). hace 13 años
ppc.cfg 9465a13e71 + Delphi 6 configuration file hace 23 años
ppc.conf add30a428e * Kylix fixes, mostly case names of units hace 24 años
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
ppc68k.lpi ab217ca748 * lpi version increased hace 16 años
ppcarm.lpi a953b732d4 * update of project file hace 13 años
ppcavr.lpi 645b6942d0 * version update hace 14 años
ppcmips.lpi 5bf1354eca * lazarus project file updates hace 13 años
ppcmipsel.lpi 31f54a7810 * use separate build directory for mipsel hace 13 años
ppcppc.lpi ab217ca748 * lpi version increased hace 16 años
ppcsparc.lpi ab217ca748 * lpi version increased hace 16 años
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
ppu.pas 31b1678757 * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units hace 13 años
ppx86_64.lpi e96dc4204e * version update hace 13 años
procinfo.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
pstatmnt.pas c1269b0305 * Patch from Fuxin Zhang: po_assembler special code also disabled for mips and mipsel CPUs hace 13 años
psub.pas 7dfaec7a05 Fix for Mantis #21457 hace 13 años
psystem.pas 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
ptconst.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
ptype.pas bf9cb352b3 ptype.pas, single_type: If the generic dummy type is used in mode Delphi then generate an error. This fixes Mantis #21363. hace 13 años
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader hace 13 años
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist hace 19 años
rautils.pas 97559ea92a * Define MAX_OPER_X to avoid warnings about array index past maximum value hace 14 años
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: hace 14 años
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix hace 13 años
rgbase.pas 790a4fe2d3 * log and id tags removed hace 20 años
rgobj.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
scandir.pas 958600e74b * by default disable the warning about interfaces raising a particular hace 13 años
scanner.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type hace 13 años
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there hace 13 años
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically hace 14 años
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a hace 14 años
symconst.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID hace 13 años
symdef.pas ae7dd3a930 tprocdef.total_local_size field added for MIPS cpu hace 13 años
symnot.pas 790a4fe2d3 * log and id tags removed hace 20 años
symsym.pas 31b1678757 * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units hace 13 años
symtable.pas 572012fad3 * mark units as used in case only static symbols from inside object, hace 13 años
symtype.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. hace 13 años
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). hace 18 años
systems.inc aee5380ae0 * merged trunk up to r20882 hace 13 años
systems.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
tgobj.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level hace 14 años
tokens.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
verbose.pas 2b4e2dc164 * Fix ChangeMessageVerbosity by adingd a recordpendingmessagestate call hace 14 años
version.pas 38ecd5371f Add mips and mipsel source_cpu_string hace 13 años
widestr.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
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 hace 16 años
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 hace 14 años
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used hace 15 años

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