fpc/compiler
2016-08-19 14:07:36 +00:00
..
aarch64 * simplification of and fix for AArch64 cpupara.is_hfa_internal() (patch by 2016-08-12 16:53:02 +00:00
arm - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
avr - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
generic Moved tcontrollerdatatype out into cpuinfo. 2015-09-07 20:36:54 +00:00
html
i386 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
i8086 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
jvm - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
llvm * set shiftval to 0 if we convert a reference to a register paraloc, 2016-08-13 14:47:44 +00:00
m68k - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
mips - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
msg Add aarch64 to -P<x> CPU list 2016-08-11 09:06:14 +00:00
powerpc - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
powerpc64 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
ppcgen - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
sparc - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
systems + add and use sysinit unit for Win64 (only one since we don't support cygwin and gprof there) 2016-08-13 19:10:27 +00:00
utils * mark defs created with create_global_internal() with df_internal so that they can be easily identified 2016-08-15 14:30:46 +00:00
x86 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
x86_64 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
aasmbase.pas * automatically generate necessary indirect symbols when a new assembler 2016-07-20 20:53:03 +00:00
aasmcnst.pas Fix cycling. 2016-07-23 16:34:26 +00:00
aasmdata.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
aasmdef.pas * don't export the indirect symbols on platforms that require the import redirection as there the indirect ones will be created in the importing binary 2016-08-19 13:48:27 +00:00
aasmsym.pas
aasmtai.pas * specify the def of assembler level symbols defined via 2016-07-20 20:52:59 +00:00
aggas.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +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 * made some assembler optimizer methods class methods 2016-06-06 21:18:20 +00:00
aoptcs.pas
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 * handle the asd_cpu asd_cpu directive and keep track of the currently selected 2016-02-27 00:50:01 +00:00
blockutl.pas Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 2015-11-20 11:15:30 +00:00
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 * removed hack to disable dircache for DragonFly BSD now that its dirent 2015-12-24 10:54:53 +00:00
cg64f32.pas * add "doregister" parameter to torddef.create, and don't register temporary 2015-10-13 15:59:06 +00:00
cgbase.pas + initialize DS with the current unit's data segment in the function entry code 2015-09-03 21:44:16 +00:00
cghlcpu.pas
cgobj.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
cgutils.pas * define avr => cpu8bitalu 2015-09-13 21:07:23 +00:00
cmsgs.pas
comphook.pas
compiler.pas Use general_e_exception_raised if Compiler generates an uncaught exception 2015-09-23 16:49:24 +00:00
compinnr.inc Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 2016-06-03 21:25:49 +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
cpid.pas
crefs.pas
cresstr.pas * generate indirect symbols for resource strings as well as the start and end symbols 2016-07-22 15:59:35 +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
dbgdwarf.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
dbgstabs.pas * specify the def of assembler level symbols defined via 2016-07-20 20:52:59 +00:00
dbgstabx.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
defcmp.pas * better estimation of compatibility of array constructors with open arrays, resolves issue #29244 2016-01-04 23:10:45 +00:00
defutil.pas + get_unsigned_inttype(def) to get an unsigned integer type of the same 2016-06-30 15:33:43 +00:00
dirparse.pas
elfbase.pas
entfile.pas Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 2016-04-15 13:39:41 +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 * renamed thlcgobj.g_external_wrapper() into a_jmp_external_name(), and 2016-07-14 15:26:40 +00:00
finput.pas + implemented exporting of functions for the win16 target 2015-09-27 00:48:35 +00:00
fmodule.pas Add a mechanism to keep track of assembler symbols that either publicly provided by a unit or used by a unit and that are not really baked by a Pascal symbol (e.g. public function aliases, RTTI & VMT symbol). 2016-07-22 13:08:32 +00:00
fpccrc.pas
fpcdefs.inc * i386 and i8086 have an index register, so define cpurefshaveindexreg 2016-04-21 19:50:47 +00:00
fpcp.pas * less string literals and more translateable strings instead 2016-07-29 18:45:06 +00:00
fpkg.pas Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 2016-04-15 14:42:24 +00:00
fppu.pas Add a mechanism to keep track of assembler symbols that either publicly provided by a unit or used by a unit and that are not really baked by a Pascal symbol (e.g. public function aliases, RTTI & VMT symbol). 2016-07-22 13:08:32 +00:00
gendef.pas
globals.pas Use NO prefix to disable a feature (-Sfnoheap) instead of '-' prefix 2016-06-25 05:27:09 +00:00
globstat.pas
globtype.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
hlcg2ll.pas * have regvars in address registers for defs which are address types. improves code with reference bases in regvars on m68k. and also reduces data register pressure. 2016-05-01 11:33:37 +00:00
hlcgobj.pas * update the alignment of the reference in thlcgobj.get_bit_const_ref_sref() 2016-08-13 14:47:29 +00:00
htypechk.pas Fix for Mantis #29792. 2016-03-09 20:45:26 +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 Regenerated after: Fix fullcycle by setting EXCLUDE_80BIT_TARGETS to 1 if 80bit-real is not supported by current source CPU 2016-08-11 13:31:07 +00:00
Makefile.fpc Fix fullcycle by setting EXCLUDE_80BIT_TARGETS to 1 if 80bit-real is not supported by current source CPU 2016-08-11 13:25:24 +00:00
MPWMake
msgidx.inc Regenerated msg files after: Add aarch64 to -P<x> CPU list 2016-08-11 09:07:01 +00:00
msgtxt.inc Regenerated msg files after: Add aarch64 to -P<x> CPU list 2016-08-11 09:07:01 +00:00
nadd.pas * don't perform the "/ const" to "* (1/const)" transformation for comp-typed 2016-06-30 15:33:51 +00:00
nbas.pas * when assigning a value to a temp marked as ti_const, do not immediately 2016-08-12 13:35:51 +00:00
ncal.pas * store parameters to inline routines that are already in a temp into a new 2016-08-12 13:35:56 +00:00
ncgadd.pas * converted register_maybe_adjust_setbase() to the high level code generator 2015-12-05 18:03:37 +00:00
ncgbas.pas * when assigning a value to a temp marked as ti_const, do not immediately 2016-08-12 13:35:51 +00:00
ncgcal.pas * specify the def of assembler level symbols defined via 2016-07-20 20:52:59 +00:00
ncgcnv.pas * use indirect imports for FPC_EMPTYCHAR if necessary 2016-08-12 14:20:17 +00:00
ncgcon.pas - removed tdataconstnode, as it is no longer used and is not type safe. 2016-07-19 14:30:42 +00:00
ncgflw.pas * reference the extern assembler symbol of the VMT when catching an exception if it's from another unit 2016-08-19 12:41:06 +00:00
ncghlmat.pas * replaced current_procinfo.currtrue/falselabel with storing the true/false 2015-08-27 18:28:57 +00:00
ncginl.pas * set the alignment resulting from an aligned() call to the actual natural 2016-08-13 14:47:26 +00:00
ncgld.pas * use indirect reference for FPC_THREADVAR_RELOCATE if necessary 2016-08-19 13:07:56 +00:00
ncgmat.pas + support mmregisters in the generic unaryminus code for floats 2015-09-12 23:33:50 +00:00
ncgmem.pas * reference the VMT's assembler symbol if it's from another unit 2016-08-19 14:00:24 +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
ncgopt.pas
ncgrtti.pas Fix for Mantis #30410. 2016-07-29 13:49:42 +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 * specify the def of assembler level symbols defined via 2016-07-20 20:52:59 +00:00
ncgvmt.pas * IID and IIDStr references of the VMT's interface table need to be indirect 2016-08-19 13:06:26 +00:00
ncnv.pas * replaced ctemprefnode.create_offset() usage in variant array indexing 2016-05-21 10:28:22 +00:00
ncon.pas - removed tdataconstnode, as it is no longer used and is not type safe. 2016-07-19 14:30:42 +00:00
nflw.pas * load the function result from the parentfpstruct to its original location 2016-08-13 14:47:50 +00:00
ngenutil.pas * factored out the loading the function result from the parentfpstruct into 2016-08-13 14:47:47 +00:00
ngtcon.pas * specify the def of assembler level symbols defined via 2016-07-20 20:52:59 +00:00
ninl.pas Check for tf_winlikewidestring in the target's flags instead of relying on the target being a Windows system when determining whether the system as the WideString type that's separate from UnicodeString 2016-06-04 08:45:22 +00:00
nld.pas * when assigning a value to a temp marked as ti_const, do not immediately 2016-08-12 13:35:51 +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 * convert the index for open arrays to ptr(u/s)inttype instead of to 2016-07-03 21:18:19 +00:00
nobj.pas * move properties and functions of TVMT to the end of the record, so that one only needs to adjust the total entry count TVMTBuilder.generate_vmt_def() 2016-07-29 13:54:36 +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 * fixed "case <string> of" with multiple labels for a single statement after 2015-07-03 20:04:25 +00:00
nstate.pas
nutils.pas * fixed compilation of tw15391 with range checking enabled after r34034: 2016-07-02 21:09:59 +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 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +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 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 2016-04-08 20:19:59 +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 * refactored the internal linker ar object reader object creation to allow using 2015-08-14 13:52:45 +00:00
ogmacho.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
ogmap.pas * the code for displaying a symbol address in the linker map file moved to a 2015-08-24 22:12:00 +00:00
ognlm.pas * store a pointer to the used tasminfo record in every assembler writer, so 2015-09-12 23:32:13 +00:00
ogomf.pas + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
omfbase.pas + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 2016-04-08 20:19:59 +00:00
optbase.pas
optconstprop.pas
optcse.pas * improve cse on record/array accesses 2016-02-28 18:44:45 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas * factored out SymbolCandidateForWarningOrHint 2016-03-13 19:14:26 +00:00
options.pas Use NO prefix to disable a feature (-Sfnoheap) instead of '-' prefix 2016-06-25 05:27:09 +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 * refactored the internal linker ar object reader object creation to allow using 2015-08-14 13:52:45 +00:00
owbase.pas * support writing more than 1024 zeros in tobjectwriter.writezeros 2015-08-24 01:09:53 +00:00
owomflib.pas * support writing omf libraries with size greater than 251 blocks 2015-11-07 16:54:23 +00:00
parabase.pas * also specify sret attribute at the caller side 2016-08-13 14:47:42 +00:00
paramgr.pas * only copy the shiftval field from the original para location when creating 2015-12-05 18:03:59 +00:00
parser.pas Use general_e_exception_raised if Compiler generates an uncaught exception 2015-09-23 16:49:24 +00:00
pass_1.pas
pass_2.pas * fixed compilation of the compiler with -dEXTDEBUG after r31588 2015-09-12 11:55:54 +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 Ensure that (Bit)SizeOf(GenericParameter) returns a sensible value in case of constants (which are evaluated at compile time unlike if occuring in code) 2016-03-24 20:51:58 +00:00
pdecobj.pas Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 2015-11-20 16:50:58 +00:00
pdecsub.pas * don't generate a warning if a "generic" token follows while parsing procedure directives (let's hope we'll never have to add a "generic" directive :/ ) 2016-08-19 14:07:36 +00:00
pdecvar.pas * make not of public assembler symbols for variables and classes if necessary 2016-08-12 14:19:11 +00:00
pexports.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
pexpr.pas + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
pgentype.pas Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 2015-11-21 16:52:09 +00:00
pgenutil.pas * avoid a crash when processing synthetic methods of specialised classes: 2016-06-30 15:33:54 +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 * don't export types that have been merely renamed (and thus are part of another unit and potentially another package altogether) 2016-08-19 13:29:33 +00:00
pmodules.pas -gc or {$CHECKPOINTER ON} requires heaptrc unit loading even for units 2016-08-10 09:44:01 +00:00
pp.lpi
pp.pas - removed leftover alpha, ia64 and vis code 2015-08-28 22:31:29 +00:00
pparautl.pas * hidden high parameter must be of type ptrsinttype, resolves issue #29204 2015-12-26 20:48:50 +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
ppu.pas Add a mechanism to keep track of assembler symbols that either publicly provided by a unit or used by a unit and that are not really baked by a Pascal symbol (e.g. public function aliases, RTTI & VMT symbol). 2016-07-22 13:08:32 +00:00
ppx86_64.lpi
procinfo.pas * replaced current_procinfo.currtrue/falselabel with storing the true/false 2015-08-27 18:28:57 +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 * declare various symbols as external assembler symbols: RTTI references, parent VMT, FPC_EMPTYMETHOD (all three only if it's used from a different unit), threadvar lists and symbols declared as "external" 2016-07-22 13:34:38 +00:00
psystem.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
ptconst.pas * make not of public assembler symbols for variables and classes if necessary 2016-08-12 14:19:11 +00:00
ptype.pas Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 2015-11-20 16:50:58 +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 - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * update used_in_proc only in trgobj.translate_registers, before it might cause unnecessary pushes of actually unused registers 2016-04-15 21:30:14 +00:00
scandir.pas + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
scanner.pas + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
script.pas
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 * mark defs created with create_global_internal() with df_internal so that they can be easily identified 2016-08-15 14:30:46 +00:00
symcreat.pas * simply disable warnings rather than initialise the function result in 2016-07-15 14:35:52 +00:00
symdef.pas * mark defs created with create_global_internal() with df_internal so that they can be easily identified 2016-08-15 14:30:46 +00:00
symsym.pas - removed tabstractnormalvarsym.currentregloc: the new location will 2016-07-08 07:46:51 +00:00
symtable.pas * don't print "parameter not used" hints for abstract methods (mantis #30431) 2016-08-12 13:35:34 +00:00
symtype.pas * converted the result of fullownerhierarchyname to tsymstr so it (and 2015-11-21 12:37:04 +00:00
symutil.pas
systems.inc + added an i8086-embedded target support to the compiler (RTL and makefile 2016-06-17 19:15:24 +00:00
systems.pas + add and use sysinit unit for Win64 (only one since we don't support cygwin and gprof there) 2016-08-13 19:10:27 +00:00
tgobj.pas * suppress (harmless) range error 2015-05-31 16:50:50 +00:00
tokens.pas + hardfloat directive (arm only): use hard float calling conventions regardless of the abi, resolves #29715 2016-03-06 15:47:31 +00:00
verbose.pas
version.pas - removed leftover alpha, ia64 and vis code 2015-08-28 22:31:29 +00:00
widestr.pas * fixed accidentally committed (harmless) typo in r32202 2015-11-04 13:03:45 +00:00
wpo.pas
wpobase.pas
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