fpc/compiler
Jonas Maebe 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending
on pdecsub (node units should not depend on parser units):
   o maybe_add_public_default_java_constructor()
   o handle_calling_convention()
   o create_finalizer_procdef() (replaced with create_outline_procdef())
   o insert_record_hidden_paras()
   o handle_calling_convention()
   o proc_add_definition()
   o build_parentfpstruct()
   o maybe_guarantee_record_typesym()
   o get_first_proc_str()
  * factored out the creation of a procinfo for a nested procdef based on a
    subnodetree of the current procdef into tprocinfo.create_for_outlining()

git-svn-id: trunk@40773 -
2019-01-05 16:26:33 +00:00
..
aarch64 * pass dynamic array parameters of cdecl routines by value on AArch64 2018-12-16 20:44:35 +00:00
arm * not all targets support the tls-model switch, use it only if section thread vars are used 2018-12-27 23:14:38 +00:00
avr * patch (slighly modified) by Christo Crause to write 16 bit registers on avr in hi/lo order, resolves #34721 2018-12-27 21:41:36 +00:00
generic
html
i386 * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
i8086 * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
jvm * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
llvm * don't emit 0-sized parameters for LLVM: clang doesn't either, and some 2019-01-01 16:55:41 +00:00
m68k * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
mips - get rid of MaxOps, it is redundant with max_operands 2018-11-02 21:32:29 +00:00
msg * improved explanation for warning 9034 2019-01-03 17:38:27 +00:00
powerpc * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
powerpc64 - get rid of MaxOps, it is redundant with max_operands 2018-11-02 21:32:29 +00:00
ppcgen * GAS readers and writers can handle section flags 2018-10-20 18:23:24 +00:00
riscv Fix riscv32 compilation error introduced in last commit 2018-11-16 10:24:27 +00:00
riscv32 Disable range check in m68k:tiscv32 and riscv64 cgcpu units 2018-11-15 16:58:40 +00:00
riscv64 Disable range check in m68k:tiscv32 and riscv64 cgcpu units 2018-11-15 16:58:40 +00:00
sparc * split create_paraloc_info_intern for sparc32 and sparc64 2017-08-20 15:21:51 +00:00
sparc64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
sparcgen - get rid of MaxOps, it is redundant with max_operands 2018-11-02 21:32:29 +00:00
systems haiku: linker support code for internal sysinit and make the x86_64 port use it 2019-01-04 03:00:03 +00:00
utils haiku-x86_64: regenerated all Makefiles, take 2 2019-01-04 03:18:42 +00:00
x86 haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake 2019-01-04 02:16:24 +00:00
x86_64 * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
aasmbase.pas + support exporting labels from asm blocks in intel syntax asm blocks via the 2017-10-30 16:44:13 +00:00
aasmcnst.pas * fixed LLVM memory leaks 2019-01-01 16:22:31 +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
aasmtai.pas tabs to spaces cleanup. no functional change 2019-01-04 01:35:36 +00:00
aggas.pas + initial work for tls-based threadvar support on arm-linux 2018-11-07 22:02:58 +00:00
aopt.pas
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 + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +00:00
aoptutils.pas Fix 3 operand version of MatchOpType 2018-11-02 23:18:54 +00:00
assemble.pas + new fields for more precise control of alignment 2018-11-01 20:49:17 +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 * Rearranged the code to place implementation of inline methods before their usage within this unit. 2018-11-05 13:59:59 +00:00
cfidwarf.pas
cfileutl.pas * Removed inline for Unix2AmigaPath since it is not necessary and can't be inlined anyway due to ansistring conversion. 2018-11-05 14:37:01 +00:00
cg64f32.pas
cgbase.pas + i386-linux support for tls-based threadvars 2018-11-07 22:03:02 +00:00
cghlcpu.pas
cgobj.pas + initial work for tls-based threadvar support on arm-linux 2018-11-07 22:02:58 +00:00
cgutils.pas Added RiscV32/64 target, from a cleaned up version of branches/laksen/riscv/trunk. 2018-07-20 08:21:15 +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 * 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
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 + Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined. 2018-11-05 14:00:51 +00:00
cwindirs.pp
dbgbase.pas * revert r37968: it does more harm than good 2018-01-15 16:41:22 +00:00
dbgcodeview.pas + added new debug output option -godwarfomflinnum for generating line number 2018-05-17 14:38:50 +00:00
dbgdwarf.pas * If ds_dwarf_cpp (C++ emulation) is enabled, add DW_AT_linkage_name attribute for methods. 2018-12-07 20:55:50 +00:00
dbgstabs.pas * converted Boolean8 to an internal type, and mapped Boolean to the 2018-10-16 21:14:18 +00:00
dbgstabx.pas
defcmp.pas + customint torddef type to create arbitraty bit-width integers 2018-11-29 20:57:08 +00:00
defutil.pas + customint torddef type to create arbitraty bit-width integers 2018-11-29 20:57:08 +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 More -CriotR fixes: 2018-11-01 21:58:54 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc * Enabled safecall support for aarch64 to be on par with other cpus. 2018-10-08 08:37:18 +00:00
fpcp.pas
fpkg.pas
fppu.pas * keep track if the unit was found by using a default namespace as prefix 2018-05-05 17:18:39 +00:00
gendef.pas Add obsolete prefix to cpu_ia64, system_ia64_win64 and system_ia64_embedded, ia64 specfic code has been removed in rev 30836 dated 2015-05-09 2017-08-04 08:54:34 +00:00
globals.pas * fixed wrong change of jumpalignmax from 10 to 16 in previous commit 2018-12-28 13:22:50 +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 cs_opt_use_load_modify_store because for llvm because it is 2018-12-04 19:53:13 +00:00
hlcg2ll.pas * make the size parameter of thlcgobj.location_force_mmregscalar() a 2018-12-24 22:10:02 +00:00
hlcgobj.pas * fixed LLVM memory leaks 2019-01-01 16:22:31 +00:00
htypechk.pas + customint torddef type to create arbitraty bit-width integers 2018-11-29 20:57:08 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas * do not use a wildcard while deleting smartlinked objects after linking stage in a script, conflicts with script filename quoting on Unix at least 2018-01-06 10:19:21 +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 haiku-x86_64: regenerated all Makefiles, take 2 2019-01-04 03:18:42 +00:00
Makefile.fpc + Introduce PPC_SUFFIXES, new make variable that lists all ppc suffixes 2018-11-13 15:10:21 +00:00
MPWMake
msgidx.inc * regenerate msg*.inc files after addition of error message 2018-12-26 11:25:57 +00:00
msgtxt.inc * regenerate msg*.inc files after addition of error message 2018-12-26 11:25:57 +00:00
nadd.pas * fixed adjustments of lower/upper bounds in range test optimization in case 2018-11-17 22:38:31 +00:00
nbas.pas * finalizetemps nodes should never be considered equal and have side effects 2018-11-18 11:07:28 +00:00
ncal.pas * changed reverseparameters() from function into procedure: it does not make 2019-01-01 15:08:40 +00:00
ncgadd.pas
ncgbas.pas * moved finalization of code generator temps to a node, so it can be getcopy'd 2018-11-17 22:38:36 +00:00
ncgcal.pas o fix several issues with floating point exceptions 2018-08-19 15:26:00 +00:00
ncgcnv.pas * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
ncgcon.pas
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 + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +00:00
ncgld.pas * cap the assumed alignment of pass-by-reference parameters to the minimum of 2018-11-26 22:27:35 +00:00
ncgmat.pas * fixed LLVM memory leaks 2019-01-01 16:22:31 +00:00
ncgmem.pas Change local variables offsetdec and extraoffset type to ASizeInt 2018-11-16 13:28:26 +00:00
ncgnstfl.pas
ncgnstld.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
ncgnstmm.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas + customint torddef type to create arbitraty bit-width integers 2018-11-29 20:57:08 +00:00
ncgset.pas * when optimizing range checks in case nodes, unsigned comparisions must be used, resolves #34782 2019-01-01 01:11:13 +00:00
ncgutil.pas * in constructors, free the temp holding self only after loading the function 2018-12-24 22:10:09 +00:00
ncgvmt.pas * move getrecorddef and gettabledef from TVMTWritter to symdef as they might be used from the RTTI as well 2018-08-29 19:21:23 +00:00
ncnv.pas * when creating wrappers, add a prefix to parameter names to prevent them 2018-12-24 22:10:06 +00:00
ncon.pas * fixed string constant length when going from utf-8 to single-byte code page 2018-12-24 22:21:40 +00:00
nflw.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
ngenutil.pas * handle constructor function results that have been migrated to the 2018-12-25 15:36:24 +00:00
ngtcon.pas * fixed dynamic array constants for llvm 2018-11-28 19:23:25 +00:00
ninl.pas * changed reverseparameters() from function into procedure: it does not make 2019-01-01 15:08:40 +00:00
nld.pas * set nf_write flag properly for vec. nodes of types with implicit dereferencing 2018-11-17 15:08:23 +00:00
nmat.pas * converted Boolean8 to an internal type, and mapped Boolean to the 2018-10-16 21:14:18 +00:00
nmem.pas * set nf_write flag properly for vec. nodes of types with implicit dereferencing 2018-11-17 15:08:23 +00:00
nobj.pas * stop searching for methods to implement interfaces in parent classes after 2018-12-28 18:25:58 +00:00
nobjc.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
node.pas * moved finalization of code generator temps to a node, so it can be getcopy'd 2018-11-17 22:38:36 +00:00
nopt.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
nset.pas * (modified) patch by Gareth Moreton: Speed improvement in case blocks, resolves #0034762 2018-12-27 18:31:55 +00:00
nutils.pas + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +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 * Removed unused local vars. 2018-11-02 18:44:29 +00:00
ogcoff.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +00:00
ogelf.pas * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 2018-06-14 13:01:08 +00:00
oglx.pas
ogmacho.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +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 * fixed msdos .com file generation 2018-12-31 17:41:31 +00:00
omfbase.pas More -CriotR fixes: 2018-11-01 21:58:54 +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 * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +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 * wrapcomplexinlinepara takes care of function results which need different temp. handling, resolves #34438 2018-11-03 17:31:10 +00:00
options.pas haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake 2019-01-04 02:16:24 +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 * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
opttail.pas
optutils.pas Use longint type instead of AWord for Initial parameter in CalcExecutionWeigths (to avoid range error for avr compiler) 2018-10-31 10:21:51 +00:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas More -CriotR fixes: 2018-11-01 21:58:54 +00:00
parabase.pas * don't emit 0-sized parameters for LLVM: clang doesn't either, and some 2019-01-01 16:55:41 +00:00
paramgr.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
parser.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
pass_1.pas
pass_2.pas * moved finalization of code generator temps to a node, so it can be getcopy'd 2018-11-17 22:38:36 +00:00
pbase.pas * a symbol might be specified using a partial namespace path as long as the missing part is a namespace symbol, 2018-05-05 17:18:45 +00:00
pcp.pas
pdecl.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pdecobj.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pdecsub.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pdecvar.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pexports.pas
pexpr.pas + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +00:00
pgentype.pas
pgenutil.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +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 * check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?) 2018-01-14 21:16:37 +00:00
pmodules.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
pp.lpi
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 * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
ppc68k.lpi
ppc8086.lpi * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ppcaarch64.lpi
ppcarm.lpi * version update 2018-01-31 18:52:18 +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 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 2017-05-30 21:17:17 +00:00
ppcsparc.lpi + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 2017-05-30 21:17:17 +00:00
ppcx64.lpi * made lazarus project names more systematic 2017-12-28 14:34:04 +00:00
ppcx64llvm.lpi * made lazarus project names more systematic 2017-12-28 14:34:04 +00:00
ppheap.pas
ppu.pas * fixed alignment of tfiledef (same as corresponding file recorddef) 2018-12-01 23:07:05 +00:00
procdefutil.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +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 * more robust fix of #27543 2019-01-02 16:14:18 +00:00
psub.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
psystem.pas + volatile() expression that marks an expression as volatile 2018-12-04 19:53:20 +00:00
ptconst.pas
ptype.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +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 Write real atomic operations, and add memory barrier operations. 2018-07-29 16:43:09 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * fixes arm 2018-11-18 14:16:20 +00:00
scandir.pas + basic infrastructure to generate code for floating point exception 2018-08-19 10:54:45 +00:00
scanner.pas * fixed wrong change of jumpalignmax from 10 to 16 in previous commit 2018-12-28 13:22:50 +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 + customint torddef type to create arbitraty bit-width integers 2018-11-29 20:57:08 +00:00
symcreat.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
symdef.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
symsym.pas * Use getasizeint/putasizeint for tfieldvarsym.fieldoffset 2018-11-18 10:32:13 +00:00
symtable.pas * fix big endian targets by using an explicit assignment with typecast instead of an absolute variable 2018-09-10 21:12:29 +00:00
symtype.pas + add method has_non_trivial_init_child() to tdef which provides access to the symtable's 2018-06-20 19:00:11 +00:00
symutil.pas * moved around/replaced the following procedures to stop nflw from depending 2019-01-05 16:26:33 +00:00
syscinfo.pas Add arm-palmos target to list supporting po_syscall 2017-09-15 20:25:59 +00:00
systems.inc haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake 2019-01-04 02:16:24 +00:00
systems.pas haiku: linker support code for internal sysinit and make the x86_64 port use it 2019-01-04 03:00:03 +00:00
tgobj.pas * emit temp lifetime information for llvm 2018-12-08 15:31:51 +00:00
tokens.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +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