fpc/compiler
svenbarth f9211271d5 Fix for Mantis #22154:
* ptype.pas, read_named_type, array_dec: 
  allow border checks if both range elements are orddefs; for normal arrays
  using e.g. "0..15" this will allow to declare the correct amount of
  elements in the initialization while for generic arrays (e.g. "0..SizeOf(T)") 
  this will mean that only one element can be declared, which was already the 
  case before this change (maybe in such cases a constant initialization should 
  be forbidden in the future...)
+ added test

git-svn-id: trunk@21690 -
2012-06-24 10:43:28 +00:00
..
alpha + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
arm Support 64-bit shifts on ARM. 2012-06-23 20:36:27 +00:00
avr * moved definition of maxcpuregister and tcpuregisterset from cgbase to 2012-06-15 18:24:35 +00:00
generic
html
i386 * Fix for go32v2 specific failure in test/cg/tcalval5 with -Aas option 2012-05-31 12:55:56 +00:00
ia64 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
jvm * consistently define empty saved_mm_registers arrays as containing a single 2012-06-15 18:24:25 +00:00
m68k * moved definition of maxcpuregister and tcpuregisterset from cgbase to 2012-06-15 18:24:35 +00:00
mips Fix big endian issues 2012-06-21 11:52:57 +00:00
msg - removed "<<<<<<< HEAD" leftover from a conflicting merge 2012-05-28 12:08:14 +00:00
powerpc * consistently define empty saved_mm_registers arrays as containing a single 2012-06-15 18:24:25 +00:00
powerpc64 * consistently define empty saved_mm_registers arrays as containing a single 2012-06-15 18:24:25 +00:00
ppcgen - removed g_indirect_sym_load() from hlcgobj/hlcg2ll because this cgobj 2012-05-26 11:32:33 +00:00
sparc * consistently define empty saved_mm_registers arrays as containing a single 2012-06-15 18:24:25 +00:00
systems Use 4 for mips(eb/el) recordalignmax field 2012-06-21 11:49:49 +00:00
utils * Change back mipseb-linux to mips-linux 2012-06-21 07:59:27 +00:00
vis + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
x86 * avoid spurious range errors due to longint+qword expressions (results in 2012-06-15 16:58:27 +00:00
x86_64 * fixes peephole optimizer problems with -O3 on x86-64 2012-05-13 19:19:04 +00:00
aasmbase.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
aasmdata.pas * synchronised with trunk up to r21067 2012-04-26 21:24:20 +00:00
aasmsym.pas
aasmtai.pas - Removed redundant fillchar() calls, class instances are cleared on construction. 2012-04-28 17:16:33 +00:00
aggas.pas Merge of rev21557 by Foxsen 2012-06-13 22:25:38 +00:00
agjasmin.pas * part of r21120, forgot to commit 2012-04-29 22:27:05 +00:00
aopt.pas * fix reg. allocs even for procedures without labels 2012-05-15 18:09:12 +00:00
aoptbase.pas * fix comment so it does not confuse lazarus 2012-05-15 18:07:25 +00:00
aoptcs.pas * RefsHaveIndexReg -> cpurefshaveindexreg 2012-03-10 19:43:52 +00:00
aoptda.pas
aoptobj.pas * optimize TAOptObj.UpdateUsedRegs to avoid multiple passes through the asmlist 2012-06-07 15:19:55 +00:00
asmutils.pas * do not create a global symbol in the middle of ansi/unicodestring 2012-05-19 10:19:35 +00:00
assemble.pas + Support assembling expressions ".long L2-L1" where label L1 belongs to the current objsection and L2 comes from any objsection. This is done using relative relocations and is compatible with GNU AS. 2012-05-22 14:59:24 +00:00
browcol.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
bsdcompile
catch.pas
ccharset.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cclasses.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
cfidwarf.pas
cfileutl.pas * GNU ld only supports double quotes in its response file -> requote there 2012-05-03 12:41:16 +00:00
cg64f32.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
cgbase.pas * moved definition of maxcpuregister and tcpuregisterset from cgbase to 2012-06-15 18:24:35 +00:00
cghlcpu.pas + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 2012-04-28 14:27:31 +00:00
cgobj.pas * consistently define empty saved_mm_registers arrays as containing a single 2012-06-15 18:24:25 +00:00
cgutils.pas * moved definition of maxcpuregister and tcpuregisterset from cgbase to 2012-06-15 18:24:35 +00:00
cmsgs.pas compiler: 2011-11-02 09:20:59 +00:00
comphook.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
compiler.pas + AIX target definition and info for the compiler and ppudump 2012-04-11 18:00:29 +00:00
compinnr.inc * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
comprsrc.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
constexp.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
COPYING.txt
cp437.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp850.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp866.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp1251.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp1252.pp * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp8859_1.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp8859_5.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cpid.pas merge r14347 from cpstrnew branch by florian: 2011-09-17 12:00:06 +00:00
crefs.pas
cresstr.pas * do not create a global symbol in the middle of ansi/unicodestring 2012-05-19 10:19:35 +00:00
cstreams.pas * typo fixed 2011-12-31 16:25:19 +00:00
cutils.pas * moved maybequoted() from cutils to cfileutl and let its behaviour vary 2012-04-16 19:52:36 +00:00
cwindirs.pp
dbgbase.pas * Avoid having current_debuginfo pointing to freed memory 2012-03-21 10:17:43 +00:00
dbgdwarf.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
dbgstabs.pas * Use mips_extra_offset function to give offsets expected by GDB for MIPS cpu 2012-06-12 22:57:19 +00:00
dbgstabx.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
defcmp.pas * give an error if a routine definition defines default values for 2012-06-07 22:36:39 +00:00
defutil.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
export.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
expunix.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
finput.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
fmodule.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
fpccrc.pas
fpcdefs.inc * Define both mipseb and mips for non endian-little MIPS compiler 2012-06-20 16:11:00 +00:00
fppu.pas Always try to present file/line information for generics even if no source is available or the unit was compiled as release unit. This allows IDE like Lazarus to correctly navigate to an error or warning even if the unit containing the generic was compiled as a release unit. 2012-06-20 09:01:28 +00:00
gendef.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
globals.pas * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type 2012-06-13 21:51:59 +00:00
globtype.pas - zapped some gremlins in comments 2012-06-06 18:55:38 +00:00
hlcg2ll.pas - removed g_indirect_sym_load() from hlcgobj/hlcg2ll because this cgobj 2012-05-26 11:32:33 +00:00
hlcgobj.pas * properly handle loading a value from a larger to a smaller subsetreg 2012-06-21 17:05:38 +00:00
htypechk.pas * don't give -CO warnings or hints for ordinal constants, because those 2012-06-06 19:28:22 +00:00
impdef.pas * moved maybequoted() from cutils to cfileutl and let its behaviour vary 2012-04-16 19:52:36 +00:00
import.pas
link.pas * Fixed internal linker entering infinite loop if script contains empty lines or comments. 2012-06-18 17:03:35 +00:00
macho.pas
machoutils.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
Makefile Makefile regenerazted after change to Makefile.fpc: 2012-06-13 08:05:36 +00:00
Makefile.fpc + Add CYCLELEVEL variable, whose value can be from 1 to 3 2012-06-13 08:04:44 +00:00
MPWMake
msgidx.inc - removed "<<<<<<< HEAD" leftover from a conflicting merge 2012-05-28 12:08:14 +00:00
msgtxt.inc - removed "<<<<<<< HEAD" leftover from a conflicting merge 2012-05-28 12:08:14 +00:00
nadd.pas * don't insert type conversions in add nodes if both arguments are constant 2012-05-26 14:14:59 +00:00
nbas.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
ncal.pas * minor reformatting, and removed superfluous assigned test (the value is 2012-06-06 18:51:14 +00:00
ncgadd.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncgbas.pas + ttgobj.gethltemptyped() routine for allocating managed types with high level 2011-08-20 08:24:07 +00:00
ncgcal.pas * fixed (currently harmless) error in r21287 that specified that the full 2012-05-20 21:11:45 +00:00
ncgcnv.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncgcon.pas * do not create a global symbol in the middle of ansi/unicodestring 2012-05-19 10:19:35 +00:00
ncgflw.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncginl.pas * fixed source type for location_force_register() when loading second 2012-05-19 14:39:29 +00:00
ncgld.pas * fixed source type information for values loaded in arrayconstructor after 2012-05-20 20:34:14 +00:00
ncgmat.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncgmem.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncgnstld.pas * copy the implicit pointer rather than the contents of var/out/constref 2011-11-18 21:09:38 +00:00
ncgnstmm.pas * fixed loading the nested framepointer when calling another nested 2011-09-20 22:22:26 +00:00
ncgobjc.pas compiler: 2011-09-28 01:18:43 +00:00
ncgopt.pas + gethltemp() to allocate a temp specifying full type information even 2011-08-20 07:54:04 +00:00
ncgrtti.pas + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. 2012-04-27 10:17:59 +00:00
ncgset.pas * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 2012-05-13 12:33:10 +00:00
ncgutil.pas * patch by Jeppe Johansen: fix gen_load_cgpara_loc for mips(el) 2012-05-28 16:21:30 +00:00
ncnv.pas * correctly change the signdness information of tordconstnodes that are 2012-05-26 13:31:23 +00:00
ncon.pas * synchronised with trunk up to r21067 2012-04-26 21:24:20 +00:00
nflw.pas + implement auto inlining (-Ooautoinline) 2012-05-19 13:30:02 +00:00
ngenutil.pas * converted code to trash variables (-gt) to operate at the node tree level, 2012-05-26 11:32:39 +00:00
ngtcon.pas * support pointer constants as initialisation values for procvar typed 2012-05-20 14:51:15 +00:00
ninl.pas ninl.pas, tinlinenode.pass_typecheck: an intrinsic which has a generic type parameter as argument is left as is (e.g. a call) and thus this needs to be respected when typechecking a SizeOf. Fixes Mantis #21592. 2012-06-06 14:41:12 +00:00
nld.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
nmat.pas * correctly change the signdness information of tordconstnodes that are 2012-05-26 13:31:23 +00:00
nmem.pas * fixed (not harmless) class cast error when indexing an array[orddef] using 2012-05-08 20:02:26 +00:00
nobj.pas * give an error if a routine definition defines default values for 2012-06-07 22:36:39 +00:00
nobjc.pas
node.pas * part of r20140, forgot to commit 2012-01-21 21:16:47 +00:00
nopt.pas * fixed genmultistringadd() optimization for jvm and enabled it 2012-04-16 20:51:51 +00:00
nset.pas
nstate.pas
nutils.pas * converted code to trash variables (-gt) to operate at the node tree level, 2012-05-26 11:32:39 +00:00
objcdef.pas
objcgutl.pas * objcprotocol symbols have to be weak in the non-fragile abi to prevent 2011-12-17 12:43:42 +00:00
objcutil.pas * don't generate a classClass call for objc loadvmtaddrnodes generated 2012-03-29 20:54:47 +00:00
ogbase.pas * ELF relocation cleanup/improvement: 2012-06-20 14:16:48 +00:00
ogcoff.pas - Removed TDJCoffObjSection,TPECoffObjSection,TCoffExeSection,TPECoffExeSection,TDJCoffExeSection. These only add complication and no value. 2012-06-23 14:59:45 +00:00
ogelf.pas * ELF relocation cleanup/improvement: 2012-06-20 14:16:48 +00:00
oglx.pas
ogmacho.pas + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 2012-04-11 18:01:57 +00:00
ogmap.pas
ognlm.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
optbase.pas
optcse.pas
optdead.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
optdfa.pas * handle for-loops correctly if the limits contain the counter variable 2011-12-30 10:54:08 +00:00
options.pas Support ABS intrinsic on ARM 2012-06-21 20:12:36 +00:00
optloop.pas + implement auto inlining (-Ooautoinline) 2012-05-19 13:30:02 +00:00
opttail.pas * factored load node flags out of node flags to gain space 2011-10-30 15:14:21 +00:00
optutils.pas
optvirt.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
owar.pas
owbase.pas * write error code if an object file cannot be created 2012-01-15 10:59:10 +00:00
parabase.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
paramgr.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
parser.pas compiler: remove unused variable 2011-09-20 13:44:53 +00:00
pass_1.pas
pass_2.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
pbase.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
pdecl.pas pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593. 2012-06-06 15:00:28 +00:00
pdecobj.pas Fix for Mantis #21350 2012-06-14 07:07:28 +00:00
pdecsub.pas Fix for Mantis #21064. 2012-06-20 08:35:57 +00:00
pdecvar.pas * revert revision 21251 for pdecvar.pas: not generating the bss-data for the static symbol for a generic breaks linking with debug info enabled; I'll need to find a better solution to avoid unneeded use of space (luckily it wasn't needed to fix any bug ^^) 2012-05-09 12:02:41 +00:00
pexports.pas * also show the valid bounds in most cases when signalling a range check 2012-03-10 21:53:36 +00:00
pexpr.pas Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688. 2012-05-22 12:19:11 +00:00
pgenutil.pas Fix for Mantis #21064. 2012-06-20 08:35:57 +00:00
pinline.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
pmodules.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
pp.lpi * version update 2012-05-05 18:33:15 +00:00
pp.pas * minimum compiler version to build the compiler is 2.6.0 2012-05-28 13:30:51 +00:00
pparautl.pas Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 2012-06-14 12:11:11 +00:00
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * update of project file 2012-03-25 14:23:57 +00:00
ppcavr.lpi * version update 2011-09-04 18:53:12 +00:00
ppcmips.lpi * lazarus project file updates 2012-04-21 18:18:23 +00:00
ppcmipsel.lpi * use separate build directory for mipsel 2012-04-29 21:30:46 +00:00
ppcppc.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcsparc.lpi
ppheap.pas
ppu.pas Fix for Mantis #21350 2012-06-14 07:07:28 +00:00
ppx86_64.lpi * version update 2012-06-03 18:55:44 +00:00
procinfo.pas + implement auto inlining (-Ooautoinline) 2012-05-19 13:30:02 +00:00
pstatmnt.pas Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 2012-06-14 12:11:11 +00:00
psub.pas Fix for Mantis #21457 2012-06-12 09:42:22 +00:00
psystem.pas + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
ptconst.pas * synchronised with trunk up to r21067 2012-04-26 21:24:20 +00:00
ptype.pas Fix for Mantis #22154: 2012-06-24 10:43:28 +00:00
raatt.pas + New virtual method TATTReader.HandleDollar, useful for MIPS reader 2012-02-02 23:45:22 +00:00
rabase.pas
rasm.pas
rautils.pas Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 2012-06-14 12:11:11 +00:00
README.txt
regvars.pas
rescmn.pas + fcl-res support for xcoff/aix 2012-04-11 18:06:33 +00:00
rgbase.pas
rgobj.pas * moved definition of maxcpuregister and tcpuregisterset from cgbase to 2012-06-15 18:24:35 +00:00
scandir.pas * by default disable the warning about interfaces raising a particular 2012-05-19 10:19:49 +00:00
scanner.pas Always try to present file/line information for generics even if no source is available or the unit was compiled as release unit. This allows IDE like Lazarus to correctly navigate to an error or warning even if the unit containing the generic was compiled as a release unit. 2012-06-20 09:01:28 +00:00
script.pas * GNU ld only supports double quotes in its response file -> requote there 2012-05-03 12:41:16 +00:00
switches.pas * the default string type for the JVM target is no longer automatically 2011-08-20 08:35:47 +00:00
symbase.pas + TSymtablestack.getcopyuntil() method that creates a copy of a 2011-08-20 08:12:29 +00:00
symconst.pas * synchronised with trunk up to r21067 2012-04-26 21:24:20 +00:00
symcreat.pas * support storing the scanner state when the current token is _ID 2012-04-25 22:29:25 +00:00
symdef.pas tprocdef.total_local_size field added for MIPS cpu 2012-06-12 22:54:42 +00:00
symnot.pas
symsym.pas * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units 2012-06-03 18:56:44 +00:00
symtable.pas * mark units as used in case only static symbols from inside object, 2012-06-06 20:16:50 +00:00
symtype.pas + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. 2012-04-27 10:17:59 +00:00
symutil.pas
systems.inc Merge of rev21557 by Foxsen 2012-06-13 22:25:38 +00:00
systems.pas Merge of rev21557 by Foxsen 2012-06-13 22:25:38 +00:00
tgobj.pas + ttgobj.gethltemptyped() routine for allocating managed types with high level 2011-08-20 08:24:07 +00:00
tokens.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
verbose.pas * Fix ChangeMessageVerbosity by adingd a recordpendingmessagestate call 2011-11-02 22:08:14 +00:00
version.pas * Restore 'mips' name as cpumipseb source_cpu_string 2012-06-20 23:51:36 +00:00
widestr.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
wpo.pas
wpobase.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
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