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

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