Jonas Maebe be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg hace 13 años
..
alpha 502cd6db29 Remove tai_ent, which is moved to aasmtai unit hace 13 años
arm 57b67dfa30 Better SP adjustments on entry/exit for ARM hace 13 años
avr 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
generic 3017132268 * Remove triple sources hace 14 años
html fa0d3d79e0 no message hace 23 años
i386 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ia64 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
jvm 1955255dda * let thlcg.a_call_name() return the tcgpara representing the function hace 13 años
m68k 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
mips 1955255dda * let thlcg.a_call_name() return the tcgpara representing the function hace 13 años
msg c2be657671 * give an error instead of a note on the JVM target when overriding a hace 13 años
powerpc 92b4c84dae * fixed 'int64 shl/shr 0' on ppc32 hace 13 años
powerpc64 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ppcgen 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
sparc 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
systems 2638bc01d9 * Fixed error introduced in r21732. For libraries, startup is always dllprt0.o, regardless of profiling/linking to libc. Mantis #22397. hace 13 años
utils 3a082f8c29 Add defautl mips name and use mips instead of mipseb hace 13 años
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in hace 13 años
x86 21524c56c6 * If subtrahend symbol belongs to current section, generate a RELATIVE relocation instead of PIC_PAIR. Now the corresponding relative expressions in assembler operands compile correctly on all i386 targets (and x86_64 too, although such feature is less important there). hace 13 años
x86_64 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests hace 19 años
Makefile 8698357d6c Makefile regenerazted after change to Makefile.fpc: hace 13 años
Makefile.fpc f369069965 + Add CYCLELEVEL variable, whose value can be from 1 to 3 hace 13 años
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
aasmbase.pas 68d7e943c8 + Add global_used callback procedure hace 13 años
aasmdata.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files hace 18 años
aasmtai.pas f92fba996d + New tai_ent and tai_ent_end classes hace 13 años
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end hace 13 años
agjasmin.pas 9c0ec8ee8c * part of r21120, forgot to commit hace 13 años
aopt.pas 117c083003 * call inherited Destroy in TAsmOptimizer to avoid memory leak hace 13 años
aoptbase.pas 9825fbf554 Support top_shifterop and top_regset for arm in RegInOp hace 13 años
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg hace 13 años
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis hace 16 años
aoptobj.pas d472a6d5d0 * changed tregset into tcpuregisterset so it's faster and uses less memory hace 13 años
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring hace 13 años
assemble.pas 1f762cc247 Add and replacement, for MIPS hace 13 años
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build hace 25 años
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because hace 16 años
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl hace 14 años
cclasses.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems hace 15 años
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there hace 13 años
cg64f32.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
cgbase.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to hace 13 años
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg hace 13 años
cgobj.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg hace 13 años
cgutils.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to hace 13 años
cmsgs.pas aba10cd184 compiler: hace 14 años
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump hace 13 años
compinnr.inc aee5380ae0 * merged trunk up to r20882 hace 13 años
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 hace 14 años
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 hace 14 años
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: hace 14 años
crefs.pas 851b00f8e9 * more properties fixed hace 16 años
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring hace 13 años
cstreams.pas f79dc85033 * typo fixed hace 13 años
cutils.pas 8001979f7e Reworked ispowerof2 in cutils.pas hace 13 años
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released hace 14 años
dbgbase.pas 813ebf08e3 * Avoid having current_debuginfo pointing to freed memory hace 13 años
dbgdwarf.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
dbgstabs.pas 84214d1249 * Use mips_extra_offset function to give offsets expected by GDB for MIPS cpu hace 13 años
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
defcmp.pas 63ab1bae3e * don't allow ordinal->ptr-based-objectdef conversions on managed platforms, hace 13 años
defutil.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works hace 16 años
expunix.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
finput.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
fmodule.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
fpccrc.pas 793fd8fc09 * Add -Xg to help pages hace 17 años
fpcdefs.inc bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. hace 13 años
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: hace 13 años
gendef.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
globals.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type hace 13 años
globtype.pas b0462d27cc * by default, no longer initialize enumeration fields of classes/objects hace 13 años
hlcg2ll.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg hace 13 años
hlcgobj.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg hace 13 años
htypechk.pas fdbe35aadf * only try to call procvars while choosing overloads in case they don't hace 13 años
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary hace 13 años
import.pas bf1c390027 * refactor import library generation hace 19 años
link.pas 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). hace 13 años
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by hace 14 años
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 hace 14 años
msgidx.inc c2be657671 * give an error instead of a note on the JVM target when overriding a hace 13 años
msgtxt.inc c2be657671 * give an error instead of a note on the JVM target when overriding a hace 13 años
nadd.pas a2426178dc * don't insert type conversions in add nodes if both arguments are constant hace 13 años
nbas.pas c62a2c8bb5 + write temptype when printing tempdelete nodes hace 13 años
ncal.pas 3414f91590 * minor reformatting, and removed superfluous assigned test (the value is hace 13 años
ncgadd.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgbas.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level hace 14 años
ncgcal.pas 1955255dda * let thlcg.a_call_name() return the tcgpara representing the function hace 13 años
ncgcnv.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. hace 13 años
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ncginl.pas 89c230c035 * moved assert handling from second to first pass, so that the code generator hace 13 años
ncgld.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ncgmat.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ncgmem.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref hace 14 años
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested hace 14 años
ncgobjc.pas 4cf5e36ce7 compiler: hace 14 años
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg hace 13 años
ncgrtti.pas a54e342060 + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. hace 13 años
ncgset.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for hace 13 años
ncgutil.pas 9197ce100e * converted tcg.g_copyvaluepara_openarray() to thlcg hace 13 años
ncnv.pas 99c22b87c1 * moved transformation of char-to-chararray type conversion into helpers hace 13 años
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
ngenutil.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, hace 13 años
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed hace 13 años
ninl.pas 89c230c035 * moved assert handling from second to first pass, so that the code generator hace 13 años
nld.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are hace 13 años
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using hace 13 años
nobj.pas c2be657671 * give an error instead of a note on the JVM target when overriding a hace 13 años
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code hace 15 años
node.pas eedb5c89de * part of r20140, forgot to commit hace 13 años
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it hace 13 años
nset.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 hace 14 años
nstate.pas 790a4fe2d3 * log and id tags removed hace 20 años
nutils.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, hace 13 años
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). hace 14 años
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent hace 13 años
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated hace 13 años
ogbase.pas 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. hace 13 años
ogcoff.pas 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. hace 13 años
ogelf.pas 3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index. hace 13 años
oglx.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead hace 13 años
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. hace 17 años
ognlm.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse hace 15 años
optcse.pas ffbf1a7331 * Avoid pointer typecast warning hace 14 años
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable hace 13 años
options.pas 59c726c829 Support ABS intrinsic on ARM hace 13 años
optloop.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space hace 14 años
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops hace 17 años
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated hace 15 años
owar.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 hace 14 años
owbase.pas 96e8e89e16 * write error code if an object file cannot be created hace 13 años
parabase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
paramgr.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via hace 13 años
parser.pas 6972947c6b compiler: remove unused variable hace 14 años
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef hace 15 años
pass_2.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
pbase.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
pdecl.pas aa0f1bdf26 pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593. hace 13 años
pdecobj.pas d2fabd2a22 Fix for Mantis #21350 hace 13 años
pdecsub.pas adf66eed8b * don't turn constref shortstring parameters into openstrings (they can't hace 13 años
pdecvar.pas def357287e * revert revision 21251 for pdecvar.pas: not generating the bss-data for the static symbol for a generic breaks linking with debug info enabled; I'll need to find a better solution to avoid unneeded use of space (luckily it wasn't needed to fix any bug ^^) hace 13 años
pexports.pas 3589f90cf8 * also show the valid bounds in most cases when signalling a range check hace 13 años
pexpr.pas 1b3b097f3a * always interpret a function name on the RHS as a recursive function hace 13 años
pgenutil.pas a908db5a91 Partially fix for Mantis #22160. This resolves the internal error, but the given example units still don't compile, because of the way we handle specializations and unit loading (more about this once I fixed that, too). hace 13 años
pinline.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler hace 13 años
pp.lpi 5cfc865889 * version update hace 13 años
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 hace 13 años
pparautl.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. hace 13 años
ppc.cfg 9465a13e71 + Delphi 6 configuration file hace 23 años
ppc.conf add30a428e * Kylix fixes, mostly case names of units hace 24 años
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
ppc68k.lpi ab217ca748 * lpi version increased hace 16 años
ppcarm.lpi a953b732d4 * update of project file hace 13 años
ppcavr.lpi 645b6942d0 * version update hace 14 años
ppcmips.lpi 5bf1354eca * lazarus project file updates hace 13 años
ppcmipsel.lpi 31f54a7810 * use separate build directory for mipsel hace 13 años
ppcppc.lpi ab217ca748 * lpi version increased hace 16 años
ppcsparc.lpi ab217ca748 * lpi version increased hace 16 años
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
ppu.pas d2fabd2a22 Fix for Mantis #21350 hace 13 años
ppx86_64.lpi e96dc4204e * version update hace 13 años
procinfo.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) hace 13 años
pstatmnt.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. hace 13 años
psub.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. hace 13 años
psystem.pas 31a3f4f4a0 Add ait_ent and ait_ent_end to aiclass array hace 13 años
ptconst.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
ptype.pas f9211271d5 Fix for Mantis #22154: hace 13 años
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader hace 13 años
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist hace 19 años
rautils.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. hace 13 años
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: hace 14 años
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix hace 13 años
rgbase.pas 790a4fe2d3 * log and id tags removed hace 20 años
rgobj.pas aef81cad68 Add debug information about register spilling hace 13 años
scandir.pas 958600e74b * by default disable the warning about interfaces raising a particular hace 13 años
scanner.pas f90e686be2 Always try to present file/line information for generics even if no source is available or the unit was compiled as release unit. This allows IDE like Lazarus to correctly navigate to an error or warning even if the unit containing the generic was compiled as a release unit. hace 13 años
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there hace 13 años
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically hace 14 años
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a hace 14 años
symconst.pas 834026bfb5 * synchronised with trunk up to r21067 hace 13 años
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID hace 13 años
symdef.pas ae7dd3a930 tprocdef.total_local_size field added for MIPS cpu hace 13 años
symnot.pas 790a4fe2d3 * log and id tags removed hace 20 años
symsym.pas 31b1678757 * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units hace 13 años
symtable.pas 71c13190e1 Fix for Mantis #22329. hace 13 años
symtype.pas a54e342060 + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. hace 13 años
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). hace 18 años
systems.inc 600dd162af Merge of rev21557 by Foxsen hace 13 años
systems.pas 600dd162af Merge of rev21557 by Foxsen hace 13 años
tgobj.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level hace 14 años
tokens.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
verbose.pas 3f14f2b61b + be able to turn off warning -> error conversion on the command line (with -) hace 13 años
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string hace 13 años
widestr.pas aee5380ae0 * merged trunk up to r20882 hace 13 años
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 hace 16 años
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 hace 14 años
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used hace 15 años

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