fpc/compiler
2017-01-07 20:18:17 +00:00
..
aarch64 Fix aarch64 cycle after constant parser simplification change in rev 35229-35230 2017-01-05 13:41:44 +00:00
arm * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
avr * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
generic
html
i386 * factored out TX86AsmOptimizer.OptPass2Imul 2017-01-06 22:25:24 +00:00
i8086 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
jvm * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
llvm + support for creating and writing LLVM landingpad instructions 2016-12-18 13:57:42 +00:00
m68k m68k: make vasm to use ELF objects on amiga, enabled smartlink sections 2017-01-05 22:29:08 +00:00
mips * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
msg * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
powerpc powerpc: set af_smartlink_sections for vasm 2017-01-05 22:30:57 +00:00
powerpc64 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
ppcgen * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
sparc * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 2016-12-16 22:41:21 +00:00
systems atari: section smartlinking support for atari. needs vlink nightly 2017-01-06 02:44:12 +00:00
utils * warnings fixed 2016-12-18 20:28:38 +00:00
x86 * factored out TX86AsmOptimizer.OptPass2Imul 2017-01-06 22:25:24 +00:00
x86_64 * factored out TX86AsmOptimizer.OptPass2Imul 2017-01-06 22:25:24 +00:00
aasmbase.pas * automatically generate necessary indirect symbols when a new assembler 2016-07-20 20:53:03 +00:00
aasmcnst.pas * initialize tguid typed constants by searching for the named fields we need, 2016-12-23 20:17:09 +00:00
aasmdata.pas * move the indirect symbols from al_exports to a new assembler list al_indirectglobals; otherwise compilation would fail horribly if we'd try to compile with a .def file as then the al_exports sections are ignored by the internal linker 2017-01-07 20:18:17 +00:00
aasmdef.pas * move the indirect symbols from al_exports to a new assembler list al_indirectglobals; otherwise compilation would fail horribly if we'd try to compile with a .def file as then the al_exports sections are ignored by the internal linker 2017-01-07 20:18:17 +00:00
aasmsym.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
aasmtai.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
aggas.pas aggas: removed a bunch of amiga related hacks which are unnecessary if those systems use an aout GAS writer. made it possible to inject sectionattrs in a generic way 2016-12-12 22:44:36 +00:00
aopt.pas * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 2016-04-21 20:14:01 +00:00
aoptbase.pas * TAOptBase.RegInRef compares using SuperRegistersEqual as TAOptBase.RegInOp does for top_reg already 2016-10-16 16:35:36 +00:00
aoptda.pas
aoptobj.pas * made some assembler optimizer methods class methods 2016-06-06 21:18:20 +00:00
aoptutils.pas + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 2016-05-01 09:37:21 +00:00
assemble.pas * fix some more occured->occured 2016-12-13 12:55:32 +00:00
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas Reset class fields FList and FHashList to nil after Destroy call 2016-07-06 06:14:37 +00:00
cfidwarf.pas
cfileutl.pas Rectify display of shell command, do it if -vx option is used even without -vu 2016-08-28 13:02:34 +00:00
cg64f32.pas
cgbase.pas * get rid of addr_load_indirect again by having tcgx86 provide an internal implementation of both make_simple_ref() and a_load_ref_reg() so that make_direct_ref() can call the latter (and the latter the former) without fear of inifinite recursive calls due to the symbol; a_load_ref_reg() is additionally declared as "final" as a_load_ref_reg_internal() needs to be overloaded instead (which is the case for tcg8086) 2016-09-30 14:01:02 +00:00
cghlcpu.pas
cgobj.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
cgutils.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc + extension to iso mode: reset/rewrite can take a file name as a second parameter 2016-10-16 07:55:08 +00:00
comprsrc.pas
constexp.pas Fix cycle for x86_64-win64 target with -Cr option 2016-01-28 15:07:40 +00:00
COPYING.txt * updated FSF address (mantis #30198, patch by Paul Gevers) 2016-10-02 12:56:59 +00:00
cpid.pas
crefs.pas
cresstr.pas - don't apply const_align() to alignments passed to high level typed 2016-10-06 06:25:02 +00:00
cstreams.pas Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 2016-02-19 17:13:58 +00:00
cutils.pas + Tconstexprint-version of ispowerof2() to correctly deal with constants 2016-03-06 14:16:47 +00:00
cwindirs.pp
dbgbase.pas * don't write or reference debug information for a unit if it belongs to a/another package 2016-08-26 15:09:24 +00:00
dbgdwarf.pas * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 2016-11-07 15:41:44 +00:00
dbgstabs.pas * don't write or reference debug information for a unit if it belongs to a/another package 2016-08-26 15:09:24 +00:00
dbgstabx.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
defcmp.pas * second fix for Mantis #31033: also check for df_specialization instead of is_specialization for parameters to correctly handle nested types that aren't really true specializations themselves 2016-12-10 19:47:09 +00:00
defutil.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
dirparse.pas - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 2016-12-04 11:15:12 +00:00
elfbase.pas
entfile.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
export.pas New export option that enforces the use of the provided export name instead of using the name of the provided symbol. This is necessary to correctly handle overloaded functions, especially if one of them is an internproc one. 2016-04-29 15:03:18 +00:00
expunix.pas * create stubs for library exports on Unix at at the node tree level instead 2016-12-09 13:39:38 +00:00
finput.pas
fmodule.pas + support for handling the tcalo_no_dead_strip flag when targeting LLVM: 2016-12-02 12:33:05 +00:00
fpccrc.pas
fpcdefs.inc m68k: introduce a register calling convention, inspired by VBCC. volatile registers are used to pass arguments 2016-11-06 18:00:29 +00:00
fpcp.pas * Removed unused vars. 2016-09-01 19:55:45 +00:00
fpkg.pas Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 2016-04-15 14:42:24 +00:00
fppu.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
gendef.pas
globals.pas huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 2016-09-03 07:57:23 +00:00
globstat.pas
globtype.pas * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
hlcg2ll.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
hlcgobj.pas * correctly calculate the bit mask in thlcgobj.a_load_regconst_subsetreg_intern, resolves #31042 2016-12-07 20:08:22 +00:00
htypechk.pas * when determining the best candidates for overloaded method calls, apply 2016-12-09 13:39:42 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas * removed DLLsource global variable and replaced its uses with 2015-12-17 15:23:05 +00:00
macho.pas macho.pas: 2016-03-19 12:18:16 +00:00
machoutils.pas
Makefile * support building the LLVM compiler for Darwin/x86_64 and Linux/x86_64 by 2016-12-16 22:41:17 +00:00
Makefile.fpc * support building the LLVM compiler for Darwin/x86_64 and Linux/x86_64 by 2016-12-16 22:41:17 +00:00
MPWMake
msgidx.inc * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
msgtxt.inc * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
nadd.pas * simplify logical operations with constant booleans if the expresions involve no side effects 2017-01-04 16:33:29 +00:00
nbas.pas + tempinfo flag ti_no_final_regsync which prevents that the final reg. sync. is emitted 2016-11-05 23:05:41 +00:00
ncal.pas * in x:=f(..), we only checked for aliasing between x and any parameters of 2016-11-13 16:06:35 +00:00
ncgadd.pas * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 2016-11-13 21:18:39 +00:00
ncgbas.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgcal.pas syscalls: unify call reference creation across 4 different CPU archs. less copypasted code, brings x86_64 AROS support up to speed 2016-12-02 09:29:09 +00:00
ncgcnv.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgcon.pas * moved the floating point constant range checking code from 2016-11-29 21:54:33 +00:00
ncgflw.pas * align more jump targets 2017-01-03 16:43:24 +00:00
ncghlmat.pas
ncginl.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgld.pas * similar change as in r34976 for the generic code: don't assume that if 2016-11-27 21:54:50 +00:00
ncgmat.pas
ncgmem.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgnstfl.pas * fixed interprocedural gotos for llvm 2016-11-21 07:39:13 +00:00
ncgnstld.pas * ensure that we don't firstpass a tcgnestloadnode twice, as it 2015-12-28 15:06:36 +00:00
ncgnstmm.pas
ncgobjc.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgopt.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgrtti.pas * fix for Mantis #31201: don't write any RTTI for undefined defs (and while we're at it abort if an error def is encountered) 2017-01-07 14:35:25 +00:00
ncgset.pas * left has been forced into a register of size uopdef a few statements 2016-07-14 15:20:53 +00:00
ncgutil.pas * moved exception handling helpers from ncgutil to ncgflw as they are only 2016-12-16 22:41:28 +00:00
ncgvmt.pas * factored out the code to create an complete alias for a procdef to 2016-12-09 13:39:35 +00:00
ncnv.pas * don't keep tc_equal type conversions for LLVM in case the resultdef doesn't 2016-12-04 11:15:09 +00:00
ncon.pas * moved the floating point constant range checking code from 2016-11-29 21:54:33 +00:00
nflw.pas * call simplify after typechecking for nodes 2016-11-05 23:05:54 +00:00
ngenutil.pas * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
ngtcon.pas * fixed writing the VMT field of TP-style objects for typed constants if it 2016-11-29 21:54:27 +00:00
ninl.pas * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 2016-11-13 21:18:39 +00:00
nld.pas + more restrictions on pred/succ to dec/inc optimization 2016-11-06 16:36:02 +00:00
nmat.pas Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU 2016-01-28 14:20:51 +00:00
nmem.pas * partial fix for Mantis #30831 (partial, because no exception has been encountered yet): when checking whether the left node of a vmtaddrnode is a generic, don't rely on df_generic, but instead use is_generic which checks for a true generic (the other will also be true if it's merely a structured type declared (or specialized) inside another generic) 2016-11-18 14:43:45 +00:00
nobj.pas * use sizesinttype instead of ptrsinttype to refer to vInstanceSize and 2016-10-04 15:25:13 +00:00
nobjc.pas
node.pas + write also node complexity when dumping a node tree 2016-02-28 18:44:43 +00:00
nopt.pas
nset.pas * fix warnings which were caused by last changes to for node generation 2016-11-05 23:05:44 +00:00
nutils.pas + extension to iso mode: reset/rewrite can take a file name as a second parameter 2016-10-16 07:55:08 +00:00
objcasm.pas * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 2016-05-03 09:01:55 +00:00
objcdef.pas
objcgutl.pas * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 2016-11-07 15:09:07 +00:00
objcutil.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
ogbase.pas * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 2016-05-21 16:45:36 +00:00
ogcoff.pas - removed accidently added debug statement 2016-11-16 20:49:58 +00:00
ogelf.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
oglx.pas
ogmacho.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
ogmap.pas
ognlm.pas
ogomf.pas + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
omfbase.pas * use OMF section names, starting with dot for the dwarf debug info for 2016-10-12 13:05:12 +00:00
optbase.pas
optconstprop.pas + do constant propagation into arguments of inline nodes if possible 2016-11-05 23:05:53 +00:00
optcse.pas * changed ttemp*node.tempinfo^.flags to a private field, and added setters 2016-08-21 14:23:09 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas * factored out SymbolCandidateForWarningOrHint 2016-03-13 19:14:26 +00:00
options.pas * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 2017-01-07 14:50:58 +00:00
optloop.pas * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 2016-03-13 18:19:55 +00:00
opttail.pas
optutils.pas + PrintNodeDFA writes also the defsum 2016-03-13 18:19:52 +00:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas
parabase.pas + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 2017-01-06 22:21:37 +00:00
paramgr.pas + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 2017-01-06 22:21:37 +00:00
parser.pas add m68k atari to the list of platforms which support syscalls 2016-12-02 09:33:05 +00:00
pass_1.pas
pass_2.pas * record in the flowcontrol flags whether we are currently in a block whose 2016-12-18 13:57:33 +00:00
pbase.pas
pcp.pas Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 2016-04-15 13:39:41 +00:00
pdecl.pas * set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol 2016-09-16 15:09:22 +00:00
pdecobj.pas * if the objecttype of the forward declaration mismatches use the objecttype previously parsed; fixes access violation of webtbf/tw11970.pp 2016-09-08 18:42:13 +00:00
pdecsub.pas * correct comment, cause forward declarations for generic functions *do* indeed work (cause they use the same mechanism as forward definitions in the interface section) 2016-12-09 16:24:17 +00:00
pdecvar.pas huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 2016-09-03 07:57:23 +00:00
pexports.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
pexpr.pas * fix for Mantis #31107: disallow calling of ordinary record methods using the record's type. 2016-12-12 22:08:28 +00:00
pgentype.pas
pgenutil.pas * fix for Mantis #31120: check current_genericdef only if the current_procinfo isn't used 2016-12-17 21:20:44 +00:00
pinline.pas Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 2016-06-03 21:25:49 +00:00
pkgutil.pas * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef 2016-12-09 13:39:28 +00:00
pmodules.pas * ignore warnings caused by boolean expression simplification 2017-01-04 16:33:31 +00:00
pp.lpi
pp.pas * increase the maximum stack trace depth, when the compiler is compiled with -dEXTDEBUG 2016-09-27 15:54:00 +00:00
pparautl.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
ppc68k.lpi
ppc8086.lpi + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
ppcaarch64.lpi * fixed exe output path 2016-03-28 20:44:08 +00:00
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas Always write filename, truncate directory part if needed 2016-08-21 22:24:07 +00:00
ppu.pas bump PPU version due to the latest syscall changes 2016-12-03 19:01:11 +00:00
ppx86_64.lpi
procinfo.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
pstatmnt.pas Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings. 2016-03-24 20:58:04 +00:00
psub.pas * allow nested procedures and functions in generic routines (and get rid of an untranslated error message :P ) 2016-12-17 21:23:07 +00:00
psystem.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
ptconst.pas huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 2016-09-03 07:57:23 +00:00
ptype.pas * have pointerdefs and classrefdefs "inherit" the df_generic and df_specialization flags from the def they point to and set the genericdef accordingly 2016-12-09 16:20:36 +00:00
raatt.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
rabase.pas
rasm.pas
rautils.pas m68k: support register pair operands in assembler reader and writer, as used by some instructions (mainly DIVS/DIVU and friends) so we don't have to hack them as three operand instructions 2016-11-05 17:07:18 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * write more information into the interference graph 2016-11-05 23:06:04 +00:00
scandir.pas atari: enable apptype directive, and change exe extension when compiling a GUI app 2016-12-30 10:27:27 +00:00
scanner.pas * reset c in dir_include if it will be re-read 2016-11-05 23:05:39 +00:00
script.pas * fix some more occured->occured 2016-12-13 12:55:32 +00:00
switches.pas Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 2016-03-18 22:04:57 +00:00
symbase.pas
symconst.pas * extend TOrdType by entries for 64-bit values 2016-12-16 14:22:04 +00:00
symcreat.pas * factored out the code to create an complete alias for a procdef to 2016-12-09 13:39:35 +00:00
symdef.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
symsym.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
symtable.pas * fix for Mantis #30761: always return the symbol found in the helper instead of doing this dependant on the presence of the overload attribute; for this the collection of all suitable overloads is done in tcallcandidates instead. 2016-11-30 17:52:25 +00:00
symtype.pas * extend tdef.fullownerhierarchyname() with a parameter that skips the inclusion of a procdef's parameter declaration using the new pno_noparams option 2016-11-28 18:06:35 +00:00
symutil.pas * compare floating point default parameter values bytewise instead of as 2016-10-02 12:56:49 +00:00
syscinfo.pas * refactored syscall types for unified naming,first bits of ARM AROS syscall support 2016-11-06 12:41:56 +00:00
systems.inc m68k: enable named sections for vasm generated objects. have a separate as_m68k_as_aout for a.out objects which doesn't have named sections. amiga and atari gas defaults to a.out, so have it default on these systems. finally enable section smartlinking for amiga and atari, which will be used with vasm assembler 2016-12-11 23:27:24 +00:00
systems.pas aros: enabled internal sysinit for i386-aros 2017-01-05 00:25:10 +00:00
tgobj.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
tokens.pas * refactored syscall types for unified naming,first bits of ARM AROS syscall support 2016-11-06 12:41:56 +00:00
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas * fix warnings which were caused by last changes to for node generation 2016-11-05 23:05:44 +00:00
wpoinfo.pas Merged revision(s) 28689 from branches/svenbarth/packages: 2016-01-22 15:26:30 +00:00

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