fpc/compiler
Jonas Maebe 128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
..
aarch64 * synchronised with trunk till r41725 2019-03-17 15:25:31 +00:00
arm * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
armgen * move the homogenous float aggregate determination function to a common 2019-02-23 15:42:39 +00:00
avr * synchronised with trunk till r41907 2019-04-20 18:22:52 +00:00
generic
html
i386 * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
i8086 * synchronised with trunk till r41423 2019-02-23 17:08:03 +00:00
jvm * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
llvm * recognise extra llvm/Xcode versions 2019-04-20 18:56:19 +00:00
m68k * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
mips * synchronised with trunk till r41449 2019-02-24 20:01:53 +00:00
msg * recognise extra llvm/Xcode versions 2019-04-20 18:56:19 +00:00
powerpc * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
powerpc64 * synchronised with trunk till r41725 2019-03-17 15:25:31 +00:00
ppcgen * let all the case code generation work with tconstexprint instead of aint, 2019-02-24 19:58:37 +00:00
riscv * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
riscv32 * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
riscv64 * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
sparc
sparc64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
sparcgen * synchronised with trunk till r41725 2019-03-17 15:25:31 +00:00
systems + support for LLVM LTO: compile units with -CLflto -> when compiling a main 2019-04-20 18:56:11 +00:00
utils * regenerated Makefiles with LLVM bitcode installation support 2019-04-20 18:56:45 +00:00
x86 * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
x86_64 * fixed x86-64 NR_RETURN_ADDRESS_REG 2019-03-03 17:14:59 +00:00
aasmbase.pas + gcc_except_table section 2019-02-10 17:57:48 +00:00
aasmcfi.pas + support for generating Dwarf CFI using .cfi_* directives 2019-03-03 17:15:03 +00:00
aasmcnst.pas * record symbols that need to remain in their original order, and on Darwin 2019-04-20 18:18:10 +00:00
aasmdata.pas * get rid of current_asmdata.AsmCFI as TDwarfAsmCFI casts 2019-03-03 16:07:11 +00:00
aasmdef.pas
aasmsym.pas
aasmtai.pas * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
aggas.pas + support for generating Dwarf CFI using .cfi_* directives 2019-03-03 17:15:03 +00:00
aopt.pas * modified patch by Gareth Moreton to pool TmpUsedRegs in the assembler optimizers, resolves #34679 2019-01-20 14:16:38 +00:00
aoptbase.pas
aoptda.pas
aoptobj.pas + support for generating Dwarf CFI using .cfi_* directives 2019-03-03 17:15:03 +00:00
aoptutils.pas Fix 3 operand version of MatchOpType 2018-11-02 23:18:54 +00:00
assemble.pas + support for LLVM LTO: compile units with -CLflto -> when compiling a main 2019-04-20 18:56:11 +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 + support for generating Dwarf CFI using .cfi_* directives 2019-03-03 17:15:03 +00:00
cfileutl.pas Fix compilation (with -st option) of compiler for macos OS target 2019-01-25 08:00:58 +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
cgexcept.pas * moved tcgexceptionstatehandler to a new cgexcept unit 2019-02-27 21:13:45 +00:00
cghlcpu.pas
cgobj.pas * let the ARM code generator use the generic tcg.a_load_ref_cgpara() instead 2019-02-16 10:45:46 +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
comphook.pas
compiler.pas * print used unit scopes 2018-05-07 19:48:26 +00:00
compinnr.pas * synchronised with trunk till r40466 2018-12-04 19:54:31 +00:00
comprsrc.pas
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 + 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 * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
dbgstabs.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
dbgstabx.pas
defcmp.pas * constrained generics are also compatible with formaldefs, resolves #34893 2019-01-19 21:23:36 +00:00
defutil.pas * keep track of whether a routine has a C-style variadic parameter in the 2019-02-23 15:42:45 +00:00
dirparse.pas
dwarfbase.pas + missing unit 2019-02-10 22:37:54 +00:00
elfbase.pas * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 2018-06-14 13:01:08 +00:00
entfile.pas * record symbols that need to remain in their original order, and on Darwin 2019-04-20 18:18:10 +00:00
export.pas
expunix.pas * fixed llvm compiler compilation with -O3/-Oodfa 2018-12-18 21:13:56 +00:00
finput.pas
fmodule.pas * synchronised with trunk till r41907 2019-04-20 18:22:52 +00:00
fpccrc.pas
fpcdefs.inc * synchronised with trunk till r41885 2019-04-16 16:20:44 +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 * record symbols that need to remain in their original order, and on Darwin 2019-04-20 18:18:10 +00:00
gendef.pas
globals.pas + support for LLVM LTO: compile units with -CLflto -> when compiling a main 2019-04-20 18:56: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 + support for -CLflto_nosystem option to perform LTO for everything except 2019-04-20 18:56:15 +00:00
hlcg2ll.pas * fix for r41416: 64 bit values on 32 bit platforms can of course also be 2019-02-28 20:45:34 +00:00
hlcgobj.pas * synchronised with trunk till r41885 2019-04-16 16:20:44 +00:00
htypechk.pas * fix for Mantis #35348: correctly handle symbols that aren't parameter types (e.g. default values) 2019-04-14 20:47:47 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas + support for -CLflto_nosystem option to perform LTO for everything except 2019-04-20 18:56:15 +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 * regenerated Makefiles with LLVM bitcode installation support 2019-04-20 18:56:45 +00:00
Makefile.fpc * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
MPWMake
msgidx.inc * recognise extra llvm/Xcode versions 2019-04-20 18:56:19 +00:00
msgtxt.inc * recognise extra llvm/Xcode versions 2019-04-20 18:56:19 +00:00
nadd.pas * allow pointer+ord. const always if the node is created internally 2019-02-19 22:16:05 +00:00
nbas.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
ncal.pas * allow any untyped parameter to be passed to a untyped constref parameter 2019-04-04 19:31:55 +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 * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgcal.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgcnv.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgcon.pas * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
ncgflw.pas * moved tcgexceptionstatehandler to a new cgexcept unit 2019-02-27 21:13:45 +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 type correctness of and simplified the threadvar loading size 2019-01-29 21:39:16 +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 - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +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 * parameter type needs to be Nil for formal parameters (Delphi compatible) 2019-03-22 22:29:20 +00:00
ncgset.pas * fix false possitive tconstexprint range errors after r41441 (mantis #35144) 2019-02-25 20:48:49 +00:00
ncgutil.pas * if a subroutine has an lsda record, the actions have to cover all code 2019-02-24 20:04:43 +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 * fix for Mantis #34526: rely on tc_arrayconstructor_2_set instead of manually converting an array constructor to a set, this way assignment operator overloads are taken into account as well 2019-04-05 15:24:39 +00:00
ncon.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
nflw.pas * synchronised with trunk till r41537 2019-03-01 16:20:22 +00:00
ngenutil.pas * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
ngtcon.pas * fixed dynamic array constants for llvm 2018-11-28 19:23:25 +00:00
ninl.pas * synchronised with trunk till r41159 2019-02-01 17:01:54 +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 * first step towards supporting 32 bit targets with the LLVM code generator: 2019-01-29 21:39:09 +00:00
nmem.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
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 * 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 * synchronised with trunk till r40942 2019-01-20 17:37:07 +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 + gcc_except_table section 2019-02-10 17:57:48 +00:00
ogcoff.pas + gcc_except_table section 2019-02-10 17:57:48 +00:00
ogelf.pas + gcc_except_table section 2019-02-10 17:57:48 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
ogomf.pas Avoid warnings with -O4 option 2019-01-09 22:48:08 +00:00
omfbase.pas + gcc_except_table section 2019-02-10 17:57:48 +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 * wrapcomplexinlinepara takes care of function results which need different temp. handling, resolves #34438 2018-11-03 17:31:10 +00:00
options.pas + support for -CLflto_nosystem option to perform LTO for everything except 2019-04-20 18:56:15 +00:00
optloadmodifystore.pas
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 - removed withnode (was no longer used since a very long time) 2019-01-05 22:28:37 +00:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas More -CriotR fixes: 2018-11-01 21:58:54 +00:00
parabase.pas * support forcing to write the parameter alignment for parameters for LLVM, 2019-03-17 15:28:27 +00:00
paramgr.pas * keep track of whether a routine has a C-style variadic parameter in the 2019-02-23 15:42:45 +00:00
parser.pas
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 * 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 Integrate patch from bug report 35409. 2019-04-18 14:08:03 +00:00
pdecl.pas * insert the hidden parameters for objectdef methods after resolving 2019-04-16 16:11:50 +00:00
pdecobj.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
pdecsub.pas - Adds intrinsics to save/restore SREG when disabling interrupts. 2019-04-18 18:26:51 +00:00
pdecvar.pas * only add hidden parameters for objectdef methods after generating the vmt, 2019-03-16 19:14:14 +00:00
pexports.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
pexpr.pas * synchronised with trunk till r40776 2019-04-13 15:16:09 +00:00
pgentype.pas
pgenutil.pas * insert the hidden parameters for objectdef methods after resolving 2019-04-16 16:11:50 +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 * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
pmodules.pas + support for LLVM LTO: compile units with -CLflto -> when compiling a main 2019-04-20 18:56:11 +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 * only add hidden parameters for objectdef methods after generating the vmt, 2019-03-16 19:14:14 +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 * 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 + support for LLVM LTO: compile units with -CLflto -> when compiling a main 2019-04-20 18:56:11 +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 * if a subroutine has an lsda record, the actions have to cover all code 2019-02-24 20:04:43 +00:00
psabiehpi.pas * get rid of current_asmdata.AsmCFI as TDwarfAsmCFI casts 2019-03-03 16:07:11 +00:00
pstatmnt.pas * set filepos better 2019-02-10 17:53:52 +00:00
psub.pas * synchronised with trunk till r41537 2019-03-01 16:20:22 +00:00
psystem.pas * synchronised with trunk till r40942 2019-01-20 17:37:07 +00:00
ptconst.pas
ptype.pas * only add hidden parameters for objectdef methods after generating the vmt, 2019-03-16 19:14:14 +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 * do not add references to external procedures and variables to the used 2019-02-03 21:10:11 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * Removed unused local vars. 2019-02-25 11:22:49 +00:00
scandir.pas * added extra header to ppu inside a subsection, so we won't run into 2019-04-06 21:28:43 +00:00
scanner.pas * also accept {$elsif} after {$if(n)def} (mantis #34858) 2019-03-17 15:20:22 +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 * synchronised with trunk till r41423 2019-02-23 17:08:03 +00:00
symcreat.pas * only add hidden parameters for objectdef methods after generating the vmt, 2019-03-16 19:14:14 +00:00
symdef.pas * only add hidden parameters for objectdef methods after generating the vmt, 2019-03-16 19:14:14 +00:00
symsym.pas + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 2019-02-23 23:03:29 +00:00
symtable.pas + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 2019-02-23 23:03:29 +00:00
symtype.pas Integrate patch from bug report 35409. 2019-04-18 14:08:03 +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
systems.inc * synchronised with trunk till r40775 2019-01-05 22:12:28 +00:00
systems.pas * synchronised with trunk till r41907 2019-04-20 18:22:52 +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
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