fpc/compiler
tg74 4e151d5a6d bugfix 0037785 cvtsi2sd,cvtsi2ss for platform i386
git-svn-id: branches/tg74/avx512-0037785@48526 -
2021-02-08 11:04:21 +00:00
..
aarch64 * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
arm * Corrected method's visibility. 2021-01-24 14:06:35 +00:00
armgen * arm/aarch64: patch by J. Gareth Moreton: fix register allocation information for Mov2None 2, should resolve #38055 2021-01-20 21:14:09 +00:00
avr * Removed more assigned but unused vars. 2021-01-24 14:05:21 +00:00
generic * Give access to CPU specific fields of tsettings record 2020-11-16 22:34:38 +00:00
html
i386 bugfix 0037785 cvtsi2sd,cvtsi2ss for platform i386 2021-02-08 11:04:21 +00:00
i8086 bugfix 0037785 cvtsi2sd,cvtsi2ss for platform i386 2021-02-08 11:04:21 +00:00
jvm * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
llvm * llvm: only set custom parameter alignments for byval parameters, the rest 2021-01-06 22:35:40 +00:00
m68k m68k: revert r48224, the fix proposed in that patch was just hiding an underlying issue 2021-01-25 00:42:01 +00:00
mips * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
msg -- Zusammenführen von r48108 bis r48520 in ».«: 2021-02-07 20:53:59 +00:00
powerpc * turn the recently added 3357 warning into an error, to avoid another compiler IE later 2020-10-14 01:52:12 +00:00
powerpc64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ppcgen * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
riscv * pass lp64d to GNU AS for abi_riscv_hf to get the right ABI set 2020-11-25 20:20:08 +00:00
riscv32 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
riscv64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
sparc * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
sparc64 * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
sparcgen Try to fix sparc32 code generation error for overflow test 2020-12-16 23:16:37 +00:00
systems * fix linker map generation on Darwin 2021-01-24 17:15:40 +00:00
utils -- Zusammenführen von r48108 bis r48520 in ».«: 2021-02-07 20:53:59 +00:00
x86 bugfix 0037785 cvtsi2sd,cvtsi2ss for platform i386 2021-02-08 11:04:21 +00:00
x86_64 bugfix 0037785 cvtsi2sd,cvtsi2ss for platform i386 2021-02-08 11:04:21 +00:00
xtensa + Xtensa: support large stack frames for the call0 abi 2020-12-25 18:18:09 +00:00
z80 Fix z80 compiler failure after change to ConcatConstSymbol in commit #47668 2020-12-03 11:05:36 +00:00
aasmbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
aasmcfi.pas
aasmcnst.pas * allow sub/add nodes in constant pointer expressions, resolves #34027 2021-02-05 22:10:27 +00:00
aasmdata.pas * Reverted accidentally committed files. 2020-08-13 18:48:19 +00:00
aasmdef.pas
aasmsym.pas
aasmtai.pas + add endsym to ConcatConstSymbol 2020-12-02 21:44:12 +00:00
aggas.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
aopt.pas * (slight modified) patch by J. Gareth Moreton to reduce number of assembler optimizer passes, resolves #37959 2020-10-20 20:03:25 +00:00
aoptbase.pas * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 2020-05-11 17:18:00 +00:00
aoptda.pas
aoptobj.pas Fix compilation with -dALLOCREGDEBUG 2021-01-08 11:13:43 +00:00
aoptutils.pas
assemble.pas Replace cs_link_on_target by cs_assemble_on_target in assemble unit 2020-11-20 15:15:17 +00:00
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas * do prefetching correctly 2020-01-06 20:59:24 +00:00
cepiktimer.pas * do not include fpcdefs in the cepiktimer unit 2020-11-28 16:02:49 +00:00
cfidwarf.pas * the size of the CIE_pointer in an FDE is always 32 bit 2021-02-03 20:05:56 +00:00
cfileutl.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
cg64f32.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
cgbase.pas * AArch64: added SIMD instructions (only plain ARMv8-A for now) 2020-10-15 20:29:36 +00:00
cgexcept.pas * fix several double ; 2020-05-24 17:52:09 +00:00
cghlcpu.pas
cgobj.pas * patch Christo Crause: Use LDS for 8 bit references, resolves #38173 2020-12-06 16:40:30 +00:00
cgutils.pas
cmsgs.pas
comphook.pas + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook 2020-11-24 23:09:01 +00:00
compiler.pas * fix morphos info unit name after r44454 2020-03-31 05:12:59 +00:00
compinnr.pas + added explanation for min/max intrinsics 2020-12-07 21:31:07 +00:00
comprsrc.pas * make sure that the resource compiler related globals are reset 2020-08-12 19:08:31 +00:00
comptty.pas + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook 2020-11-24 23:09:01 +00:00
constexp.pas Fix cycle with -CriotR option on aarch64-linux 2020-07-06 11:39:42 +00:00
COPYING.txt
cprofile.pas * proper naming 2020-01-06 14:58:06 +00:00
crefs.pas
cresstr.pas * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target. 2020-08-18 11:31:39 +00:00
cscript.pas
cstreams.pas * use AnsiString for file names to overcome length limitations 2020-10-31 19:54:41 +00:00
cutils.pas - remove unused trimbspace 2020-10-30 22:10:56 +00:00
dbgbase.pas * Reworked the optimization of unused $parentfp for nested routines. 2020-05-19 13:17:47 +00:00
dbgcodeview.pas * Fixed value of the LF_PAD13 enum element. 2021-01-24 14:29:39 +00:00
dbgdwarf.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
dbgstabs.pas Correct check of stringtype inside use_tag_prefix function 2021-01-11 22:17:09 +00:00
dbgstabx.pas * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 2020-04-26 10:42:07 +00:00
defcmp.pas * weight currency->float conversions the same regardless if 2021-01-05 22:39:16 +00:00
defutil.pas * generate more efficient code for trunc(currency), trunc(comp), and 2020-12-27 13:18:47 +00:00
dirparse.pas * reverted r47862 2020-12-28 16:18:55 +00:00
dwarfbase.pas
elfbase.pas
entfile.pas Fix compilation with DEBUG_PPU macro set 2020-11-28 12:06:36 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas * fix several double ; 2020-05-24 17:52:09 +00:00
fpccrc.pas * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used. 2020-08-20 16:35:27 +00:00
fpcdefs.inc Add setting of all optimization debug macros with single DEBUG_ALL_OPT macro 2021-01-08 11:05:29 +00:00
fpcp.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
fpkg.pas
fppu.pas * Improve Test_Double_checksum with Test_Double_checksum_write CRC testing code. 2020-11-28 18:32:46 +00:00
gendef.pas + implement initial compiler support for Win64 on Aarch64 2020-04-21 06:04:22 +00:00
globals.pas sinclairql: added platform specific options to allow specifying executable metadata format 2020-11-25 01:48:36 +00:00
globstat.pas
globtype.pas + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 2021-01-24 14:21:03 +00:00
hlcg2ll.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
hlcgobj.pas Fix clearing of single type register variable in initialize_regvars method for ARM cpu (with -Ooregvar) 2021-01-18 23:29:24 +00:00
htypechk.pas * fix for Mantis #38310: ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols 2021-01-05 20:58:46 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas + read 64-Bit ELF executable info correctly 2020-12-06 10:23:18 +00:00
macho.pas
machoutils.pas
Makefile * strip codesignature when comparing compiler binaries on Darwin 2021-02-07 14:40:14 +00:00
Makefile.fpc * strip codesignature when comparing compiler binaries on Darwin 2021-02-07 14:40:14 +00:00
MPWMake
msgidx.inc -- Zusammenführen von r48108 bis r48520 in ».«: 2021-02-07 20:53:59 +00:00
msgtxt.inc -- Zusammenführen von r48108 bis r48520 in ».«: 2021-02-07 20:53:59 +00:00
nadd.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
nbas.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
ncal.pas * add parameter cleanup nodes to the call cleanup block (mantis #38316) 2021-01-10 15:47:27 +00:00
ncgadd.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ncgbas.pas * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 2020-12-10 17:38:37 +00:00
ncgcal.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ncgcnv.pas + introduce tcgobj.a_loadfpu_reg_intreg 2020-09-12 21:23:57 +00:00
ncgcon.pas * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 2021-01-06 12:52:36 +00:00
ncgflw.pas * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 2020-12-10 17:38:37 +00:00
ncghlmat.pas
ncginl.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
ncgld.pas * use fld/fst on i386 to copy doubles 2020-09-29 20:59:29 +00:00
ncgmat.pas * simplify tcgunaryminusnode.second_integer 2020-10-22 21:25:36 +00:00
ncgmem.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
ncgnstfl.pas
ncgnstld.pas
ncgnstmm.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas * fix tw3930 after r37927 2020-09-05 12:25:09 +00:00
ncgset.pas
ncgutil.pas * take care of po_noreturn in more cases 2020-11-28 16:02:51 +00:00
ncgvmt.pas * properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385 2021-01-24 21:32:27 +00:00
ncnv.pas * avoid widening of shl operations, this is not necessary for them either 2021-01-12 21:45:38 +00:00
ncon.pas * handle generic with ord call of sub-range and enumeration data excluding 0 correctly, resolves #38412 2021-01-29 21:31:59 +00:00
nflw.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
ngenutil.pas * naturally align threadvar lists/tables 2020-10-15 20:29:32 +00:00
ngtcon.pas * allow sub/add nodes in constant pointer expressions, resolves #34027 2021-02-05 22:10:27 +00:00
ninl.pas * generate more efficient code for trunc(currency), trunc(comp), and 2020-12-27 13:18:47 +00:00
nld.pas * factored out the creation of loadnodes for special variables/parameters 2020-12-27 13:18:56 +00:00
nmat.pas * do an unsigned division if one operand is unsigned an the other 2020-12-16 21:55:05 +00:00
nmem.pas * removed accidently committed printnode 2021-01-31 13:19:55 +00:00
nobj.pas * add support for creating non-address-only procvars to 2020-04-02 21:21:36 +00:00
nobjc.pas
node.pas Fix pos field closing in XML node output after commit 47720 2020-12-09 12:36:46 +00:00
nopt.pas
nset.pas + optimize a in [a] 2020-08-06 20:49:08 +00:00
nutils.pas * factored out the creation of loadnodes for special variables/parameters 2020-12-27 13:18:56 +00:00
objcasm.pas
objcdef.pas
objcgutl.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
objcutil.pas
ogbase.pas + support R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX 2021-01-14 21:36:12 +00:00
ogcoff.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
ogelf.pas
oglx.pas
ogmacho.pas + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 2020-04-25 12:59:25 +00:00
ogmap.pas * avoid 8-bit truncation of the sizes in the internal linker map 2020-06-02 23:13:32 +00:00
ognlm.pas + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 2020-04-25 12:59:25 +00:00
ogomf.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
ogrel.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
omfbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
optbase.pas + CalcUseSum: calculates a sum of all use sets of the current node and its children 2020-01-10 21:34:29 +00:00
optconstprop.pas + propagate constants across call nodes 2020-02-15 18:27:22 +00:00
optcse.pas + min/max intrinsics for internal use by the compiler 2020-12-05 22:00:58 +00:00
optdead.pas
optdeadstore.pas * set nf_* correctly when an inc/dec node is converted into an add/sub node 2020-02-15 13:53:16 +00:00
optdfa.pas * do not check inlined exit nodes for unset results, resolves #38259 2020-12-31 15:52:02 +00:00
options.pas + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 2021-01-24 14:21:03 +00:00
optloadmodifystore.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
optloop.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
opttail.pas * disable tail recursion optimisation if there is a copy-back parameter 2020-07-21 17:57:50 +00:00
optutils.pas * correctly handle inlined exits in dfa, resolves #38259 2020-12-29 22:35:33 +00:00
optvirt.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
owar.pas * return the correct size for files in ar archive. This is required by the REL 2020-06-01 22:25:31 +00:00
owbase.pas * return the correct size for files in ar archive. This is required by the REL 2020-06-01 22:25:31 +00:00
owomflib.pas
parabase.pas * fix PowerPC compilation 2020-02-02 15:20:28 +00:00
paramgr.pas * Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para. 2020-06-20 18:47:42 +00:00
parser.pas
pass_1.pas * synchronized with trunk 2020-04-26 22:33:58 +00:00
pass_2.pas * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 2020-12-10 17:38:37 +00:00
pbase.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pcp.pas
pdecl.pas * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. 2020-12-02 21:01:40 +00:00
pdecobj.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pdecsub.pas * throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217 2021-01-08 14:19:19 +00:00
pdecvar.pas * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 2020-07-10 21:52:24 +00:00
pexports.pas * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 2021-01-02 23:23:08 +00:00
pexpr.pas * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym 2021-01-02 23:23:34 +00:00
pgentype.pas * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 2020-04-25 22:12:35 +00:00
pgenutil.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
pinline.pas * fixed type of size parameter passed to fpc_getmem() when translating 2020-11-08 22:42:38 +00:00
pkgutil.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pmodules.pas * patch by Cyrax: forbid to use heaptrc and valgrind at the same time, resolves #36529 2020-11-11 20:55:03 +00:00
pp.lpi * update version 2020-08-09 18:52:25 +00:00
pp.pas Reorder and complete list of supported CPUs 2020-05-25 22:14:13 +00:00
pparautl.pas * allow overloads with same result type for external Java classes due to Java supporting covariant return types for interfaces 2020-08-02 12:28:46 +00:00
ppc68k.lpi * version update 2020-11-29 09:40:54 +00:00
ppc8086.lpi
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips64el.lpi + some basic stuff for mips64el 2020-06-07 20:04:17 +00:00
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc64le.lpi + project file for PowerPC64LE 2020-12-06 10:23:17 +00:00
ppcppc.lpi
ppcriscv32.lpi
ppcriscv64.lpi
ppcsparc64.lpi
ppcsparc.lpi
ppcx64.lpi -- Rückwärtiges Zusammenführen von r47837 bis r47033 in »ppcx64.lpi«: 2021-01-05 13:13:43 +00:00
ppcx64llvm.lpi
ppcxtensa.lpi + Xtensa: lazarus project 2020-03-20 22:34:30 +00:00
ppcz80.lpi - removed the z80_internal_linker build mode from the lazarus project 2020-06-03 19:37:44 +00:00
ppheap.pas
ppu.pas * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations) 2021-01-06 12:57:59 +00:00
procdefutil.pas * correctly set the generic related defoptions for an outlined procdef 2020-06-13 18:42:26 +00:00
procinfo.pas * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 2020-06-20 18:34:26 +00:00
psabiehpi.pas * Removed/ifdefed the assigned and unused variables. 2021-01-24 13:58:17 +00:00
pstatmnt.pas * do not set nonlocal for inter-procedural labels, this is not needed, they use 2020-09-20 18:57:00 +00:00
psub.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
psystem.pas * fix for Mantis #38051: make Chr() a real intrinsics so that it can be used in type declarations as well 2020-11-08 22:23:02 +00:00
ptconst.pas
ptype.pas + implement align directive for records, resolves #28927 2020-12-29 18:19:35 +00:00
raatt.pas + add endsym to ConcatConstSymbol 2020-12-02 21:44:12 +00:00
rabase.pas
rasm.pas
rautils.pas + add endsym to ConcatConstSymbol 2020-12-02 21:44:12 +00:00
README.txt
rescmn.pas + add option -FF to force the use of fpcres as RC compiler 2020-08-12 19:08:25 +00:00
rgbase.pas + added the Z80 individual flag bits as subregisters 2020-05-11 19:17:31 +00:00
rgobj.pas * rgobj: ungetiftemp can't be used here since it frees only temps of the tt_normal type. 2021-01-24 17:53:42 +00:00
scandir.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
scanner.pas * give a proper error if macros are too deeply nested 2021-01-23 21:29:37 +00:00
switches.pas
symbase.pas * use new TSym.EscapedRealName property when creating new symbols with the 2020-12-27 13:18:53 +00:00
symconst.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
symcreat.pas * use new TSym.EscapedRealName property when creating new symbols with the 2020-12-27 13:18:53 +00:00
symdef.pas * Removed/ifdefed lots of unused variables. 2021-01-24 12:24:01 +00:00
symsym.pas * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations) 2021-01-06 12:57:59 +00:00
symtable.pas * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym 2021-01-02 23:23:34 +00:00
symtype.pas * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. 2020-12-02 21:01:40 +00:00
symutil.pas
syscinfo.pas
systems.inc m68k: initial commit to add the Sinclair QL as a compiler target 2020-11-04 14:20:28 +00:00
systems.pas + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 2021-01-24 14:21:03 +00:00
tgobj.pas tgobj: Change direction of stack. 2020-03-21 20:59:32 +00:00
tokens.pas * according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements 2020-09-24 11:41:43 +00:00
triplet.pas * mark all external assemblers using an LLVM tool using af_llvm 2020-07-19 14:30:35 +00:00
verbose.pas * do not output error numbers for options 2021-01-24 14:34:02 +00:00
version.pas * Xtensa: set source_cpu_string 2020-04-26 17:23:24 +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