pierre 42bd8d6bc1 Handle new unaligned ait_const 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 54d3d736f5 * patch by Jeppe Johansen to add support for handling different flags for xPSR regs, 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 37a7c1fc25 Add Dwarf debug info generation by default 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 d88ef103bb Fix IInterface virtual method helper code for PIC mode (no L7 needed) 13 年 前
systems e2f5e11778 Add tf_pic_uses_got for sparc linux and sparc solaris 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 0a755be6fe * Fix assembler fileinfo position for x86 readers 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 b041b3ad4a Add unaligned 16,32 and 64 bit tai_const, needed for dwarf 13 年 前
aggas.pas 42bd8d6bc1 Handle new unaligned ait_const 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 c2a6fbbae3 Fix error in previous commit 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 fcaff0489c * psub.pas : translate tregister for registerhi also 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 f36c769c2f + Add SUPPORT_SAFECALL conditional 13 年 前
fppu.pas 88af293155 Fix for Mantis #22160 13 年 前
gendef.pas aee5380ae0 * merged trunk up to r20882 13 年 前
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 13 年 前
globstat.pas 88af293155 Fix for Mantis #22160 13 年 前
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 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 7ea11f0171 Use SUPPORT_SAFECALL conditional 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 18698bc93d Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG 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 14 年 前
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 4b7a6ecc14 move currentregloc setting to ncgutil to avoid sysym unit ependency in aasmtai unit 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 b851a5a065 Accept range/overflow for address computation inside unit 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 42586baa34 Use SUPPORT_SAFECALL conditional 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 f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 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 420cd9bd27 + support for <text>^ in iso mode 13 年 前
pgenutil.pas 54c1e638ad Fix for Mantis #22428. 13 年 前
pinline.pas aee5380ae0 * merged trunk up to r20882 13 年 前
pmodules.pas 2f24527ea0 Enable gotvarsym for sparc cpu 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 42586baa34 Use SUPPORT_SAFECALL conditional 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 fcaff0489c * psub.pas : translate tregister for registerhi also 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 54d3d736f5 * patch by Jeppe Johansen to add support for handling different flags for xPSR regs, 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 f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 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 fcaff0489c * psub.pas : translate tregister for registerhi also 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 c95cfa20ba * disable non-iso tokens in iso mode 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