fpc/compiler
pierre 81402bb077 * Improve DEBUG_PPU code
* Move flog file closing from closefile method to destroy destructor.
  * Fix write_data output into flog

git-svn-id: trunk@48890 -
2021-03-06 22:00:30 +00:00
..
aarch64 + added b.cc/b.cs support to AArch64 assembler reader (mantis #38485) 2021-02-24 15:40:22 +00:00
arm * arm: better cfi 2021-02-15 22:25:18 +00:00
armgen * arm/aarch64: patch by J. Gareth Moreton: fix register allocation information for Mov2None 2, should resolve #38055 2021-01-20 21:14:09 +00:00
avr * Removed more assigned but unused vars. 2021-01-24 14:05:21 +00:00
generic * Give access to CPU specific fields of tsettings record 2020-11-16 22:34:38 +00:00
html
i386 * correctly allocate edx for mulx, resolves #38533 2021-02-22 20:39:12 +00:00
i8086 * Corrected visibility of overridden methods. 2021-01-24 12:41:12 +00:00
jvm * the new constant string arraydefs are also implicit pointers types for JVM 2021-02-27 19:30:37 +00:00
llvm * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
m68k m68k: removed some helper function which was added, but in the end it never saw any use 2021-02-24 09:10:40 +00:00
mips Fix for bug report 38549 about wrong code generation 2021-03-03 22:15:20 +00:00
msg + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported 2021-02-13 22:17:35 +00:00
powerpc * turn the recently added 3357 warning into an error, to avoid another compiler IE later 2020-10-14 01:52:12 +00:00
powerpc64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ppcgen * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
riscv * do not generate mul instructions if the mul extension is not available 2021-03-06 14:23:54 +00:00
riscv32 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
riscv64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
sparc * arm: taicpu uses set instead of boolean to store instruction states 2021-02-14 15:51:48 +00:00
sparc64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
sparcgen Try to fix sparc32 code generation error for overflow test 2020-12-16 23:16:37 +00:00
systems m68k-linux: revert maxCrecordalign to 2, as an experiment to fix some linking-against-C regressions since the alignment changes 2021-02-26 10:57:05 +00:00
utils + array defs. of open arrays are now marked by ado_OpenArray, so (internally!) zero sized array can be declared with 0..-1 2021-02-21 18:45:58 +00:00
x86 * patch by J. Gareth Moreton: take care of -Os for SubMov2*, part of #38579 2021-03-04 21:35:13 +00:00
x86_64 * x86: some fixes to enable 8 and 16 bit operations 2021-01-16 22:46:25 +00:00
xtensa + Xtensa: support large stack frames for the call0 abi 2020-12-25 18:18:09 +00:00
z80 Fix z80 compiler failure after change to ConcatConstSymbol in commit #47668 2020-12-03 11:05:36 +00:00
aasmbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
aasmcfi.pas
aasmcnst.pas * Darwin targets that don't support link order sym files can't smart link 2021-02-21 21:41:09 +00:00
aasmdata.pas * Reverted accidentally committed files. 2020-08-13 18:48:19 +00:00
aasmdef.pas
aasmsym.pas
aasmtai.pas + add endsym to ConcatConstSymbol 2020-12-02 21:44:12 +00:00
aggas.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
aopt.pas * (slight modified) patch by J. Gareth Moreton to reduce number of assembler optimizer passes, resolves #37959 2020-10-20 20:03:25 +00:00
aoptbase.pas * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 2020-05-11 17:18:00 +00:00
aoptda.pas
aoptobj.pas Fix compilation with -dALLOCREGDEBUG 2021-01-08 11:13:43 +00:00
aoptutils.pas
assemble.pas * arm: taicpu uses set instead of boolean to store instruction states 2021-02-14 15:51:48 +00:00
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas
cepiktimer.pas * do not include fpcdefs in the cepiktimer unit 2020-11-28 16:02:49 +00:00
cfidwarf.pas + generate initial cfi for aarch64 2021-02-17 20:43:37 +00:00
cfileutl.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
cg64f32.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
cgbase.pas * AArch64: added SIMD instructions (only plain ARMv8-A for now) 2020-10-15 20:29:36 +00:00
cgexcept.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
cghlcpu.pas
cgobj.pas * patch Christo Crause: Use LDS for 8 bit references, resolves #38173 2020-12-06 16:40:30 +00:00
cgutils.pas
cmsgs.pas
comphook.pas + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook 2020-11-24 23:09:01 +00:00
compiler.pas * fix morphos info unit name after r44454 2020-03-31 05:12:59 +00:00
compinnr.pas + added explanation for min/max intrinsics 2020-12-07 21:31:07 +00:00
comprsrc.pas * make sure that the resource compiler related globals are reset 2020-08-12 19:08:31 +00:00
comptty.pas + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook 2020-11-24 23:09:01 +00:00
constexp.pas Fix cycle with -CriotR option on aarch64-linux 2020-07-06 11:39:42 +00:00
COPYING.txt
cprofile.pas
crefs.pas
cresstr.pas * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target. 2020-08-18 11:31:39 +00:00
cscript.pas
cstreams.pas * use AnsiString for file names to overcome length limitations 2020-10-31 19:54:41 +00:00
cutils.pas * patch by Alfred to fix cutils.CompareVersionStrings, resolves #38514 2021-02-21 18:04:12 +00:00
dbgbase.pas * Reworked the optimization of unused $parentfp for nested routines. 2020-05-19 13:17:47 +00:00
dbgcodeview.pas * Fixed value of the LF_PAD13 enum element. 2021-01-24 14:29:39 +00:00
dbgdwarf.pas * support Objective-C classes and protocols with -gw3 (mantis #36250) 2021-02-27 21:44:53 +00:00
dbgstabs.pas Second trial to fix commit 48688 2021-02-17 09:46:37 +00:00
dbgstabx.pas * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 2020-04-26 10:42:07 +00:00
defcmp.pas * weight currency->float conversions the same regardless if 2021-01-05 22:39:16 +00:00
defutil.pas * the new constant string arraydefs are also implicit pointers types for JVM 2021-02-27 19:30:37 +00:00
dirparse.pas * reverted r47862 2020-12-28 16:18:55 +00:00
dwarfbase.pas
elfbase.pas
entfile.pas * Improve DEBUG_PPU code 2021-03-06 22:00:30 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas * fix several double ; 2020-05-24 17:52:09 +00:00
fpccrc.pas * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used. 2020-08-20 16:35:27 +00:00
fpcdefs.inc Add setting of all optimization debug macros with single DEBUG_ALL_OPT macro 2021-01-08 11:05:29 +00:00
fpcp.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
fpkg.pas
fppu.pas * Improve Test_Double_checksum with Test_Double_checksum_write CRC testing code. 2020-11-28 18:32:46 +00:00
gendef.pas + implement initial compiler support for Win64 on Aarch64 2020-04-21 06:04:22 +00:00
globals.pas sinclairql: added platform specific options to allow specifying executable metadata format 2020-11-25 01:48:36 +00:00
globstat.pas
globtype.pas + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 2021-01-24 14:21:03 +00:00
hlcg2ll.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
hlcgobj.pas Fix clearing of single type register variable in initialize_regvars method for ARM cpu (with -Ooregvar) 2021-01-18 23:29:24 +00:00
htypechk.pas * fix for Mantis #38310: ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols 2021-01-05 20:58:46 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas + read 64-Bit ELF executable info correctly 2020-12-06 10:23:18 +00:00
macho.pas
machoutils.pas
Makefile Add new make rule named full_targets 2021-03-06 10:42:50 +00:00
Makefile.fpc Add new make rule named full_targets 2021-03-06 10:42:50 +00:00
MPWMake
msgidx.inc + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported 2021-02-13 22:17:35 +00:00
msgtxt.inc + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported 2021-02-13 22:17:35 +00:00
nadd.pas * last commit fixed, hopefully final fix 2021-03-06 15:03:33 +00:00
nbas.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
ncal.pas * Fixed r48650. 2021-02-12 11:26:37 +00:00
ncgadd.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ncgbas.pas * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 2020-12-10 17:38:37 +00:00
ncgcal.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ncgcnv.pas + introduce tcgobj.a_loadfpu_reg_intreg 2020-09-12 21:23:57 +00:00
ncgcon.pas * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 2021-01-06 12:52:36 +00:00
ncgflw.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
ncghlmat.pas
ncginl.pas * do not omit location_force_reg on second operand of sar/ro* if 2021-03-01 20:21:42 +00:00
ncgld.pas * use fld/fst on i386 to copy doubles 2020-09-29 20:59:29 +00:00
ncgmat.pas * simplify tcgunaryminusnode.second_integer 2020-10-22 21:25:36 +00:00
ncgmem.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
ncgnstfl.pas
ncgnstld.pas
ncgnstmm.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas * fix tw3930 after r37927 2020-09-05 12:25:09 +00:00
ncgset.pas
ncgutil.pas * take care of po_noreturn in more cases 2020-11-28 16:02:51 +00:00
ncgvmt.pas * properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385 2021-01-24 21:32:27 +00:00
ncnv.pas + throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439 2021-02-09 20:48:27 +00:00
ncon.pas * string constants have a size of 0, resolves #38504 2021-02-21 18:46:00 +00:00
nflw.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
ngenutil.pas * naturally align threadvar lists/tables 2020-10-15 20:29:32 +00:00
ngtcon.pas * attempt to fix bitpacked records with qwords in them (tw36156) when cross-compiling to big endian targets from x86. essentially the x86 shifting workarounds in the code already weren't covering all corner cases. 2021-02-21 23:00:41 +00:00
ninl.pas * generate more efficient code for trunc(currency), trunc(comp), and 2020-12-27 13:18:47 +00:00
nld.pas * factored out the creation of loadnodes for special variables/parameters 2020-12-27 13:18:56 +00:00
nmat.pas + apply excess precision also to unary minus nodes 2021-02-28 10:52:11 +00:00
nmem.pas * removed accidently committed printnode 2021-01-31 13:19:55 +00:00
nobj.pas * add support for creating non-address-only procvars to 2020-04-02 21:21:36 +00:00
nobjc.pas
node.pas Fix pos field closing in XML node output after commit 47720 2020-12-09 12:36:46 +00:00
nopt.pas
nset.pas * allow in-operator to be used on type parameters, resolves #38497 2021-02-21 21:29:40 +00:00
nutils.pas + optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b) 2021-02-28 18:20:46 +00:00
objcasm.pas
objcdef.pas
objcgutl.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
objcutil.pas
ogbase.pas + support R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX 2021-01-14 21:36:12 +00:00
ogcoff.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ogelf.pas
oglx.pas
ogmacho.pas + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 2020-04-25 12:59:25 +00:00
ogmap.pas * avoid 8-bit truncation of the sizes in the internal linker map 2020-06-02 23:13:32 +00:00
ognlm.pas + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 2020-04-25 12:59:25 +00:00
ogomf.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
ogrel.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
omfbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
optbase.pas
optconstprop.pas
optcse.pas + min/max intrinsics for internal use by the compiler 2020-12-05 22:00:58 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas * do not check inlined exit nodes for unset results, resolves #38259 2020-12-31 15:52:02 +00:00
options.pas + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported 2021-02-13 22:17:35 +00:00
optloadmodifystore.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
optloop.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
opttail.pas * disable tail recursion optimisation if there is a copy-back parameter 2020-07-21 17:57:50 +00:00
optutils.pas * correctly handle inlined exits in dfa, resolves #38259 2020-12-29 22:35:33 +00:00
optvirt.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
owar.pas * return the correct size for files in ar archive. This is required by the REL 2020-06-01 22:25:31 +00:00
owbase.pas * return the correct size for files in ar archive. This is required by the REL 2020-06-01 22:25:31 +00:00
owomflib.pas
parabase.pas
paramgr.pas * Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para. 2020-06-20 18:47:42 +00:00
parser.pas * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed 2021-02-14 21:25:01 +00:00
pass_1.pas * synchronized with trunk 2020-04-26 22:33:58 +00:00
pass_2.pas * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 2020-12-10 17:38:37 +00:00
pbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pcp.pas
pdecl.pas * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. 2020-12-02 21:01:40 +00:00
pdecobj.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pdecsub.pas * throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217 2021-01-08 14:19:19 +00:00
pdecvar.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
pexports.pas * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 2021-01-02 23:23:08 +00:00
pexpr.pas * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym 2021-01-02 23:23:34 +00:00
pgentype.pas * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 2020-04-25 22:12:35 +00:00
pgenutil.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
pinline.pas * fixed type of size parameter passed to fpc_getmem() when translating 2020-11-08 22:42:38 +00:00
pkgutil.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pmodules.pas * patch by Cyrax: forbid to use heaptrc and valgrind at the same time, resolves #36529 2020-11-11 20:55:03 +00:00
pp.lpi * update version 2020-08-09 18:52:25 +00:00
pp.pas Reorder and complete list of supported CPUs 2020-05-25 22:14:13 +00:00
pparautl.pas * allow overloads with same result type for external Java classes due to Java supporting covariant return types for interfaces 2020-08-02 12:28:46 +00:00
ppc68k.lpi * version update 2020-11-29 09:40:54 +00:00
ppc8086.lpi
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips64el.lpi + some basic stuff for mips64el 2020-06-07 20:04:17 +00:00
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc64le.lpi + project file for PowerPC64LE 2020-12-06 10:23:17 +00:00
ppcppc.lpi
ppcriscv32.lpi
ppcriscv64.lpi
ppcsparc64.lpi
ppcsparc.lpi
ppcx64.lpi
ppcx64llvm.lpi
ppcxtensa.lpi + Xtensa: lazarus project 2020-03-20 22:34:30 +00:00
ppcz80.lpi - removed the z80_internal_linker build mode from the lazarus project 2020-06-03 19:37:44 +00:00
ppheap.pas
ppu.pas * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations) 2021-01-06 12:57:59 +00:00
procdefutil.pas * correctly set the generic related defoptions for an outlined procdef 2020-06-13 18:42:26 +00:00
procinfo.pas * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 2020-06-20 18:34:26 +00:00
psabiehpi.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
pstatmnt.pas * correctly set the defowner of the exception symtable to the surrounding routine as suggested by Blaise.ru 2021-02-21 19:15:52 +00:00
psub.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
psystem.pas * fix for Mantis #38051: make Chr() a real intrinsics so that it can be used in type declarations as well 2020-11-08 22:23:02 +00:00
ptconst.pas
ptype.pas + implement align directive for records, resolves #28927 2020-12-29 18:19:35 +00:00
raatt.pas + add endsym to ConcatConstSymbol 2020-12-02 21:44:12 +00:00
rabase.pas
rasm.pas
rautils.pas * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475 2021-02-11 20:51:53 +00:00
README.txt
rescmn.pas + add option -FF to force the use of fpcres as RC compiler 2020-08-12 19:08:25 +00:00
rgbase.pas + added the Z80 individual flag bits as subregisters 2020-05-11 19:17:31 +00:00
rgobj.pas * rgobj: ungetiftemp can't be used here since it frees only temps of the tt_normal type. 2021-01-24 17:53:42 +00:00
scandir.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
scanner.pas * give a proper error if macros are too deeply nested 2021-01-23 21:29:37 +00:00
switches.pas
symbase.pas * use new TSym.EscapedRealName property when creating new symbols with the 2020-12-27 13:18:53 +00:00
symconst.pas + array defs. of open arrays are now marked by ado_OpenArray, so (internally!) zero sized array can be declared with 0..-1 2021-02-21 18:45:58 +00:00
symcreat.pas * use new TSym.EscapedRealName property when creating new symbols with the 2020-12-27 13:18:53 +00:00
symdef.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
symsym.pas * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations) 2021-01-06 12:57:59 +00:00
symtable.pas * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym 2021-01-02 23:23:34 +00:00
symtype.pas * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. 2020-12-02 21:01:40 +00:00
symutil.pas
syscinfo.pas
systems.inc m68k: initial commit to add the Sinclair QL as a compiler target 2020-11-04 14:20:28 +00:00
systems.pas + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 2021-01-24 14:21:03 +00:00
tgobj.pas tgobj: Change direction of stack. 2020-03-21 20:59:32 +00:00
tokens.pas * according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements 2020-09-24 11:41:43 +00:00
triplet.pas * mark all external assemblers using an LLVM tool using af_llvm 2020-07-19 14:30:35 +00:00
verbose.pas * do not output error numbers for options 2021-01-24 14:34:02 +00:00
version.pas * Xtensa: set source_cpu_string 2020-04-26 17:23:24 +00:00
widestr.pas
wpo.pas
wpobase.pas
wpoinfo.pas

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