Jonas Maebe bbf0e35a51 + Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield vor 14 Jahren
..
alpha 515774b864 * merged armthum branch vor 16 Jahren
arm bbf0e35a51 + Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield vor 14 Jahren
avr 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
html fa0d3d79e0 no message vor 23 Jahren
i386 d10f46ec59 * skip instructions containing a reference with a segment prefix (fixes vor 14 Jahren
ia64 5acf377e31 * enable node cse for all cpus as level 2 optimization vor 15 Jahren
m68k b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle vor 14 Jahren
mips b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle vor 14 Jahren
msg bd64575add compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode vor 14 Jahren
powerpc 5175a5ee07 * handle LOC_SUBSETREG,LOC_CSUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF in vor 14 Jahren
powerpc64 5175a5ee07 * handle LOC_SUBSETREG,LOC_CSUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF in vor 14 Jahren
ppcgen a40fe9c078 * fixed potentially wrong operation size in tgppccasenode.genlinearlist() vor 14 Jahren
sparc b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle vor 14 Jahren
systems 1f61b5b30c * reverted the rtl patches from r14184, because they cause an endless vor 14 Jahren
utils 4e93ecda3d utils: fix ppudump generic tokenbuf reading vor 14 Jahren
vis b6e4896805 * small typo corrections by Adriaan Van Os (mantis #15652) vor 15 Jahren
x86 b49b3ecc61 * one more fix that should have been part of r16717: also generate vor 14 Jahren
x86_64 067536f8da * pass large "const" record parameters by reference for non-cdecl/cppdecl vor 14 Jahren
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests vor 19 Jahren
Makefile 8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and vor 15 Jahren
Makefile.fpc b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
aasmbase.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
aasmdata.pas d1ed076618 * changed r16080 so that global debug labels are only created on linux vor 15 Jahren
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files vor 18 Jahren
aasmtai.pas bbf0e35a51 + Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield vor 14 Jahren
aggas.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
aopt.pas 666b4e2469 * fixed range errors in label bookkeeping that caused too much memory to be vor 15 Jahren
aoptbase.pas f97730f73f * use labelCanBeSkipped as used by i386 in generic optimizer code too vor 16 Jahren
aoptcs.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis vor 16 Jahren
aoptobj.pas 666b4e2469 * fixed range errors in label bookkeeping that caused too much memory to be vor 15 Jahren
asmutils.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): vor 15 Jahren
assemble.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
browcol.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build vor 25 Jahren
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because vor 16 Jahren
ccharset.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cclasses.pas c072eb5a34 * fixed growing a tbitset when adding an element whose index equals the vor 15 Jahren
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems vor 15 Jahren
cfileutl.pas 5fc94a5076 * don't look for helper executables (assembler, linker, resource compiler, vor 14 Jahren
cg64f32.pas 9bc15a5f61 * renamed a_param_* to a_load_*_cgpara vor 15 Jahren
cgbase.pas f302fcdc98 + TSubRegisterSet definition forgotten to commit in r15952 vor 15 Jahren
cgobj.pas 5dae691c96 * implementation of bit scan intrinsics by Richard Vida, resolves #17592 vor 15 Jahren
cgutils.pas f13f6627c4 * moved use_fixed_stack from cgutils to a method in paramgr so it can vor 15 Jahren
cmsgs.pas 1ef53ca590 compiler: remove unused variables (reduce hints) vor 15 Jahren
comphook.pas a8381c8b32 fpc: compiler: vor 15 Jahren
compiler.pas 34227e811d + patch by Sven Barth to add native NT rtl support to the compiler, resolves #14886 vor 15 Jahren
compinnr.inc 5dae691c96 * implementation of bit scan intrinsics by Richard Vida, resolves #17592 vor 15 Jahren
comprsrc.pas 3cd29858ba compiler, utils: pass tlb resources to fpcres vor 15 Jahren
constexp.pas 04606982ac * fixed evaluation of "mod" operator for tconstexprint with signed operands vor 15 Jahren
cp1251.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp437.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp850.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp866.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp8859_1.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp8859_5.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
crefs.pas 851b00f8e9 * more properties fixed vor 16 Jahren
cresstr.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): vor 15 Jahren
cstreams.pas 71193c0f2c * fixed bootstrapping with 2.0.4 vor 18 Jahren
cutils.pas a149674a75 Merged revisions 13458-13596 via svnmerge from vor 16 Jahren
dbgbase.pas 915c412ae3 compiler: generate debug info for record methods: vor 14 Jahren
dbgdwarf.pas 1e92e576dd * Use TDebugInfoDwarf2.appenddef_object's DoAppend also for writing the vor 14 Jahren
dbgstabs.pas 915c412ae3 compiler: generate debug info for record methods: vor 14 Jahren
defcmp.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
defutil.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works vor 16 Jahren
expunix.pas 617e1b9b10 * handle i386/x86_64 solaris pic as for linux vor 15 Jahren
finput.pas 8dbc728926 * changed InputFileBufSize from 32kb to 32kb+1byte, because the last vor 16 Jahren
fmodule.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places vor 14 Jahren
fpccrc.pas 793fd8fc09 * Add -Xg to help pages vor 17 Jahren
fpcdefs.inc 28ac4a8dda * several mips/mipsel related stuff fixed vor 15 Jahren
fppu.pas de51c4734c * fixed searching for the 8-character variant of already compiled vor 15 Jahren
gendef.pas caf0096877 * enabled version and description directive for all windows vor 16 Jahren
globals.pas 327b570ea4 compiler: rename extended records to advanced records vor 14 Jahren
globtype.pas 327b570ea4 compiler: rename extended records to advanced records vor 14 Jahren
htypechk.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
impdef.pas f1067607b6 + workaround for non-working dircache on morphos/amiga vor 18 Jahren
import.pas bf1c390027 * refactor import library generation vor 19 Jahren
link.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis vor 16 Jahren
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by vor 14 Jahren
machoutils.pas 28cd8271c9 * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev vor 15 Jahren
msgidx.inc bd64575add compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode vor 14 Jahren
msgtxt.inc bd64575add compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode vor 14 Jahren
nadd.pas 906ca89f4e compiler: vor 14 Jahren
nbas.pas 769eb3f604 * moved the initialisation of the nodetree and tai class reference constants vor 15 Jahren
ncal.pas b7f1ea0a93 compiler: remove unneeded check that def is objectdef when we have another check that object has vmt. records don't have vmt so we can leave only one check there vor 14 Jahren
ncgadd.pas e8871f0885 * fixed and simplified tcgaddnode.second_addsmallset: don't modify vor 14 Jahren
ncgbas.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
ncgcal.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
ncgcnv.pas 97f9157a7a * convert LOC_FLAGS/LOC_JUMP to cbool value in bool_to_bool conversion, vor 15 Jahren
ncgcon.pas 025ec34e4d + "CExtended" type that is the same as "extended", but conforming to the vor 15 Jahren
ncgflw.pas 65ab1e820b * Safecall on linux/i386 now behaves like cdecl plus hidden exception support. vor 15 Jahren
ncginl.pas 5dae691c96 * implementation of bit scan intrinsics by Richard Vida, resolves #17592 vor 15 Jahren
ncgld.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
ncgmat.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
ncgmem.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
ncgobjc.pas b084d70ae4 compiler: cleanup - remove unused variables vor 15 Jahren
ncgopt.pas 7d459cf12a * the compiler now explicitly keeps track of the minimally guaranteed vor 16 Jahren
ncgrtti.pas 89dc742de2 compiler: mark operator overloads as operators in rtti (although classes don't have operator overloads now) vor 14 Jahren
ncgset.pas 749e791768 * fixed in-code for big endian systems and smallsets < 4 bytes vor 16 Jahren
ncgutil.pas 3307d98c40 - Revert micro-exe mode for now. vor 15 Jahren
ncnv.pas d76ddcabe6 * don't give an internalerror when trying to explicitly apply an invalid vor 14 Jahren
ncon.pas ba700ad2ff * Improvements to Dispatch call handling: vor 14 Jahren
nflw.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
ninl.pas 4531e1231b compiler: implement Inc, Dec class operators vor 14 Jahren
nld.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
nmat.pas a8da9e4bd1 compiler: set result value to dummy function to prevent compiler to generate a hint vor 14 Jahren
nmem.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
nobj.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places vor 14 Jahren
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code vor 15 Jahren
node.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change vor 14 Jahren
nopt.pas 6b8aed593f * remove registers{int/mmx/fpu} from firstpass vor 18 Jahren
nset.pas 4531e1231b compiler: implement Inc, Dec class operators vor 14 Jahren
nstate.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
nutils.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
objcdef.pas cec5843f95 * renamed objcdef.addencodedtype to objcaddencodedtype for consistency vor 14 Jahren
objcgutl.pas bcc836f1b0 * put the RTTI for optional protocol methods in the correct section for vor 15 Jahren
objcutil.pas cec5843f95 * renamed objcdef.addencodedtype to objcaddencodedtype for consistency vor 14 Jahren
ogbase.pas 292e85a59a * Partial fix for i386 linux PIC code generation vor 15 Jahren
ogcoff.pas fd2b777435 * ogcoff.pas: vor 14 Jahren
ogelf.pas d2939bce3d * i386 _GLOBAL_OFFSET_TABLE_ label special treatment moved to taicpu.pass2 vor 15 Jahren
oglx.pas 658c46b903 * remove tdictionary and tindexarray vor 19 Jahren
ogmacho.pas 8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and vor 15 Jahren
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. vor 17 Jahren
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse vor 15 Jahren
optcse.pas 7199ac4ad7 + apply cse on load parent frame pointer nodes vor 15 Jahren
optdead.pas 1597aac6d2 * first search for gnm and only then for nm vor 16 Jahren
optdfa.pas 9955e6b2bf * dfa fixes by Sergei Gorelkin, resolve #15402 vor 15 Jahren
options.pas 0da9d36116 * fixed internal assembler for x86-64 so that it correctly handles vor 14 Jahren
optloop.pas 092153e7ad * handle unrolling of for ... downto ... correctly, resolves #15668 vor 15 Jahren
opttail.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops vor 17 Jahren
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated vor 15 Jahren
owar.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. vor 17 Jahren
owbase.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. vor 17 Jahren
parabase.pas f634ef6640 + Workaround for IE2010053115 internal errors while writing PPU with explicitparaloc functions. vor 15 Jahren
paramgr.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
parser.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places vor 14 Jahren
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef vor 15 Jahren
pass_2.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change vor 14 Jahren
pbase.pas 668cd1f3c0 compiler: change check for current in try_consume_unitsym - don't use current_unit in check because specialize code does not replace this variable (fixes bug #0015591) vor 14 Jahren
pdecl.pas 86482658a8 compiler: fix tgeneric11 test: vor 14 Jahren
pdecobj.pas 86482658a8 compiler: fix tgeneric11 test: vor 14 Jahren
pdecsub.pas f9f316ac45 compiler: don't set a structure to routine if it accidentally match some (bug #0018452) vor 14 Jahren
pdecvar.pas fa41b6ffe3 compiler: allow generic classes to derive from generic classes and generic interfaces vor 14 Jahren
pexports.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
pexpr.pas 8f7ada0db0 compiler: use anonymous inherited in all cases where the next token <> _ID (bug #0018443) vor 14 Jahren
pinline.pas 56bf42de57 compiler: implement record methods and class methods: vor 14 Jahren
pmodules.pas 7852295f26 compiler: start parsing of record constructors and destructors: vor 14 Jahren
pp.lpi 0085c22c59 - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) vor 15 Jahren
pp.pas 6e8a6790d1 + FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL vor 16 Jahren
ppc.cfg 9465a13e71 + Delphi 6 configuration file vor 23 Jahren
ppc.conf add30a428e * Kylix fixes, mostly case names of units vor 24 Jahren
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation vor 23 Jahren
ppc68k.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcarm.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcavr.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcmipsel.lpi 4fd2aa297a Adds mipsel lazarus project vor 15 Jahren
ppcppc.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcsparc.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) vor 19 Jahren
ppu.pas 55a0fefb1f compiler: implement generic array type: vor 14 Jahren
ppx86_64.lpi ab217ca748 * lpi version increased vor 16 Jahren
procinfo.pas f13f6627c4 * moved use_fixed_stack from cgutils to a method in paramgr so it can vor 15 Jahren
pstatmnt.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
psub.pas f5965a9ce4 compiler: specialize record methods the same way as currently done for object and class methods + test vor 14 Jahren
psystem.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change vor 14 Jahren
ptconst.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into vor 14 Jahren
ptype.pas 86482658a8 compiler: fix tgeneric11 test: vor 14 Jahren
raatt.pas 780e75bfac o patch by Jeppe Johansen to fix mantis #17472: vor 14 Jahren
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist vor 19 Jahren
rautils.pas bbf0e35a51 + Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield vor 14 Jahren
regvars.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
rescmn.pas 174de3eab1 Merged revisions 9693-10480 via svnmerge from vor 17 Jahren
rgbase.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
rgobj.pas b127fc154a * Fixed spell error revealed by lintian. vor 15 Jahren
scandir.pas 86d3e41442 compiler: replace MODESWTICH POINTERARITHMETICS with $POINTERMATH directive, disable pointer arithmetic in delphi mode by default (compatible with delphi), enable pointer arithmetic in fpc/objfpc modes as they had it enabled by default before, add has_pointer_math field to tpointerdef to allow pointer arithmetic with such pointer even if pointer math mode is off (delphi compatible) + tests vor 14 Jahren
scanner.pas 86d3e41442 compiler: replace MODESWTICH POINTERARITHMETICS with $POINTERMATH directive, disable pointer arithmetic in delphi mode by default (compatible with delphi), enable pointer arithmetic in fpc/objfpc modes as they had it enabled by default before, add has_pointer_math field to tpointerdef to allow pointer arithmetic with such pointer even if pointer math mode is off (delphi compatible) + tests vor 14 Jahren
script.pas 446e2161ce + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. vor 16 Jahren
switches.pas a8381c8b32 fpc: compiler: vor 15 Jahren
symbase.pas 5a2ccfff52 --WARNING: start build process with FPC 2.2.4; won't work when vor 16 Jahren
symconst.pas 55a0fefb1f compiler: implement generic array type: vor 14 Jahren
symdef.pas 3ca3276400 * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another vor 14 Jahren
symnot.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
symsym.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
symtable.pas 2599cc63bd compiler: implement generic procedural types vor 14 Jahren
symtype.pas 55a0fefb1f compiler: implement generic array type: vor 14 Jahren
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). vor 18 Jahren
systems.pas 1c5a3b6bf0 o patch by Graeme Geldenhuys vor 15 Jahren
tgobj.pas 718694d1d6 * always specify an explicit alignment for tgobj.gettemp (so e.g. vor 17 Jahren
tokens.pas 66b128efb3 compiler: map delphi Implicit operator to := operator of FPC, add Explicit operator for delphi only (for now) which works when explicit type conversion happens + extend test vor 14 Jahren
verbose.pas 43846ca8c9 * force always printing absolute paths when using -vb (mantis #15783) vor 15 Jahren
version.pas 8bd552b7b3 * version 2.5.1 vor 16 Jahren
widestr.pas 45d25bbe77 * fixed storing/loading widestring constant nodes into/from ppu files vor 15 Jahren
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 vor 16 Jahren
wpobase.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated vor 15 Jahren
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used vor 15 Jahren

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