fpc/compiler
2023-12-13 21:35:31 +00:00
..
aarch64 * a64: Node parser now attempts to directly create BIC, ORN and EON instructions 2023-11-08 21:07:00 +00:00
arm Fix for trunk arm STM optimize bug 2023-11-12 18:22:19 +00:00
armgen * a64: Porting of MatchOperand function from x86 that takes integer parameter 2023-10-22 12:16:50 +00:00
avr AVR optimization LdsMov2Lds 2023-12-02 18:22:35 +00:00
generic * cleanup of 2.7.0 defines 2021-10-31 13:20:28 +01:00
html
i386 * Pass 2 can now be run multiple times when 2023-11-05 10:03:52 +00:00
i8086 * New "fast 3-component LEA hint" and "Icelake" CPU options 2023-10-29 10:26:52 +00:00
jvm * spelling fixes 2022-08-04 23:01:35 +02:00
llvm LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations 2023-12-06 22:57:16 +01:00
loongarch64 Try to fix crash in loongarch64 compiler 2023-09-26 18:18:04 +00:00
m68k Add human68k OS to list of supported OSes for m68k GNU assembler 2023-12-01 22:12:58 +01:00
mips Fix storing of unaligned 64-bit to memory 2023-04-21 10:32:13 +01:00
msg * fix casing 2023-12-02 20:58:43 +01:00
powerpc Add dwarf CFI for 32-bit powerpc cpu 2023-11-23 21:39:14 +01:00
powerpc64 Add dwarf CFI for powerpc64 cpu 2023-11-23 21:19:52 +01:00
ppcgen Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler 2022-10-22 15:34:38 -05:00
riscv Added generic WCH32Vx RISC-V processor types using memory size suffixes 2023-08-26 22:12:00 +02:00
riscv32 Change AVOID_OVERFLOW to avoid warning about inequality being always true 2023-10-26 07:47:10 +00:00
riscv64 * correct tripletcpustr, resolves #40301 2023-05-31 20:26:50 +02:00
sparc * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 2022-03-08 23:03:18 +01:00
sparc64 Fix for sparc64 specific code generation bug report #40252 2023-05-26 17:10:23 +02:00
sparcgen Handle unaligned copy in TCGSparcGen.g_concatcopy method 2023-07-16 01:31:09 -05:00
systems human68k: set default stack size to 16KiB 2023-12-03 12:14:22 +01:00
utils human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
wasm32 + check whether all br instructions, generated by goto point to a pascal goto label 2023-10-22 05:23:04 +03:00
x86 * x86: Fixed inefficiencies revealed in "TEST/JNE/TEST/JNE" 2023-12-02 18:25:19 +00:00
x86_64 LLVM: fix currency parameters passed on the stack on x86-64 2023-11-05 11:30:19 +01:00
xtensa Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option 2023-05-25 21:47:27 +00:00
z80 Restore start section at end of assembler block inside z80 asm reader 2023-05-15 19:51:11 +02:00
.gitignore git ignore msg2inc binary 2023-07-07 11:17:33 +02:00
aasmbase.pas * fixed and enabled the is_pascal_goto_target check 2023-10-22 04:01:37 +03:00
aasmcfi.pas
aasmcnst.pas * Emit comments in RTTI info for classes/interfaces 2023-05-29 13:41:25 +00:00
aasmdata.pas Add dwarf cfa support 2023-02-05 19:18:48 +00:00
aasmdef.pas
aasmsym.pas
aasmtai.pas * SkipInstr now includes ait_align 2023-11-25 20:47:44 +00:00
aggas.pas m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
aopt.pas
aoptbase.pas
aoptda.pas
aoptobj.pas * UpdateUsedRegsAndOptimize improved to clear aligns that don't have 2023-11-25 20:47:44 +00:00
aoptutils.pas
assemble.pas Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 2023-04-30 21:23:06 +02:00
blockutl.pas * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 2022-05-26 21:42:59 +02:00
browcol.pas * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2022-09-17 22:46:57 +02:00
catch.pas
ccharset.pas
cclasses.pas * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
cepiktimer.pas
cfidwarf.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
cfileutl.pas * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
cg64f32.pas - Bug fix to new ADD/SUB optimisation where conditions are concerned 2021-11-17 20:18:57 +00:00
cgbase.pas + implemented WebAssembly code generator support for funcref and externref data 2023-06-07 05:25:57 +03:00
cgexcept.pas
cghlcpu.pas
cgobj.pas Attempt to fix tcalext3 big-endian powerpc64 failure 2023-11-20 01:05:10 +03:00
cgutils.pas * Converted assertion into an internal error 2022-08-20 16:09:54 +00:00
cmsgs.pas
comphook.pas Add -vj option in options unit to set V_Parallel 2023-09-09 07:49:22 +00:00
compiler.pas m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
compinnr.pas
comprsrc.pas * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 2022-04-08 22:42:05 +02:00
comptty.pas
constexp.pas * revert accidently committed code 2022-02-06 20:15:00 +01:00
COPYING.txt
cprofile.pas
crefs.pas
cresstr.pas * Unicode resource strings 2023-07-25 16:06:53 +02:00
cscript.pas
cstreams.pas * patch by Rika to pass some strings by reference, resolves #39338 2021-11-09 22:41:52 +01:00
cutils.pas * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2023-03-24 22:50:19 +01:00
dbgbase.pas Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2023-09-09 06:54:30 +00:00
dbgcodeview.pas
dbgdwarf.pas * correctly name nested enum type debug symbols, resolves #40462 2023-10-10 23:16:31 +02:00
dbgdwarfconst.pas * spelling fixed 2023-03-26 15:55:37 +02:00
dbgstabs.pas * spelling fixes 2022-08-04 23:01:35 +02:00
dbgstabx.pas
defcmp.pas * New is_cyclic function to detect if def references itself - fixes #40010 2022-12-03 23:53:16 +00:00
defutil.pas * Add is_systemunit_unicode function (cchartype suymbol) 2023-07-22 08:26:22 +00:00
dirparse.pas
dwarfbase.pas * improve dwarf cfi on avr 2022-09-28 22:47:06 +02:00
elfbase.pas
entfile.pas Add new test code to verify that tentfile.buf limits are not overpassed 2023-05-23 22:39:03 +02:00
export.pas + support 'promising last' exports 2023-06-16 11:00:19 +03:00
expunix.pas
finput.pas * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2022-09-17 22:46:57 +02:00
fmodule.pas * $NAMESPACES directive 2023-07-26 09:45:53 +02:00
fpcdefs.inc Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
fpchash.pas o based on a patch by Rika, resolves #39401: 2021-10-10 10:09:22 +02:00
fpcp.pas
fpkg.pas
fppu.pas * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
gendef.pas
globals.pas * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
globstat.pas
globtype.pas * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
hlcg2ll.pas * do not copy parameters onto the stack using FPU registers if the type is 2022-02-10 22:42:49 +01:00
hlcgobj.pas LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations 2023-12-06 22:57:16 +01:00
htypechk.pas nested procvars: support assignments when switch not active 2023-11-25 22:35:55 +01:00
impdef.pas
import.pas
ldscript.pas * SetString needs correctly typed argument 2023-07-25 16:06:53 +02:00
link.pas * fix (hopefully) build without an ld.bfd variant 2023-03-02 22:56:23 +01:00
macho.pas
machoutils.pas
Makefile human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
Makefile.fpc Avoid troubles with exported directories 2023-10-03 10:14:04 +00:00
MPWMake
msgidx.inc regenerated msg*.inc files for the compiler after human68k merge 2023-12-01 01:38:56 +01:00
msgtxt.inc * fix casing 2023-12-02 20:58:43 +01:00
nadd.pas * check for *-1 multiplications after folding, resolves #40448 2023-11-12 22:30:43 +01:00
nbas.pas * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes 2023-03-03 21:07:31 +00:00
ncal.pas + add a tcallnodeflag value that prohibits the tcallnode.pass_typecheck to return a procvar in case of a call without parameters with a found symbol, but no suitable procdef 2023-06-30 17:11:43 +02:00
ncgadd.pas * MIPS64 can 2022-02-08 23:08:32 +01:00
ncgbas.pas
ncgcal.pas Short version of the mips code genration bug 2022-10-29 21:34:00 +01:00
ncgcnv.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
ncgcon.pas * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 2022-05-13 22:38:03 +02:00
ncgflw.pas + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement 2023-10-22 04:12:59 +03:00
ncghlmat.pas
ncginl.pas * High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction) 2022-01-18 23:39:31 +01:00
ncgld.pas LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations 2023-12-06 22:57:16 +01:00
ncgmat.pas - Bug fix to new ADD/SUB optimisation where conditions are concerned 2021-11-17 20:18:57 +00:00
ncgmem.pas
ncgnstfl.pas
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas Create invoke helper if requested and reference it in RTTI 2023-07-13 07:32:21 +00:00
ncgset.pas tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok 2023-01-20 21:07:18 +01:00
ncgutil.pas hlcgobj: new getlocal and recordnewsymloc methods 2022-06-04 22:26:40 +02:00
ncgvmt.pas * make the VMT symbol and type def of the corresponding class or object instead of having them be global 2022-05-26 21:42:51 +02:00
ncnv.pas * Do not insert widechar -> ansichar conversion node in const declaration 2023-07-22 08:26:22 +00:00
ncon.pas trealconstnode.printnodedata: fix currency values getting written to stdout 2023-12-04 22:52:39 +01:00
nflw.pas * fix #40500: do a for-in on a string variable using low(strvar) to high(strvar) so that zero based strings are handled correctly 2023-11-07 20:28:15 +01:00
ngenutil.pas LLVM: fix double init/fini of local managed variables accessed from nested functions 2023-09-14 15:38:21 +02:00
ngtcon.pas WPO: fix dead code detection, and handle procvars 2023-03-24 21:22:18 +01:00
ninl.pas default parameter values: fix crash 2023-09-11 21:35:07 +02:00
nld.pas WPO: fix dead code detection, and handle procvars 2023-03-24 21:22:18 +01:00
nmat.pas + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 2022-04-20 22:16:32 +02:00
nmem.pas WPO: fix dead code detection, and handle procvars 2023-03-24 21:22:18 +01:00
nobj.pas * make the VMT symbol and type def of the corresponding class or object instead of having them be global 2022-05-26 21:42:51 +02:00
nobjc.pas
node.pas * New node pruning methods 2023-02-21 20:44:02 +00:00
nopt.pas * the right side of a concatenation of multiple ShortString values can directly pass any String[x] to the utility routine, because only the Length() is used, not High() and nothing is modified (also typed pointers must not be used for them); this allows for better code generation for strings with a maximum length < 255 2022-10-11 07:40:13 +02:00
nset.pas * WebAssembly code generation for 'case' nodes changed to use labels 2021-10-22 17:31:04 +03:00
nutils.pas * generate correct dfa for subroutines declared as safecall 2022-11-05 16:56:24 +01:00
objcasm.pas * cleanup of VER3_0 defines 2021-11-17 22:19:57 +01:00
objcdef.pas objcdef: remove duplicate variant start check 2022-06-06 23:12:53 +02:00
objcgutl.pas Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
objcutil.pas objc: use compile-time macOS version checks 2022-09-16 11:21:05 +02:00
ogbase.pas + introduced methods for writing endian-specific integers to TObjSection 2023-11-02 13:15:44 +02:00
ogcoff.pas Add unit specifiers for tlsdirectory fields: they need to be PUInt from globtype unit 2023-08-11 08:38:43 +00:00
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas * SetString needs correctly typed argument 2023-07-25 16:06:53 +02:00
ognlm.pas
ogomf.pas * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. 2023-11-02 14:28:48 +02:00
ogrel.pas + support writing of 32-bit and 64-bit relocations in the REL object writer 2022-07-12 19:16:23 +03:00
ogwasm.pas + added TWasmExeOutput class (not implemented, yet) 2023-11-17 00:12:18 +02:00
omfbase.pas * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 2022-06-08 22:59:39 +02:00
optbase.pas
optconstprop.pas * propertly check equality with the for-counter when propagating constants, resolves #39915 2022-09-24 20:39:43 +02:00
optcse.pas * fixed a div by zero error, when compiling a wasi-hosted compiler 2023-10-22 01:11:17 +03:00
optdead.pas
optdeadstore.pas * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 2022-11-03 19:01:02 +01:00
optdfa.pas * propagate life info properly 2022-11-15 22:06:56 +01:00
options.pas m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
optloadmodifystore.pas
optloop.pas * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 2021-10-08 18:04:03 +03:00
opttail.pas
optutils.pas * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2023-09-09 06:54:30 +00:00
parabase.pas TCGParaLocation: remove alignment gap 2022-06-04 22:26:40 +02:00
paramgr.pas * cleanup of VER3_0 defines 2021-11-17 22:19:57 +01:00
parser.pas human68k: more work on getting tinyheap right. still doesn't seem to work, sadly, so still disabled 2023-12-03 12:14:22 +01:00
pass_1.pas * fix compilation with -dEXTDEBUG 2023-02-24 20:39:13 +01:00
pass_2.pas * New 'do not execute' flag for notes and respective internal error triggering 2023-02-21 20:44:02 +00:00
pbase.pas * Forbid use of string alias in system unit 2023-07-22 08:26:22 +00:00
pcp.pas o based on a patch by Rika, resolves #39401: 2021-10-10 10:09:22 +02:00
pdecl.pas * Unicode resource strings 2023-07-25 16:06:53 +02:00
pdecobj.pas * Generate hidden class to be used for TVirtualInterface (wasm only) 2023-07-11 08:36:57 +00:00
pdecsub.pas m68k: basic DOS syscall generation for human68k 2023-11-30 23:43:27 +00:00
pdecvar.pas Fixing trying to consume ID for anonymous switch field 2023-09-28 22:42:49 +00:00
pexports.pas + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2023-06-16 15:44:58 +03:00
pexpr.pas * fix output position of deprecated hint for certain cases where it was wrong, resolves #40534 2023-12-03 11:35:03 +01:00
pgentype.pas + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 2022-02-18 17:54:23 +01:00
pgenutil.pas * Refer to bugreport for internal error 20231102 2023-11-08 00:04:18 +01:00
pinline.pas * patch by Rika to pass some strings by reference, resolves #39338 2021-11-09 22:41:52 +01:00
pkgutil.pas
pmodules.pas * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit 2023-07-27 18:40:34 +02:00
pp.lpi
pp.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
pparautl.pas * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided 2023-06-23 17:06:41 +02:00
ppc68k.lpi
ppc8086.lpi
ppcaarch64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcarm.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcavr.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcjvm.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcmips64el.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcmips.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcmipsel.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc64le.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcriscv32.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcriscv64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcsparc64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcsparc.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcwasm32.lpi + always call resolve_labels_complex, if DEBUG_WASM_GOTO is defined. 2023-10-16 23:04:11 +03:00
ppcx64.lpi * Unicode resource strings 2023-07-25 16:06:53 +02:00
ppcx64llvm.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcxtensa.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcz80.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppheap.pas
ppu.pas * for unique type aliases keep track of the original def 2023-06-23 16:15:27 +02:00
procdefutil.pas * revert 430bcac389 as with the change that the functions to insert hidden parameters are idempotent this is no longer required and also wrong as uses of the deleted symbols aside from Self and the framepointer would be left dangling 2023-06-16 16:16:58 +02:00
procinfo.pas + add method to find a procinfo for a nested function by the corresponding procdef 2022-05-26 21:44:24 +02:00
psabiehpi.pas
pstatmnt.pas * do not crash on illegal with statement, resolves #40118 2023-01-18 23:03:28 +01:00
psub.pas * Node dumps now output the convention if it's not pocall_default 2023-12-13 21:35:31 +00:00
psystem.pas * Define char as AnsiChar 2023-07-22 08:26:22 +00:00
ptconst.pas
ptype.pas * fix #40504: always provide the global enum symbol for anonymous enum types (e.g. as part of a set) 2023-11-07 20:33:55 +01:00
raatt.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
rabase.pas
rasm.pas
rautils.pas * do not warn on lea e/rsp with negative address offset, part of #40113 2023-01-15 23:06:05 +01:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 2023-09-26 18:18:04 +00:00
scandir.pas * $NAMESPACES directive 2023-07-26 09:45:53 +02:00
scanner.pas * patch by lagprogramming: Improvement of function SetCompileModeSwitch, resolves #40525 2023-11-19 13:37:37 +01:00
switches.pas * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2022-10-08 13:52:32 +02:00
symbase.pas Fix for variables longer than 127 chars 2022-05-10 23:18:01 +02:00
symconst.pas * Additional fields/enums for invoke helper 2023-07-13 07:32:21 +00:00
symcreat.pas Create invoke helper if requested and reference it in RTTI 2023-07-13 07:32:21 +00:00
symdef.pas * Add is_systemunit_unicode function (cchartype suymbol) 2023-07-22 08:26:22 +00:00
symsym.pas dbgllvm: support for record field debug information 2022-06-06 23:12:53 +02:00
symtable.pas * Check that system unit is actually loaded before using it to search for system symbols 2023-06-19 15:33:15 +02:00
symtype.pas * some error messages use nicer symbol names 2023-04-01 22:34:37 +02:00
symutil.pas JVM: add typesym for anonymous record typed constants 2023-02-05 10:58:59 +01:00
syscinfo.pas m68k: basic DOS syscall generation for human68k 2023-11-30 23:43:27 +00:00
systems.inc tabs to spaces cosmetics. no functional change 2023-11-30 23:43:27 +00:00
systems.pas human68k: this system has internal sysinit 2023-11-30 23:43:27 +00:00
tgobj.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
tokens.pas + also allow declaring an external as 'suspending first' 2023-06-13 09:56:44 +03:00
triplet.pas Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
verbose.pas Add -vj option in options unit to set V_Parallel 2023-09-09 07:49:22 +00:00
version.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
versioncmp.pas Missing file from b26703feaa 2022-09-16 15:22:05 +02:00
wasmbase.pas + introduced TWasmCustomDebugSectionType 2022-08-03 23:04:53 +03:00
widestr.pas
wpo.pas
wpobase.pas WPO: fix dead code detection, and handle procvars 2023-03-24 21:22:18 +01: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