pierre c3549aa67b Fix tw22326 test compilation failure 13 éve
..
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 éve
arm c3a91c5022 Remove the postfix check in MovStrMov peephole optimizer for ARM 13 éve
avr 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added 13 éve
generic 3017132268 * Remove triple sources 14 éve
html fa0d3d79e0 no message 23 éve
i386 95c69f1f9e * fixed function return location for small records on darwin/i386 and 13 éve
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 éve
jvm 62c8e47547 + override unnecessary abstract thlcgobj methods with internal errors 13 éve
m68k 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added 13 éve
mips a3ef2b42a8 Remove more TABs in sources 13 éve
msg eeda54b7eb * fixed copy-paste error in -O4 description 13 éve
powerpc 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added 13 éve
powerpc64 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 éve
ppcgen 952ac1ffa6 * only use indirect symbol loads for (weak)external and private_external 13 éve
sparc c3549aa67b Fix tw22326 test compilation failure 13 éve
systems bd31004fdb + describe for each supported target the default guaranteed stack alignment 13 éve
utils 29c71d39ac Preparations for upcoming work on generics: 13 éve
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 éve
x86 d93cee995b * fix register method pointer for ppc64 and x86_64-linux 13 éve
x86_64 dcdcc6988d * if an agregate contains unaligned fields, it has to be passed via memory 13 éve
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 éve
Makefile 3db493482b Regenerate after: extcycle produces lots of warnings, thus add ALLOW_WARNINGS=1 13 éve
Makefile.fpc 5140bc2021 extcycle produces lots of warnings, thus add ALLOW_WARNINGS=1 13 éve
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
aasmbase.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 éve
aasmdata.pas 971cc159f9 Using global assmelber labels for debug line is not required for smartlinked sections 13 éve
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 éve
aasmtai.pas 7840b4657a * the improved arm optimizer might move instructions around so the old hacky test if a label with its data has been already embedded into the code by checking if the offset is 0 does not work anymore so a new field for tai_label has been introduced for this purpose 13 éve
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end 13 éve
agjasmin.pas 9feee08eba * mark Java inner interfaces as "static abstract" like javac, solves the 13 éve
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 éve
aoptbase.pas ca5078f9cf + RegModifiedBetween 13 éve
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 éve
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 éve
aoptobj.pas b6a4602989 * ignore alignment entries in FindLabel 13 éve
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 éve
assemble.pas 24c7b7f433 * If alignment requirement of data is bigger than alignment of the section being written to, increase section alignment to match. This mostly affects cases of non-smart linking, where wrong initial alignment used to cause hard to catch misalignment issues. It also largely obsoletes the need to supply the initial section alignment (hidden tai_section constructor,etc). 13 éve
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 éve
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 éve
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl 14 éve
cclasses.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 éve
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 éve
cg64f32.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 éve
cgbase.pas 67744ef46e * fix methodpointers in registers on big endian targets 13 éve
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 éve
cgobj.pas 67744ef46e * fix methodpointers in registers on big endian targets 13 éve
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 éve
cmsgs.pas aba10cd184 compiler: 14 éve
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump 13 éve
compinnr.inc b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 13 éve
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 éve
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 éve
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 éve
crefs.pas 851b00f8e9 * more properties fixed 16 éve
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 éve
cstreams.pas f79dc85033 * typo fixed 13 éve
cutils.pas 2f8027c63f + more sophisticated code to optimize multiplications on arm 13 éve
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 éve
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 éve
dbgdwarf.pas 1f2578077c * small correction to previous commit: the offset of DW_OP_bregx is signed 13 éve
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in 13 éve
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
defcmp.pas 85765364ee * properly compare parameter lists involving pointers to or classrefdefs of 13 éve
defutil.pas 7901662eb3 + mark method pointers as regable 13 éve
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 éve
expunix.pas aee5380ae0 * merged trunk up to r20882 13 éve
finput.pas 9c7ea2e5a1 Fix compilation error with -dHEAPTRC 13 éve
fmodule.pas ba4b08261c * fixed (real)modulename memory leak when changing the module name 13 éve
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 éve
fpcdefs.inc bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. 13 éve
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: 13 éve
gendef.pas aee5380ae0 * merged trunk up to r20882 13 éve
globals.pas e4c0132109 * workaround breakage due to fpgetenv deprecation in combination with 13 éve
globtype.pas 8a4c12ab36 * include -Oofastmath in -O4 13 éve
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux 13 éve
hlcgobj.pas 67744ef46e * fix methodpointers in registers on big endian targets 13 éve
htypechk.pas 3b968b4b35 * don't allow overloading enum/int operations, because they should be 13 éve
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 éve
import.pas bf1c390027 * refactor import library generation 19 éve
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
link.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 éve
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 éve
msgidx.inc 4d0e4e1b56 * treat "[var + rip]" in intel assembler mode as addr_pic_no_got on x86-64 13 éve
msgtxt.inc eeda54b7eb * fixed copy-paste error in -O4 description 13 éve
nadd.pas 33f5de990d * fixed indentation 13 éve
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the 13 éve
ncal.pas f5de7e34d3 * only remove the calculation of unused parameters of inline routines if 13 éve
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match 13 éve
ncgbas.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if 13 éve
ncgcal.pas 67744ef46e * fix methodpointers in registers on big endian targets 13 éve
ncgcnv.pas 4d4561923e * nil method pointers can be kept in registers 13 éve
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. 13 éve
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 éve
ncginl.pas b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 13 éve
ncgld.pas 67744ef46e * fix methodpointers in registers on big endian targets 13 éve
ncgmat.pas 1c8c2d6dbb * tcgshlshrnode.second_integer: don't load the right expression into a register if it is already a LOC_CREGISTER 13 éve
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 éve
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 éve
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 éve
ncgobjc.pas 4cf5e36ce7 compiler: 14 éve
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 éve
ncgrtti.pas 4cae00f97a * never use a linear table for enum<->string translation when two enums have 13 éve
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset 13 éve
ncgutil.pas 1219797d94 * support LOC_(C)SUBSETREG/REF in gen_load_vmt_register() (mantis #22869) 13 éve
ncnv.pas e18a9cccaa * fix expectlocs for method pointers 13 éve
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 13 éve
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 éve
ngenutil.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 éve
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed 13 éve
ninl.pas ff12d63248 + generic popcnt support 13 éve
nld.pas e18a9cccaa * fix expectlocs for method pointers 13 éve
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are 13 éve
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using 13 éve
nobj.pas fe90823b01 * support the "overload" modifier for Objective-C methods 13 éve
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 éve
node.pas dd18d0bd4d * write flags in tnode.printnodeinfo 13 éve
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 éve
nset.pas 3983342648 * free temps created for case-of-string-statements 13 éve
nstate.pas 790a4fe2d3 * log and id tags removed 20 éve
nutils.pas 33f5de990d * fixed indentation 13 éve
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 éve
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 éve
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 éve
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 éve
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 éve
ogelf.pas c41b407119 * Changed TObjSection.WriteStr method to write a zero byte after the string. 13 éve
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 éve
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 éve
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 éve
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 éve
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 éve
optcse.pas a1da9b7710 * better cse handling of short boolean evaluated boolean expressions 13 éve
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable 13 éve
options.pas d63ebe6464 * bsr implementation for armv5+ using clz 13 éve
optloop.pas 9773b92cbe * improved for loop unrolling 13 éve
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 14 éve
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops 17 éve
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 éve
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 éve
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
paramgr.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and 13 éve
parser.pas 6972947c6b compiler: remove unused variable 14 éve
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 éve
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 éve
pbase.pas aee5380ae0 * merged trunk up to r20882 13 éve
pdecl.pas 29c71d39ac Preparations for upcoming work on generics: 13 éve
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
pdecsub.pas fe90823b01 * support the "overload" modifier for Objective-C methods 13 éve
pdecvar.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 éve
pexpr.pas 3d19605fc2 * Using OleVariant type should trigger inclusion of Variants unit into uses clause the same way as using Variant type does. Mantis #22504. 13 éve
pgenutil.pas 29c71d39ac Preparations for upcoming work on generics: 13 éve
pinline.pas aee5380ae0 * merged trunk up to r20882 13 éve
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 éve
pp.lpi 5cfc865889 * version update 13 éve
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 13 éve
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 éve
ppc68k.lpi 9ebf2aa984 * project file updates 13 éve
ppcarm.lpi 9ebf2aa984 * project file updates 13 éve
ppcavr.lpi 9ebf2aa984 * project file updates 13 éve
ppcmips.lpi 9ebf2aa984 * project file updates 13 éve
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc64.lpi 9ebf2aa984 * project file updates 13 éve
ppcsparc.lpi 9ebf2aa984 * project file updates 13 éve
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) 19 éve
ppu.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface 13 éve
ppx86_64.lpi e96dc4204e * version update 13 éve
procinfo.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 éve
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 éve
psub.pas be2003a404 * output register pairs correctly 13 éve
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 éve
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 éve
ptype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader 13 éve
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 éve
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 éve
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 éve
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 éve
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 éve
rgbase.pas 790a4fe2d3 * log and id tags removed 20 éve
rgobj.pas 95830d5a4a + DEBUG_REGISTERLIFE define 13 éve
scandir.pas c501e6db5f Partial fix for bug report 22744 13 éve
scanner.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to 13 éve
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 éve
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 éve
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 éve
symconst.pas 29c71d39ac Preparations for upcoming work on generics: 13 éve
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID 13 éve
symdef.pas 29c71d39ac Preparations for upcoming work on generics: 13 éve
symnot.pas 790a4fe2d3 * log and id tags removed 20 éve
symsym.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 éve
symtable.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 éve
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 éve
systems.inc 600dd162af Merge of rev21557 by Foxsen 13 éve
systems.pas b1dc518ac4 * removed systems_need_16_byte_stack_alignment and use target_info.stackalign instead 13 éve
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 éve
tokens.pas aee5380ae0 * merged trunk up to r20882 13 éve
verbose.pas 2d0f01e0dd Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option 13 éve
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string 13 éve
widestr.pas aee5380ae0 * merged trunk up to r20882 13 éve
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 éve
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 éve
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 éve

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