Jonas Maebe cf717c4b75 * use -iphone_os_min rather than -ios_version_min, because the former 12 роки тому
..
aarch64 9e35bfa252 * adapt condition 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 1261d6617d Properly handle MVN in RedundantMovProcess for ARM 13 роки тому
avr d1b2a7732a + GetOffsetReg64 13 роки тому
generic 3017132268 * Remove triple sources 14 роки тому
html fa0d3d79e0 no message 23 роки тому
i386 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. 13 роки тому
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 роки тому
jvm 29263eb343 + full support for overflow checking on the JVM target (note: significantly 13 роки тому
m68k 1bc47815be m68k/cgcpu.pas, tcg64k.fixref: 13 роки тому
mips e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 роки тому
msg 55d03b775e * Within the LaTeX help-text, underscores have to be escaped. 13 роки тому
powerpc e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 роки тому
powerpc64 e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 роки тому
ppcgen 6497d3c994 - removed no longer used/supported af_allowdirect flag (direct assembler 13 роки тому
sparc e190f76dd9 * removed spaces from sparc cpu name strings so they can be much easier used 13 роки тому
systems cf717c4b75 * use -iphone_os_min rather than -ios_version_min, because the former 12 роки тому
utils 0197b84b7f + instruction table generator for arm64 13 роки тому
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 роки тому
x86 0b30b0fd5a * re-enable jump tables for x86-64, they are fixed, see also 13 роки тому
x86_64 df7398977a * correctly calculate the number of words spanned by a packed aggregate 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 0197b84b7f + instruction table generator for arm64 13 роки тому
Makefile.fpc 0197b84b7f + instruction table generator for arm64 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 2ae8d604bc + shifterop for ARM64 13 роки тому
aggas.pas 17ff90deb9 aggas.pas, tgnuassembler.writetree.doalign: 13 роки тому
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 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 63f4e44fd5 assemble.pas, texternalcompiler.makecmdline: 13 роки тому
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 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 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. 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 2038a607ac cg64f32.pas, tcg64f32.a_load64_*_cgpara: 13 роки тому
cgbase.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 роки тому
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 роки тому
cgobj.pas d8c2930454 Also accept R_ADDRESSREGISTER in a_load_cgparaloc_anyreg method 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 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. 13 роки тому
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 65aa6fb379 * make check for registerhi more usefull 13 роки тому
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in 13 роки тому
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 роки тому
defcmp.pas 2414c55ca0 Fix for Mantis #21538. 13 роки тому
defutil.pas 761fcca4ec + is_dynamicstring 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 7089d1d638 + defines for aarch64 to configure the compiler 13 роки тому
fppu.pas 88af293155 Fix for Mantis #22160 13 роки тому
gendef.pas aee5380ae0 * merged trunk up to r20882 13 роки тому
globals.pas 1cb97f23e5 + cpuinfo unit for arm64 13 роки тому
globstat.pas 88af293155 Fix for Mantis #22160 13 роки тому
globtype.pas 761fcca4ec + is_dynamicstring 13 роки тому
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux 13 роки тому
hlcgobj.pas 1a8128fa72 * initialize ovloc.loc in a_op*checkoverflow 13 роки тому
htypechk.pas fd8827d379 * prevent compiler crash caused by double freeing after reporting not 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 6d70009f06 + ELF linker. Works on x86_64-linux and i386-linux good enough to pass the testsuite, but still requires a lot of work in nearly all aspects. In particular, no attempt to resolve symbols from shared libs is done, everything is just treated as imports. Symbol versioning isn't supported either. 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 8a631e9ba8 msg/errore.msg: 13 роки тому
msgtxt.inc 8a631e9ba8 msg/errore.msg: 13 роки тому
nadd.pas a8f9b0dac4 Added initial support for the Cortex-M4F FPv4_S16 FPU 13 роки тому
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the 13 роки тому
ncal.pas 2db54da2b3 m68k also uses a non fixed stack with an equivalent to PUSH/POP so don't reorder parameters 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 761fcca4ec + is_dynamicstring 13 роки тому
ncgmat.pas 5e1e42ec2b * fixes support for cpus with cpunodefaultint for unary minus nodes 13 роки тому
ncgmem.pas 761fcca4ec + is_dynamicstring 13 роки тому
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 роки тому
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 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 роки тому
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset 13 роки тому
ncgutil.pas 04543b179f o merge of the branch laksen/arm-embedded of Jeppe Johansen: 13 роки тому
ncnv.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 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 761fcca4ec + is_dynamicstring 13 роки тому
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) 13 роки тому
nmat.pas 12ad6704f6 - Removed a number of unused variables, reduces noise at compilation. 13 роки тому
nmem.pas 761fcca4ec + is_dynamicstring 13 роки тому
nobj.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 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 d019670495 - Removed generic implementation of TObjData.sectionname, its existence is useless because it is completely overridden by all TObjData descendants. 13 роки тому
ogcoff.pas b851a5a065 Accept range/overflow for address computation inside unit 13 роки тому
ogelf.pas 277200e7ae + ELF linker: Support writing RELATIVE dynamic relocations ahead of the rest, and their number in DT_REL[A]COUNT dynamic tag (still needs changes in CPU-specific code to function properly). 12 роки тому
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 ae56841ee6 * do not apply node CSE to nested loads on high level cpu targets, because 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 f142019343 * set default cpu type to armv7a when compiling for armhf 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 04543b179f o merge of the branch laksen/arm-embedded of Jeppe Johansen: 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 bc4a8ac63e + constant postfixoperator_tokens 13 роки тому
pgenutil.pas 54c1e638ad Fix for Mantis #22428. 13 роки тому
pinline.pas aee5380ae0 * merged trunk up to r20882 13 роки тому
pmodules.pas 8b17a358e4 Remove all traces of the interrupt vector table generation mechanism 13 роки тому
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 роки тому
pp.pas 7089d1d638 + defines for aarch64 to configure the compiler 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 8e00978108 Added support for .section, .set, .weak, and .thumb_set directive for GAS assembler reader 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 6fb90850e9 * lastdirective should be always AS_END 13 роки тому
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 роки тому
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 роки тому
rautils.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 роки тому
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 роки тому
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 роки тому
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 роки тому
rgobj.pas d15304c25e Also check for the type of the register when replacing it. In certain circumstances this can still lead to access to invalid memory resulting either in an access violation or invalid registers. 13 роки тому
scandir.pas 761fcca4ec + is_dynamicstring 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 b2706861f6 + define bestrealtype for aarch64 13 роки тому
symnot.pas 790a4fe2d3 * log and id tags removed 20 роки тому
symsym.pas fcaff0489c * psub.pas : translate tregister for registerhi also 13 роки тому
symtable.pas 42f6caa0d1 * allow accessing strict protected symbols from the extended struct inside 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 6497d3c994 - removed no longer used/supported af_allowdirect flag (direct assembler 13 роки тому
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 роки тому
tokens.pas bc4a8ac63e + constant postfixoperator_tokens 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