tg74 fba7689c9d support new gas sizesuffix 'x' and 'y' před 12 roky
..
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers před 13 roky
arm a8591af2a9 Handle po_nostackframe for arm cpu před 12 roky
avr 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added před 13 roky
generic 3017132268 * Remove triple sources před 14 roky
html fa0d3d79e0 no message před 23 roky
i386 2fdd8656d5 * Fix tw18702.pp i386-win32 specific failure (stack was not properly maintained) před 12 roky
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects před 13 roky
jvm 62c8e47547 + override unnecessary abstract thlcgobj methods with internal errors před 13 roky
m68k 825fa86824 Added missing unit for tcpuregisterset před 12 roky
mips 7bd7cf275c handle po_nostackframe for calc_stack_size před 12 roky
msg 6be933ad71 merge with trunk před 12 roky
powerpc 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added před 13 roky
powerpc64 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers před 13 roky
ppcgen 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke před 12 roky
sparc e01c7603b8 Rectify last commit: po_assembler alone still sets up a stack frame před 12 roky
systems 0e8829e4e2 * ModulesLinkToLibc: Search for both bare and prefixed names of libc. When this function is invoked, import library names are not yet normalized and either one may be present. Failure to detect libc may end up in using wrong sysinit unit, this fortunately affects only i386-linux (other Linux targets aren't using Pascal sysinit units yet). před 12 roky
utils 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke před 12 roky
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in před 13 roky
x86 fba7689c9d support new gas sizesuffix 'x' and 'y' před 12 roky
x86_64 2e7fe1aebd * support of avx register requires now proper usage of R_SUBMMWHOLE před 12 roky
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests před 19 roky
Makefile 6be933ad71 merge with trunk před 12 roky
Makefile.fpc 6be933ad71 merge with trunk před 12 roky
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
aasmdata.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files před 18 roky
aasmtai.pas d9a61f2082 * make internal error unique před 12 roky
aggas.pas d91fbd3e10 aggas.pas: m68k-linux needs preceding ".section" as well před 12 roky
agjasmin.pas 9feee08eba * mark Java inner interfaces as "static abstract" like javac, solves the před 13 roky
aopt.pas 6e62fbc3d2 * more consistent updates of used registers před 13 roky
aoptbase.pas ca5078f9cf + RegModifiedBetween před 13 roky
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg před 13 roky
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis před 16 roky
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel před 13 roky
asmutils.pas a13c9d93ff * create new object file when creating new section for ansistring/ před 13 roky
assemble.pas 63f4e44fd5 assemble.pas, texternalcompiler.makecmdline: před 12 roky
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler před 13 roky
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build před 25 roky
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because před 16 roky
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl před 14 roky
cclasses.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in před 13 roky
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems před 15 roky
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there před 13 roky
cg64f32.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers před 13 roky
cgbase.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke před 12 roky
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg před 13 roky
cgobj.pas 2e7fe1aebd * support of avx register requires now proper usage of R_SUBMMWHOLE před 12 roky
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers před 13 roky
cmsgs.pas aba10cd184 compiler: před 13 roky
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler před 13 roky
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump před 13 roky
compinnr.inc b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction před 13 roky
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler před 13 roky
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 před 14 roky
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp646.pas 759bd33327 Use the ccharset unit instead of charset when compiling with 2.6.0 like is done for the other cp* units. před 13 roky
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 před 13 roky
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: před 14 roky
crefs.pas 851b00f8e9 * more properties fixed před 15 roky
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring před 13 roky
cstreams.pas f79dc85033 * typo fixed před 13 roky
cutils.pas 2f8027c63f + more sophisticated code to optimize multiplications on arm před 13 roky
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released před 14 roky
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class před 13 roky
dbgdwarf.pas 65aa6fb379 * make check for registerhi more usefull před 12 roky
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in před 13 roky
dbgstabx.pas 6be933ad71 merge with trunk před 12 roky
defcmp.pas 2414c55ca0 Fix for Mantis #21538. před 13 roky
defutil.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works před 16 roky
expunix.pas aee5380ae0 * merged trunk up to r20882 před 13 roky
finput.pas de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option před 13 roky
fmodule.pas 88af293155 Fix for Mantis #22160 před 13 roky
fpccrc.pas 793fd8fc09 * Add -Xg to help pages před 17 roky
fpcdefs.inc f36c769c2f + Add SUPPORT_SAFECALL conditional před 13 roky
fppu.pas 88af293155 Fix for Mantis #22160 před 13 roky
gendef.pas aee5380ae0 * merged trunk up to r20882 před 13 roky
globals.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode před 13 roky
globstat.pas 88af293155 Fix for Mantis #22160 před 13 roky
globtype.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode před 13 roky
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux před 13 roky
hlcgobj.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
htypechk.pas 76b0ee9925 * treat all "uninitialized" hints as warnings on JVM platforms, because před 12 roky
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary před 13 roky
import.pas bf1c390027 * refactor import library generation před 19 roky
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). před 13 roky
link.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). před 13 roky
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by před 14 roky
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 před 14 roky
msgidx.inc 6be933ad71 merge with trunk před 12 roky
msgtxt.inc 6be933ad71 merge with trunk před 12 roky
nadd.pas 33f5de990d * fixed indentation před 13 roky
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the před 13 roky
ncal.pas 2db54da2b3 m68k also uses a non fixed stack with an equivalent to PUSH/POP so don't reorder parameters před 12 roky
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match před 13 roky
ncgbas.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if před 13 roky
ncgcal.pas 7ea11f0171 Use SUPPORT_SAFECALL conditional před 13 roky
ncgcnv.pas 4d4561923e * nil method pointers can be kept in registers před 13 roky
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. před 13 roky
ncgflw.pas 18698bc93d Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG před 13 roky
ncginl.pas b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction před 13 roky
ncgld.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
ncgmat.pas 1c8c2d6dbb * tcgshlshrnode.second_integer: don't load the right expression into a register if it is already a LOC_CREGISTER před 13 roky
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 před 13 roky
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref před 13 roky
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested před 14 roky
ncgobjc.pas 4cf5e36ce7 compiler: před 14 roky
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg před 13 roky
ncgrtti.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC před 12 roky
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset před 13 roky
ncgutil.pas 8e07ddb2bc * made internal errors for M68K unique před 12 roky
ncnv.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC před 12 roky
ncon.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used před 13 roky
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) před 13 roky
ngenutil.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be před 13 roky
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed před 13 roky
ninl.pas 9a5e64442f + support copy with two parameters, resolves #22964 před 12 roky
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) před 13 roky
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are před 13 roky
nmem.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used před 13 roky
nobj.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC před 12 roky
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code před 15 roky
node.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it před 13 roky
nset.pas 3983342648 * free temps created for case-of-string-statements před 13 roky
nstate.pas 790a4fe2d3 * log and id tags removed před 20 roky
nutils.pas 33f5de990d * fixed indentation před 13 roky
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). před 14 roky
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent před 13 roky
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated před 13 roky
ogbase.pas 6be933ad71 merge with trunk před 12 roky
ogcoff.pas b851a5a065 Accept range/overflow for address computation inside unit před 13 roky
ogelf.pas 6be933ad71 merge with trunk před 12 roky
oglx.pas 658c46b903 * remove tdictionary and tindexarray před 19 roky
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead před 13 roky
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. před 17 roky
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. před 13 roky
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse před 15 roky
optcse.pas ae56841ee6 * do not apply node CSE to nested loads on high level cpu targets, because před 13 roky
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler před 13 roky
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable před 13 roky
options.pas 614436d8cb * added pocall_mwpascal to cdecl_pocalls so we no longer have to explicitly před 12 roky
optloop.pas 9773b92cbe * improved for loop unrolling před 13 roky
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space před 13 roky
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops před 17 roky
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated před 15 roky
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). před 13 roky
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). před 13 roky
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and před 13 roky
paramgr.pas 42586baa34 Use SUPPORT_SAFECALL conditional před 13 roky
parser.pas 88af293155 Fix for Mantis #22160 před 13 roky
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef před 15 roky
pass_2.pas aee5380ae0 * merged trunk up to r20882 před 13 roky
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 před 13 roky
pdecl.pas ca5fabda6d * cleanup some unused units from uses clauses před 13 roky
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in před 13 roky
pdecsub.pas 6be933ad71 merge with trunk před 12 roky
pdecvar.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in před 13 roky
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly před 13 roky
pexpr.pas 420cd9bd27 + support for <text>^ in iso mode před 13 roky
pgenutil.pas 54c1e638ad Fix for Mantis #22428. před 13 roky
pinline.pas aee5380ae0 * merged trunk up to r20882 před 13 roky
pmodules.pas 2f24527ea0 Enable gotvarsym for sparc cpu před 13 roky
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 před 12 roky
pp.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) před 13 roky
pparautl.pas 42586baa34 Use SUPPORT_SAFECALL conditional před 13 roky
ppc68k.lpi 9ebf2aa984 * project file updates před 13 roky
ppcarm.lpi 9ebf2aa984 * project file updates před 13 roky
ppcavr.lpi 9ebf2aa984 * project file updates před 13 roky
ppcmips.lpi 9ebf2aa984 * project file updates před 13 roky
ppcmipsel.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc64.lpi 9ebf2aa984 * project file updates před 13 roky
ppcsparc.lpi 9ebf2aa984 * project file updates před 13 roky
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) před 13 roky
ppu.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface před 13 roky
ppx86_64.lpi e96dc4204e * version update před 13 roky
procinfo.pas 56378f907f * keep track of required stack frame alignment (this information is however před 13 roky
pstatmnt.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. před 13 roky
psub.pas fcaff0489c * psub.pas : translate tregister for registerhi also před 13 roky
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). před 13 roky
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be před 13 roky
ptype.pas 64740049bf * fix for mantis #22796: add alignment padding to records before inserting před 13 roky
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader před 13 roky
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from před 19 roky
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist před 19 roky
rautils.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke před 12 roky
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: před 14 roky
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix před 13 roky
rgbase.pas 790a4fe2d3 * log and id tags removed před 20 roky
rgobj.pas 2ada9a528b Fix a critical bug in the register allocator (at least for CPUs with seperate address před 12 roky
scandir.pas c501e6db5f Partial fix for bug report 22744 před 13 roky
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 před 13 roky
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there před 13 roky
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically před 14 roky
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a před 14 roky
symconst.pas 29c71d39ac Preparations for upcoming work on generics: před 13 roky
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID před 13 roky
symdef.pas b1d661d774 * look in the iPhoneAll unit for NSFastEnumeration* types on iOS/iphonesim, před 12 roky
symnot.pas 790a4fe2d3 * log and id tags removed před 20 roky
symsym.pas fcaff0489c * psub.pas : translate tregister for registerhi also před 13 roky
symtable.pas 42f6caa0d1 * allow accessing strict protected symbols from the extended struct inside před 12 roky
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in před 13 roky
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). před 18 roky
systems.inc 600dd162af Merge of rev21557 by Foxsen před 13 roky
systems.pas b1dc518ac4 * removed systems_need_16_byte_stack_alignment and use target_info.stackalign instead před 13 roky
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however před 13 roky
tokens.pas c95cfa20ba * disable non-iso tokens in iso mode před 13 roky
verbose.pas 2d0f01e0dd Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option před 13 roky
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string před 13 roky
widestr.pas 32fc7118d4 compiler: add US-ASCII codepage před 13 roky
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 před 16 roky
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 před 14 roky
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used před 15 roky

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