pierre 5bbd9597e0 + Add handling of PIC mode with unlimited GOT size преди 13 години
..
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers преди 13 години
arm 1a97e61619 * factored out fixref from handle_load_store, and handle indirect symbol преди 13 години
avr 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added преди 13 години
generic 3017132268 * Remove triple sources преди 14 години
html fa0d3d79e0 no message преди 23 години
i386 5b5a5ab7af + Add EXTDEBUG warning if pi_needs_got was not set in pass_1 преди 13 години
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects преди 13 години
jvm 62c8e47547 + override unnecessary abstract thlcgobj methods with internal errors преди 13 години
m68k 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added преди 13 години
mips d01ec10f45 Fix tw22326 for mips CPU преди 13 години
msg eeda54b7eb * fixed copy-paste error in -O4 description преди 13 години
powerpc 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added преди 13 години
powerpc64 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers преди 13 години
ppcgen 952ac1ffa6 * only use indirect symbol loads for (weak)external and private_external преди 13 години
sparc 5bbd9597e0 + Add handling of PIC mode with unlimited GOT size преди 13 години
systems f5ddc02a5c + add debian armel library search path преди 13 години
utils 29c71d39ac Preparations for upcoming work on generics: преди 13 години
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in преди 13 години
x86 d93cee995b * fix register method pointer for ppc64 and x86_64-linux преди 13 години
x86_64 dcdcc6988d * if an agregate contains unaligned fields, it has to be passed via memory преди 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 ad45f8be0b Regenerated after: avoid troubles if svnversion is found twice in SEARCHPATH преди 13 години
Makefile.fpc 0dc69d5b3e Avoid troubles if svnversion is found twice in SEARCHPATH преди 13 години
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files преди 16 години
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
aasmdata.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files преди 18 години
aasmtai.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
aggas.pas dc5c318eeb * fixed compilation with -dTEST_WIN64_SEH after r22433 based on patch by преди 13 години
agjasmin.pas 9feee08eba * mark Java inner interfaces as "static abstract" like javac, solves the преди 13 години
aopt.pas 6e62fbc3d2 * more consistent updates of used registers преди 13 години
aoptbase.pas ca5078f9cf + RegModifiedBetween преди 13 години
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg преди 13 години
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis преди 16 години
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel преди 13 години
asmutils.pas a13c9d93ff * create new object file when creating new section for ansistring/ преди 13 години
assemble.pas 0ed6c20451 Use -K PIC instead of -KPIC for pic mode преди 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 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in преди 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 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers преди 13 години
cgbase.pas 67744ef46e * fix methodpointers in registers on big endian targets преди 13 години
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg преди 13 години
cgobj.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers преди 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 b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction преди 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 години
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 години
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 2f8027c63f + more sophisticated code to optimize multiplications on arm преди 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 df2eddd169 * correctly deal with writing debug information in the Stabs writer for class преди 13 години
dbgdwarf.pas 1f2578077c * small correction to previous commit: the offset of DW_OP_bregx is signed преди 13 години
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in преди 13 години
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler преди 13 години
defcmp.pas 2414c55ca0 Fix for Mantis #21538. преди 13 години
defutil.pas ca5fabda6d * cleanup some unused units from uses clauses преди 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 de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option преди 13 години
fmodule.pas 88af293155 Fix for Mantis #22160 преди 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 88af293155 Fix for Mantis #22160 преди 13 години
gendef.pas aee5380ae0 * merged trunk up to r20882 преди 13 години
globals.pas e4c0132109 * workaround breakage due to fpgetenv deprecation in combination with преди 13 години
globstat.pas 88af293155 Fix for Mantis #22160 преди 13 години
globtype.pas 8a4c12ab36 * include -Oofastmath in -O4 преди 13 години
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux преди 13 години
hlcgobj.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
htypechk.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) преди 13 години
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary преди 13 години
import.pas bf1c390027 * refactor import library generation преди 19 години
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). преди 13 години
link.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). преди 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 4d0e4e1b56 * treat "[var + rip]" in intel assembler mode as addr_pic_no_got on x86-64 преди 13 години
msgtxt.inc eeda54b7eb * fixed copy-paste error in -O4 description преди 13 години
nadd.pas 33f5de990d * fixed indentation преди 13 години
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the преди 13 години
ncal.pas f5de7e34d3 * only remove the calculation of unused parameters of inline routines if преди 13 години
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match преди 13 години
ncgbas.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if преди 13 години
ncgcal.pas 67744ef46e * fix methodpointers in registers on big endian targets преди 13 години
ncgcnv.pas 4d4561923e * nil method pointers can be kept in registers преди 13 години
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. преди 13 години
ncgflw.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
ncginl.pas b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction преди 13 години
ncgld.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
ncgmat.pas 1c8c2d6dbb * tcgshlshrnode.second_integer: don't load the right expression into a register if it is already a LOC_CREGISTER преди 13 години
ncgmem.pas b72251389b * when forcing left into memory during code generation of a subscript node then the type of left must be passed else memory corruption happens преди 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 4cae00f97a * never use a linear table for enum<->string translation when two enums have преди 13 години
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset преди 13 години
ncgutil.pas 944c1172ee * implementation of fix from r22376 without using introspection преди 13 години
ncnv.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
ncon.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used преди 13 години
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) преди 13 години
ngenutil.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be преди 13 години
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed преди 13 години
ninl.pas ff12d63248 + generic popcnt support преди 13 години
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) преди 13 години
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are преди 13 години
nmem.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used преди 13 години
nobj.pas fe90823b01 * support the "overload" modifier for Objective-C methods преди 13 години
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code преди 15 години
node.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it преди 13 години
nset.pas 3983342648 * free temps created for case-of-string-statements преди 13 години
nstate.pas 790a4fe2d3 * log and id tags removed преди 20 години
nutils.pas 33f5de990d * fixed indentation преди 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 fde944bf5d + Declare AT_TLS and AT_GNU_IFUNC symbol types, these are needed to handle object files created by gcc in ELF internal linker. преди 13 години
ogcoff.pas fde944bf5d + Declare AT_TLS and AT_GNU_IFUNC symbol types, these are needed to handle object files created by gcc in ELF internal linker. преди 13 години
ogelf.pas c41b407119 * Changed TObjSection.WriteStr method to write a zero byte after the string. преди 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 1d09005542 + Implemented two-stage removal of empty exe sections. Candidates for removal are first marked with oso_disabled flag, then actually removed. Descendants of TExeOutput that override MemPos_Start may modify list of sections pending removal. In particular, the COFF-specific .reloc section no longer has to be handled in base TExeOutput class. преди 13 години
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse преди 15 години
optcse.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
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 ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
optloop.pas 9773b92cbe * improved for loop unrolling преди 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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). преди 13 години
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). преди 13 години
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and преди 13 години
paramgr.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and преди 13 години
parser.pas 88af293155 Fix for Mantis #22160 преди 13 години
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 ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in преди 13 години
pdecsub.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
pdecvar.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in преди 13 години
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly преди 13 години
pexpr.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
pgenutil.pas 54c1e638ad Fix for Mantis #22428. преди 13 години
pinline.pas aee5380ae0 * merged trunk up to r20882 преди 13 години
pmodules.pas e04fae2c67 Remove commented variables which strangely weren't detected by a "make cycle"... преди 13 години
pp.lpi 46bf1823b8 * fixed/cleaned up lazarus project file преди 13 години
pp.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) преди 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 години
ppc68k.lpi 9ebf2aa984 * project file updates преди 13 години
ppcarm.lpi 9ebf2aa984 * project file updates преди 13 години
ppcavr.lpi 9ebf2aa984 * project file updates преди 13 години
ppcmips.lpi 9ebf2aa984 * project file updates преди 13 години
ppcmipsel.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc64.lpi 9ebf2aa984 * project file updates преди 13 години
ppcsparc.lpi 9ebf2aa984 * project file updates преди 13 години
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) преди 13 години
ppu.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface преди 13 години
ppx86_64.lpi e96dc4204e * version update преди 13 години
procinfo.pas 56378f907f * keep track of required stack frame alignment (this information is however преди 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 ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
psystem.pas a7311f1348 * Fixed handling of OleVariant type (was messed up with Variant), now comparisons with colevarianttype work correctly, resolves #22504 (r21970 was correct but not enough). преди 13 години
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be преди 13 години
ptype.pas 64740049bf * fix for mantis #22796: add alignment padding to records before inserting преди 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 934980ec62 Record filepos in TInstruction class, to avoid problems with wrong source lines преди 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 95830d5a4a + DEBUG_REGISTERLIFE define преди 13 години
scandir.pas c501e6db5f Partial fix for bug report 22744 преди 13 години
scanner.pas 57da93dd11 compiler: don't reject utf-8 codepage as default althought it is not present in mapping tables преди 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 29c71d39ac Preparations for upcoming work on generics: преди 13 години
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID преди 13 години
symdef.pas 032d96b415 * re-added aasmdata because it's required when compiling a compiler for the преди 13 години
symnot.pas 790a4fe2d3 * log and id tags removed преди 20 години
symsym.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be преди 13 години
symtable.pas ca5fabda6d * cleanup some unused units from uses clauses преди 13 години
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in преди 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 b1dc518ac4 * removed systems_need_16_byte_stack_alignment and use target_info.stackalign instead преди 13 години
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however преди 13 години
tokens.pas aee5380ae0 * merged trunk up to r20882 преди 13 години
verbose.pas 2d0f01e0dd Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option преди 13 години
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string преди 13 години
widestr.pas 32fc7118d4 compiler: add US-ASCII codepage преди 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