fpc/compiler
2019-08-10 13:53:20 +00:00
..
aarch64 * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
arm Added T2 form of LDR/STR for SP relative forms. 2019-06-03 22:10:49 +00:00
armgen * move the homogenous float aggregate determination function to a common 2019-02-23 15:42:39 +00:00
avr avr: Fixed some inconsistencies. 2019-06-10 13:35:38 +00:00
generic
html
i386 Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
i8086 Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
jvm * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
llvm - removed "cmp 0/1, pasbool1" optimization for llvm because this discards 2019-06-07 18:17:55 +00:00
m68k * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
mips * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
msg Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
powerpc * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
powerpc64 * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
ppcgen * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
riscv * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
riscv32 * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
riscv64 * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
sparc * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
sparc64 * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
sparcgen * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
systems + introduced the TOmfRecord_COMENT_EXPDEF class. Use that to generate export 2019-06-15 00:30:07 +00:00
utils Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
x86 Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
x86_64 Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
aasmbase.pas * moved sleb/uleb128 helpers to cutils and use SarInt64() intrinsic (based on 2019-04-21 10:07:42 +00:00
aasmcnst.pas * fixed double free in LLVM code generator after r41963 2019-05-02 19:40:00 +00:00
aasmdata.pas * fixed some issues to get correct values of section_count, works better than before but it is still not perfect for unknown reasons 2018-09-12 20:33:18 +00:00
aasmdef.pas
aasmsym.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
aasmtai.pas Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
aggas.pas * don't double-define function aliases for Darwin defined via ".set" directive 2019-05-18 18:41:38 +00:00
aopt.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
aoptbase.pas + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) 2017-08-20 17:20:38 +00:00
aoptda.pas
aoptobj.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
aoptutils.pas Fix 3 operand version of MatchOpType 2018-11-02 23:18:54 +00:00
assemble.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
blockutl.pas * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
browcol.pas * support for compiling the objects unit methods that expect local procedure/ 2018-12-20 21:22:40 +00:00
catch.pas
ccharset.pas
cclasses.pas * replaced TCmdStrListItem getter function with a property 2019-04-20 18:18:07 +00:00
cfidwarf.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
cfileutl.pas * fixes to the compiler util exe search routines, which caused the compiler to 2019-05-26 16:57:08 +00:00
cg64f32.pas
cgbase.pas + tls support for x86_64-linux (not yet enabled by default) 2019-01-27 09:37:25 +00:00
cghlcpu.pas
cgobj.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
cgutils.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
cmsgs.pas + implemented support for codepage aware compiler messages. It can be enabled 2017-06-08 16:11:33 +00:00
comphook.pas
compiler.pas * print used unit scopes 2018-05-07 19:48:26 +00:00
compinnr.pas + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +00:00
comprsrc.pas renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin 2017-11-17 11:27:19 +00:00
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
cscript.pas * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 2018-01-06 10:17:18 +00:00
cstreams.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
cutils.pas * moved sleb/uleb128 helpers to cutils and use SarInt64() intrinsic (based on 2019-04-21 10:07:42 +00:00
cwindirs.pp
dbgbase.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
dbgcodeview.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
dbgdwarf.pas * fix for Mantis #35566 by applying patch by Martin Friebe: correctly dereference the 32-bit length value for Windows Widestrings 2019-05-16 20:56:18 +00:00
dbgstabs.pas Use use_tag_types everywhere to get consistent results for 'Tt' versus 't' for stabs for string definitions 2019-06-09 20:59:06 +00:00
dbgstabx.pas Fix error in commit #42199 2019-06-10 13:55:59 +00:00
defcmp.pas * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
defutil.pas + keep (certain) arrays in registers if they are used with constants indices only 2019-06-16 21:29:48 +00:00
dirparse.pas
elfbase.pas * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 2018-06-14 13:01:08 +00:00
entfile.pas Add DEBUG_PPU conditional code to be able to debug ppu changes (only useful for debugging purposes) 2019-05-20 12:48:12 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas * record symbols that need to remain in their original order, and on Darwin 2019-04-20 18:18:10 +00:00
fpccrc.pas
fpcdefs.inc * fix bootstrapping with 3.0.x and -O3 2019-06-09 20:05:21 +00:00
fpcp.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
fpkg.pas
fppu.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
gendef.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
globals.pas + introduce the $OPENBSD_LOCALBASE and $OPENBSD_X11BASE pseudo variables; these 2019-03-20 17:03:11 +00:00
globstat.pas * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 2019-01-03 20:31:34 +00:00
globtype.pas * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
hlcg2ll.pas * suppress warning for targets without MM registers 2019-06-11 20:03:47 +00:00
hlcgobj.pas + keep (certain) arrays in registers if they are used with constants indices only 2019-06-16 21:29:48 +00:00
htypechk.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas * fixes to the compiler util exe search routines, which caused the compiler to 2019-05-26 16:57:08 +00:00
macho.pas
machoutils.pas * Addition to r40225: Forgot to remove inline in the implementation. 2018-11-05 14:46:09 +00:00
Makefile + Add variables to use gppc386 utils more easily: 2019-04-03 07:17:40 +00:00
Makefile.fpc + Add variables to use gppc386 utils more easily: 2019-04-03 07:17:40 +00:00
MPWMake
msgidx.inc Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
msgtxt.inc Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
nadd.pas * fixed cbool "and" with full boolean evaluation, and cbool "xor" 2019-06-02 20:04:06 +00:00
nbas.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncal.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgadd.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgbas.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgcal.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgcnv.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgcon.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgflw.pas * fixed wrong change of jumpalignmax from 10 to 16 in previous commit 2018-12-28 13:22:50 +00:00
ncghlmat.pas
ncginl.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgld.pas * fixed loading parent frame pointer for nested procvars on targets that 2019-05-19 19:20:29 +00:00
ncgmat.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgmem.pas * building on powerpc and arm fixed 2019-06-16 21:43:46 +00:00
ncgnstfl.pas
ncgnstld.pas * fixed crashes on platforms using parentfpstructs with generic routines 2019-05-14 19:19:14 +00:00
ncgnstmm.pas * fixed crashes on platforms using parentfpstructs with generic routines 2019-05-14 19:19:14 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgset.pas + support for verifying whether a case statements handles all possibilities 2019-05-12 14:29:11 +00:00
ncgutil.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncgvmt.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ncnv.pas + keep (certain) arrays in registers if they are used with constants indices only 2019-06-16 21:29:48 +00:00
ncon.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
nflw.pas * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 2019-02-25 13:35:40 +00:00
ngenutil.pas * abstracted registration of library init/fini routines (to be able to add 2019-05-19 19:20:47 +00:00
ngtcon.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ninl.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
nld.pas * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 2019-02-25 13:35:40 +00:00
nmat.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
nmem.pas + keep (certain) arrays in registers if they are used with constants indices only 2019-06-16 21:29:48 +00:00
nobj.pas * insert the hidden parameters for objectdef methods after resolving 2019-04-16 16:11:50 +00:00
nobjc.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
node.pas - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +00:00
nopt.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
nset.pas * fix overflow errors in case coverage code 2019-05-13 20:30:28 +00:00
nutils.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
objcasm.pas
objcdef.pas
objcgutl.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
objcutil.pas
ogbase.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ogcoff.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ogelf.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
oglx.pas
ogmacho.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ogmap.pas
ognlm.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +00:00
ogomf.pas + introduced the TOmfRecord_COMENT_IMPDEF class. Use it to encode the IMPDEF 2019-06-14 23:50:48 +00:00
omfbase.pas + implemented TOmfRecord_COMENT_IMPDEF.DecodeFrom 2019-06-17 01:53:38 +00:00
optbase.pas Complement commit 40104, by changing type of executionweight in toptinfo record and adapt pass_2 code 2018-10-31 15:47:53 +00:00
optconstprop.pas - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +00:00
optcse.pas * when transforming the structure of a node tree involving full boolean 2018-11-25 20:56:58 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas * DFA now takes case-completeness into account (mantis #35598) 2019-05-18 12:01:41 +00:00
options.pas + support for verifying whether a case statements handles all possibilities 2019-05-12 14:29:11 +00:00
optloadmodifystore.pas + enabled the load-modify-store optimization for the double argument version 2017-07-21 13:17:18 +00:00
optloop.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
opttail.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
optutils.pas + support for verifying whether a case statements handles all possibilities 2019-05-12 14:29:11 +00:00
optvirt.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
owar.pas
owbase.pas
owomflib.pas More -CriotR fixes: 2018-11-01 21:58:54 +00:00
parabase.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
paramgr.pas * disable regular array -> dynamic array type coversion support unless 2019-05-25 12:31:32 +00:00
parser.pas Fix compilation of compiler with -dPREPROCWRITE 2019-05-16 12:17:32 +00:00
pass_1.pas
pass_2.pas - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +00:00
pbase.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pcp.pas Integrate patch from bug report 35409. 2019-04-18 14:08:03 +00:00
pdecl.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pdecobj.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pdecsub.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pdecvar.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pexports.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pexpr.pas * fixed memory leak 2019-05-19 19:20:34 +00:00
pgentype.pas
pgenutil.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pinline.pas * fix for Mantis #34333: improve error output for incorrect calls to Copy() 2018-09-26 21:33:51 +00:00
pkgutil.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
pmodules.pas * abstracted registration of library init/fini routines (to be able to add 2019-05-19 19:20:47 +00:00
pp.pas Added RiscV32/64 target, from a cleaned up version of branches/laksen/riscv/trunk. 2018-07-20 08:21:15 +00:00
pparautl.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
ppc68k.lpi
ppc8086.lpi
ppcaarch64.lpi * move the homogenous float aggregate determination function to a common 2019-02-23 15:42:39 +00:00
ppcarm.lpi * move the homogenous float aggregate determination function to a common 2019-02-23 15:42:39 +00:00
ppcavr.lpi + version update 2018-01-31 18:46:23 +00:00
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi * version update 2018-10-28 16:21:06 +00:00
ppcriscv32.lpi * RISC-V 32 compilation fixed 2018-07-26 19:18:47 +00:00
ppcriscv64.lpi * fix assembling with official binutils 2018-07-22 13:10:24 +00:00
ppcsparc64.lpi
ppcsparc.lpi
ppcx64.lpi Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
ppcx64llvm.lpi * made lazarus project names more systematic 2017-12-28 14:34:04 +00:00
ppheap.pas
ppu.pas Add DEBUG_PPU conditional code to be able to debug ppu changes (only useful for debugging purposes) 2019-05-20 12:48:12 +00:00
procdefutil.pas * fix for Mantis #30205: (adjusted) patch by Do-wan Kim to only use the default calling convention for exception handlers 2019-02-10 11:26:46 +00:00
procinfo.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pstatmnt.pas * set correct fileinfo for statements_til_end() block 2019-05-12 14:28:52 +00:00
psub.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
psystem.pas - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +00:00
ptconst.pas
ptype.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
raatt.pas + abi tag for i386 2018-12-02 22:56:12 +00:00
rabase.pas
rasm.pas * forgotten comment 2018-02-06 21:38:51 +00:00
rautils.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
scandir.pas + support for verifying whether a case statements handles all possibilities 2019-05-12 14:29:11 +00:00
scanner.pas Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested 2019-08-10 13:53:20 +00:00
switches.pas * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 2018-06-12 19:40:45 +00:00
symbase.pas + add a comment to the destructor of tsymtable so that others (and maybe me a well) will hopefully see that the destructor of that class is not completely trivial! 2018-08-31 19:16:48 +00:00
symconst.pas * abstracted registration of library init/fini routines (to be able to add 2019-05-19 19:20:47 +00:00
symcreat.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
symdef.pas * disable array and record regvars for all cpuhighleveltarget platforms 2019-06-18 19:16:33 +00:00
symsym.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
symtable.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
symtype.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
symutil.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
syscinfo.pas Add arm-palmos target to list supporting po_syscall 2017-09-15 20:25:59 +00:00
systems.inc + added a win16 internal linker class. Not functional yet. 2019-06-14 16:42:45 +00:00
systems.pas + added the asmmodes_x86_att set constant - similar to asmmode_x86_intel, but for AT&T asm syntax 2019-06-11 15:51:40 +00:00
tgobj.pas * emit temp lifetime information for llvm 2018-12-08 15:31:51 +00:00
tokens.pas + nolinline modifier to specify that a routine must never be inlined 2019-02-03 21:00:17 +00:00
verbose.pas + implemented support for codepage aware compiler messages. It can be enabled 2017-06-08 16:11:33 +00:00
version.pas Merged riscv_new branch 2018-09-26 19:49:08 +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