sergei db72b8d7fd * TCGMips.a_loadfpu_reg_cgpara: temps of type Double need 8-byte alignment, according to description of sdcX/ldcX instructions. Using TCGSize2Size to specify alignment is somewhat weird, but it is being used in other CPU back-ends and looks working. 12 lat temu
..
aarch64 2aaa7514f4 + started cpupara for aarch64 12 lat temu
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 lat temu
arm e982f4789d Removed unused register allocation in tarminlinenode.second_abs_long 12 lat temu
avr d1b2a7732a + GetOffsetReg64 12 lat temu
generic 3017132268 * Remove triple sources 14 lat temu
html fa0d3d79e0 no message 23 lat temu
i386 2ea6979277 * handle Movzl/Op/Mov optimization correctly, resolves #23431 12 lat temu
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 lat temu
jvm d9e67fc835 * don't add a separate high parameter for array-of-const parameters on the 12 lat temu
m68k 5adb28a935 m68k/aasmcpu.pas, taicpu.spilling_get_operation_type: 12 lat temu
mips db72b8d7fd * TCGMips.a_loadfpu_reg_cgpara: temps of type Double need 8-byte alignment, according to description of sdcX/ldcX instructions. Using TCGSize2Size to specify alignment is somewhat weird, but it is being used in other CPU back-ends and looks working. 12 lat temu
msg db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
powerpc e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 lat temu
powerpc64 e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 lat temu
ppcgen 6497d3c994 - removed no longer used/supported af_allowdirect flag (direct assembler 13 lat temu
sparc 69d96d9bf9 * modified patch by Mark Morgan Lloyd to pass cpu type to the assembler, resolves #23390 12 lat temu
systems 73030ddb57 + Support smart-linked .rdata section with external linker for Windows targets after r23025. 12 lat temu
utils 4aa05f5133 + support for automatically generating setters/getters for properties on the 12 lat temu
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 lat temu
x86 d180d6f241 * fixed size of movzx/movsx with 64bit operand in x86-64 Intel asm reader 12 lat temu
x86_64 a771d68685 * Fixed a bug introduced in r23077: relative_reloc_count must be increased only once per GOT entry, not every time a relocation to that entry is seen. 12 lat temu
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 lat temu
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 lat temu
Makefile 0197b84b7f + instruction table generator for arm64 12 lat temu
Makefile.fpc 0197b84b7f + instruction table generator for arm64 12 lat temu
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 lat temu
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses 13 lat temu
aasmdata.pas ca5fabda6d * cleanup some unused units from uses clauses 13 lat temu
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 lat temu
aasmtai.pas 2ae8d604bc + shifterop for ARM64 12 lat temu
aggas.pas 17ff90deb9 aggas.pas, tgnuassembler.writetree.doalign: 12 lat temu
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 13 lat temu
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 lat temu
aoptbase.pas ca5078f9cf + RegModifiedBetween 13 lat temu
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 lat temu
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 lat temu
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel 13 lat temu
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 lat temu
assemble.pas 63f4e44fd5 assemble.pas, texternalcompiler.makecmdline: 13 lat temu
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 12 lat temu
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 lat temu
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 lat temu
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl 14 lat temu
cclasses.pas 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. 12 lat temu
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 lat temu
cfileutl.pas d749ac5354 * make ansistring unique before starting to change it using a pchar 12 lat temu
cg64f32.pas 2038a607ac cg64f32.pas, tcg64f32.a_load64_*_cgpara: 12 lat temu
cgbase.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 lat temu
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 lat temu
cgobj.pas d8c2930454 Also accept R_ADDRESSREGISTER in a_load_cgparaloc_anyreg method 13 lat temu
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 lat temu
cmsgs.pas aba10cd184 compiler: 13 lat temu
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 lat temu
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump 13 lat temu
compinnr.inc b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 13 lat temu
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 lat temu
constexp.pas 0e92f68032 - 2.0 overlefts removed 12 lat temu
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp646.pas 759bd33327 Use the ccharset unit instead of charset when compiling with 2.6.0 like is done for the other cp* units. 13 lat temu
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 lat temu
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 lat temu
crefs.pas 851b00f8e9 * more properties fixed 15 lat temu
cresstr.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 lat temu
cstreams.pas f79dc85033 * typo fixed 13 lat temu
cutils.pas 2f8027c63f + more sophisticated code to optimize multiplications on arm 13 lat temu
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 lat temu
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 lat temu
dbgdwarf.pas d956808080 Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330 12 lat temu
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in 13 lat temu
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 lat temu
defcmp.pas c7255f153e * sets with the same base/range can still have a different size (and hence 12 lat temu
defutil.pas 761fcca4ec + is_dynamicstring 12 lat temu
elfbase.pas 59593f86a7 + Some more ELF definitions (related to symbol versioning). 12 lat temu
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 lat temu
expunix.pas aee5380ae0 * merged trunk up to r20882 13 lat temu
finput.pas de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option 13 lat temu
fmodule.pas 88af293155 Fix for Mantis #22160 13 lat temu
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 lat temu
fpcdefs.inc 2dac1c445a - disabled Stabs support on 64 bit targets (mantis #23365) 12 lat temu
fppu.pas 88af293155 Fix for Mantis #22160 13 lat temu
gendef.pas aee5380ae0 * merged trunk up to r20882 13 lat temu
globals.pas db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
globstat.pas 88af293155 Fix for Mantis #22160 13 lat temu
globtype.pas 4aa05f5133 + support for automatically generating setters/getters for properties on the 12 lat temu
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux 13 lat temu
hlcgobj.pas 1a8128fa72 * initialize ovloc.loc in a_op*checkoverflow 13 lat temu
htypechk.pas fd8827d379 * prevent compiler crash caused by double freeing after reporting not 12 lat temu
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 lat temu
import.pas bf1c390027 * refactor import library generation 19 lat temu
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 lat temu
link.pas 36859068f5 * Propagate AS_NEEDED flag further into Load_DynamicObject and handle it properly: shared objects marked with AS_NEEDED are added to dependencies only if they actually resolve some symbol. 12 lat temu
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 lat temu
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 lat temu
msgidx.inc db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
msgtxt.inc db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
nadd.pas a8f9b0dac4 Added initial support for the Cortex-M4F FPv4_S16 FPU 13 lat temu
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the 13 lat temu
ncal.pas d9e67fc835 * don't add a separate high parameter for array-of-const parameters on the 12 lat temu
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match 13 lat temu
ncgbas.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if 13 lat temu
ncgcal.pas 7ea11f0171 Use SUPPORT_SAFECALL conditional 13 lat temu
ncgcnv.pas 4d4561923e * nil method pointers can be kept in registers 13 lat temu
ncgcon.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 lat temu
ncgflw.pas 18698bc93d Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG 13 lat temu
ncginl.pas b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 13 lat temu
ncgld.pas 761fcca4ec + is_dynamicstring 12 lat temu
ncgmat.pas 5e1e42ec2b * fixes support for cpus with cpunodefaultint for unary minus nodes 12 lat temu
ncgmem.pas 761fcca4ec + is_dynamicstring 12 lat temu
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 lat temu
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 lat temu
ncgobjc.pas 4cf5e36ce7 compiler: 14 lat temu
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 lat temu
ncgrtti.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 lat temu
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset 13 lat temu
ncgutil.pas 04543b179f o merge of the branch laksen/arm-embedded of Jeppe Johansen: 13 lat temu
ncnv.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 lat temu
ncon.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used 13 lat temu
nflw.pas 29095e9dd3 * fixed if-simplication for C-style booleans by considering all values 12 lat temu
ngenutil.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 lat temu
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed 13 lat temu
ninl.pas 761fcca4ec + is_dynamicstring 12 lat temu
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) 13 lat temu
nmat.pas 8e5bd14e3a * overleft newline fix 12 lat temu
nmem.pas 761fcca4ec + is_dynamicstring 12 lat temu
nobj.pas 4aa05f5133 + support for automatically generating setters/getters for properties on the 12 lat temu
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 lat temu
node.pas ca5fabda6d * cleanup some unused units from uses clauses 13 lat temu
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 lat temu
nset.pas 3983342648 * free temps created for case-of-string-statements 13 lat temu
nstate.pas 790a4fe2d3 * log and id tags removed 20 lat temu
nutils.pas 5929ec5592 * turned getpropaccesslist, add_parameters and add_index_parameter into 12 lat temu
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 lat temu
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 lat temu
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 lat temu
ogbase.pas 00ca4a74a3 * Reworked/fixed TExeSymbol.State behavior: 12 lat temu
ogcoff.pas db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
ogelf.pas 00ca4a74a3 * Reworked/fixed TExeSymbol.State behavior: 12 lat temu
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 lat temu
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 lat temu
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 lat temu
ognlm.pas eb13da9355 * ognlm.pas cleanup: 12 lat temu
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 lat temu
optcse.pas 4aca018f62 * setelement nodes itself should not be considered, since setelement 12 lat temu
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 lat temu
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable 13 lat temu
options.pas 2dac1c445a - disabled Stabs support on 64 bit targets (mantis #23365) 12 lat temu
optloop.pas 9773b92cbe * improved for loop unrolling 13 lat temu
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 13 lat temu
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops 17 lat temu
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 lat temu
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 lat temu
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 lat temu
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 lat temu
paramgr.pas 3eb527b532 * make use_fixed_stack for i386 more generic (any target with more than 12 lat temu
parser.pas 88af293155 Fix for Mantis #22160 13 lat temu
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 lat temu
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 lat temu
pbase.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 lat temu
pdecl.pas ca5fabda6d * cleanup some unused units from uses clauses 13 lat temu
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 lat temu
pdecsub.pas 04543b179f o merge of the branch laksen/arm-embedded of Jeppe Johansen: 13 lat temu
pdecvar.pas a1923f02f8 * always mark symbols referenced by properties as "used"; in case the 12 lat temu
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 lat temu
pexpr.pas 5929ec5592 * turned getpropaccesslist, add_parameters and add_index_parameter into 12 lat temu
pgenutil.pas 54c1e638ad Fix for Mantis #22428. 13 lat temu
pinline.pas d67f31a0e1 * allow type parameters variables being passed to new/dispose, resolves #23270 12 lat temu
pmodules.pas 8b17a358e4 Remove all traces of the interrupt vector table generation mechanism 13 lat temu
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 lat temu
pp.pas 7089d1d638 + defines for aarch64 to configure the compiler 12 lat temu
pparautl.pas dfe3ca5328 * prevent invalid typecast on targets using nestedfpstruct functionality 12 lat temu
ppc68k.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcarm.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcavr.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcmips.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcppc.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcppc64.lpi 9ebf2aa984 * project file updates 13 lat temu
ppcsparc.lpi 9ebf2aa984 * project file updates 13 lat temu
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 lat temu
ppu.pas d9e67fc835 * don't add a separate high parameter for array-of-const parameters on the 12 lat temu
ppx86_64.lpi e96dc4204e * version update 13 lat temu
procinfo.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 lat temu
pstatmnt.pas f6109d7c65 * improved error reporting by printing the type being found in with expressions 12 lat temu
psub.pas fcaff0489c * psub.pas : translate tregister for registerhi also 13 lat temu
psystem.pas a42b934c69 * introduce FPC_SUPPORT_X87_TYPES_ON_WIN64 define which allows to build 12 lat temu
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 lat temu
ptype.pas 64740049bf * fix for mantis #22796: add alignment padding to records before inserting 13 lat temu
raatt.pas 6fb90850e9 * lastdirective should be always AS_END 13 lat temu
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 lat temu
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 lat temu
rautils.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 lat temu
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 lat temu
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 lat temu
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 lat temu
rgobj.pas d15304c25e Also check for the type of the register when replacing it. In certain circumstances this can still lead to access to invalid memory resulting either in an access violation or invalid registers. 13 lat temu
scandir.pas db68214e88 + support setpeoptflags directive, resolves #23447 12 lat temu
scanner.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 lat temu
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 lat temu
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 lat temu
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 lat temu
symconst.pas 4aa05f5133 + support for automatically generating setters/getters for properties on the 12 lat temu
symcreat.pas 4aa05f5133 + support for automatically generating setters/getters for properties on the 12 lat temu
symdef.pas c4a55f5481 * store the "synthetic kind" information about procdefs in ppu files, 12 lat temu
symnot.pas 790a4fe2d3 * log and id tags removed 20 lat temu
symsym.pas 5929ec5592 * turned getpropaccesslist, add_parameters and add_index_parameter into 12 lat temu
symtable.pas 1c32590294 + added search_struct_member_no_helper() to search a struct for a symbol 12 lat temu
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 lat temu
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 lat temu
systems.inc 600dd162af Merge of rev21557 by Foxsen 13 lat temu
systems.pas 6497d3c994 - removed no longer used/supported af_allowdirect flag (direct assembler 13 lat temu
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 lat temu
tokens.pas bc4a8ac63e + constant postfixoperator_tokens 12 lat temu
verbose.pas 2d0f01e0dd Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option 13 lat temu
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string 13 lat temu
widestr.pas 32fc7118d4 compiler: add US-ASCII codepage 13 lat temu
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 lat temu
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 lat temu
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 lat temu

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