Jonas Maebe 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 13 години
..
alpha 502cd6db29 Remove tai_ent, which is moved to aasmtai unit преди 13 години
arm aa4fe66153 Fix ARM ASM-reader for MVN/CMP/CMN/TST/TEQ преди 13 години
avr 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
generic 3017132268 * Remove triple sources преди 14 години
html fa0d3d79e0 no message преди 23 години
i386 d6066ed51a * fixed compilation for i386/m68k after r21878/21879 преди 13 години
ia64 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in преди 13 години
jvm 7717e43929 * moved setting the call result to a separate method, so it can still be преди 13 години
m68k d6066ed51a * fixed compilation for i386/m68k after r21878/21879 преди 13 години
mips 7717e43929 * moved setting the call result to a separate method, so it can still be преди 13 години
msg c2be657671 * give an error instead of a note on the JVM target when overriding a преди 13 години
powerpc 92b4c84dae * fixed 'int64 shl/shr 0' on ppc32 преди 13 години
powerpc64 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
ppcgen 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
sparc 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
systems 2638bc01d9 * Fixed error introduced in r21732. For libraries, startup is always dllprt0.o, regardless of profiling/linking to libc. Mantis #22397. преди 13 години
utils 3a082f8c29 Add defautl mips name and use mips instead of mipseb преди 13 години
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in преди 13 години
x86 21524c56c6 * If subtrahend symbol belongs to current section, generate a RELATIVE relocation instead of PIC_PAIR. Now the corresponding relative expressions in assembler operands compile correctly on all i386 targets (and x86_64 too, although such feature is less important there). преди 13 години
x86_64 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 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 68d7e943c8 + Add global_used callback procedure преди 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 f92fba996d + New tai_ent and tai_ent_end classes преди 13 години
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end преди 13 години
agjasmin.pas 9c0ec8ee8c * part of r21120, forgot to commit преди 13 години
aopt.pas 117c083003 * call inherited Destroy in TAsmOptimizer to avoid memory leak преди 13 години
aoptbase.pas 9825fbf554 Support top_shifterop and top_regset for arm in RegInOp преди 13 години
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg преди 13 години
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis преди 16 години
aoptobj.pas d472a6d5d0 * changed tregset into tcpuregisterset so it's faster and uses less memory преди 13 години
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring преди 13 години
assemble.pas 1f762cc247 Add and replacement, for MIPS преди 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 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to преди 13 години
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg преди 13 години
cgobj.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg преди 13 години
cgutils.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to преди 13 години
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 8001979f7e Reworked ispowerof2 in cutils.pas преди 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 63ab1bae3e * don't allow ordinal->ptr-based-objectdef conversions on managed platforms, преди 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 bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. преди 13 години
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: преди 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 b0462d27cc * by default, no longer initialize enumeration fields of classes/objects преди 13 години
hlcg2ll.pas 7717e43929 * moved setting the call result to a separate method, so it can still be преди 13 години
hlcgobj.pas 7717e43929 * moved setting the call result to a separate method, so it can still be преди 13 години
htypechk.pas fdbe35aadf * only try to call procvars while choosing overloads in case they don't преди 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 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). преди 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 c2be657671 * give an error instead of a note on the JVM target when overriding a преди 13 години
msgtxt.inc c2be657671 * give an error instead of a note on the JVM target when overriding a преди 13 години
nadd.pas a2426178dc * don't insert type conversions in add nodes if both arguments are constant преди 13 години
nbas.pas c62a2c8bb5 + write temptype when printing tempdelete nodes преди 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 1955255dda * let thlcg.a_call_name() return the tcgpara representing the function преди 13 години
ncgcnv.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for преди 13 години
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. преди 13 години
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
ncginl.pas 89c230c035 * moved assert handling from second to first pass, so that the code generator преди 13 години
ncgld.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
ncgmat.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
ncgmem.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 13 години
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref преди 13 години
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested преди 14 години
ncgobjc.pas 4cf5e36ce7 compiler: преди 14 години
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg преди 13 години
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 9197ce100e * converted tcg.g_copyvaluepara_openarray() to thlcg преди 13 години
ncnv.pas 99c22b87c1 * moved transformation of char-to-chararray type conversion into helpers преди 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 dd59db1bba * Set retun value of get_frame method to nil преди 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 c2be657671 * give an error instead of a note on the JVM target when overriding a преди 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 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. преди 13 години
ogcoff.pas 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. преди 13 години
ogelf.pas 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. преди 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 ecddfb7838 + Added FPC_LOCALS_ARE_STACK_REG_RELATIVE system macro for MIPS cpu преди 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 083f0a7137 + Added a flag to tarobjectreader constructor that allows it to work as regular tobjectreader if archive signature is missing. преди 13 години
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). преди 13 години
parabase.pas aee5380ae0 * merged trunk up to r20882 преди 13 години
paramgr.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via преди 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 adf66eed8b * don't turn constref shortstring parameters into openstrings (they can't преди 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 1b3b097f3a * always interpret a function name on the RHS as a recursive function преди 13 години
pgenutil.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 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 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 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 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 13 години
psystem.pas 56fcc87cb2 * add get_frame as an internal symbol for the jvm target because that target преди 13 години
ptconst.pas 834026bfb5 * synchronised with trunk up to r21067 преди 13 години
ptype.pas f9211271d5 Fix for Mantis #22154: преди 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 f9cdf3d4ca Be more specific in spilling debug messages преди 13 години
scandir.pas 958600e74b * by default disable the warning about interfaces raising a particular преди 13 години
scanner.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 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 07ebc51b6c * always store generics token streams in little endian, so we don't have to преди 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 71c13190e1 Fix for Mantis #22329. преди 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 3f14f2b61b + be able to turn off warning -> error conversion on the command line (with -) преди 13 години
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string преди 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