Jonas Maebe a5cb157091 * enable specifying the alignment mismatch of the frame/stack pointer пре 13 година
..
alpha 502cd6db29 Remove tai_ent, which is moved to aasmtai unit пре 13 година
arm d8af83d252 Introduce a version of MatchInstruction for multiple instructions пре 13 година
avr 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added пре 13 година
generic 3017132268 * Remove triple sources пре 14 година
html fa0d3d79e0 no message пре 23 година
i386 a5cb157091 * enable specifying the alignment mismatch of the frame/stack pointer пре 13 година
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects пре 13 година
jvm f9c6967c36 * fixed not(pasbool64) (has to be "xor 1" rather than "xor -1") пре 13 година
m68k 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added пре 13 година
mips 9ad6285fe2 * Fix 64-bit OP_ADD and OP_SUB operations (no overflow support yet) пре 13 година
msg eeda54b7eb * fixed copy-paste error in -O4 description пре 13 година
powerpc 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added пре 13 година
powerpc64 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added пре 13 година
ppcgen 952ac1ffa6 * only use indirect symbol loads for (weak)external and private_external пре 13 година
sparc 7587145320 Add possibility to test sparc elf generator with -dTEST_AGSPARC_ELF пре 13 година
systems f1687fe8a6 Do not include CPUMIPS32 in extradefines for mips/mipsel systems as it is added in options unit пре 13 година
utils 3a082f8c29 Add defautl mips name and use mips instead of mipseb пре 13 година
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in пре 13 година
x86 952ac1ffa6 * only use indirect symbol loads for (weak)external and private_external пре 13 година
x86_64 f7dbe6d7a6 * use a different register constant for EIP and RIP (fixes external пре 13 година
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files пре 16 година
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests пре 19 година
Makefile fa2da8c299 + rule to generate avr register include files пре 13 година
Makefile.fpc fa2da8c299 + rule to generate avr register include files пре 13 година
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files пре 16 година
aasmbase.pas 68d7e943c8 + Add global_used callback procedure пре 13 година
aasmdata.pas 834026bfb5 * synchronised with trunk up to r21067 пре 13 година
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files пре 19 година
aasmtai.pas e1a2b1859a * comments and explanations on tai_regalloc.keep field пре 13 година
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end пре 13 година
agjasmin.pas 9feee08eba * mark Java inner interfaces as "static abstract" like javac, solves the пре 13 година
aopt.pas 6e62fbc3d2 * more consistent updates of used registers пре 13 година
aoptbase.pas ca5078f9cf + RegModifiedBetween пре 13 година
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg пре 13 година
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis пре 16 година
aoptobj.pas 3e9baa3f47 * check also register type in FindRegalloc пре 13 година
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring пре 13 година
assemble.pas 24c7b7f433 * If alignment requirement of data is bigger than alignment of the section being written to, increase section alignment to match. This mostly affects cases of non-smart linking, where wrong initial alignment used to cause hard to catch misalignment issues. It also largely obsoletes the need to supply the initial section alignment (hidden tai_section constructor,etc). пре 13 година
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build пре 25 година
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because пре 16 година
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl пре 14 година
cclasses.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems пре 15 година
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there пре 13 година
cg64f32.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for пре 13 година
cgbase.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to пре 13 година
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg пре 13 година
cgobj.pas be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg пре 13 година
cgutils.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to пре 13 година
cmsgs.pas aba10cd184 compiler: пре 14 година
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump пре 13 година
compinnr.inc aee5380ae0 * merged trunk up to r20882 пре 13 година
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 пре 14 година
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 пре 14 година
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: пре 14 година
crefs.pas 851b00f8e9 * more properties fixed пре 16 година
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring пре 13 година
cstreams.pas f79dc85033 * typo fixed пре 14 година
cutils.pas 8001979f7e Reworked ispowerof2 in cutils.pas пре 13 година
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released пре 14 година
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class пре 13 година
dbgdwarf.pas 1f2578077c * small correction to previous commit: the offset of DW_OP_bregx is signed пре 13 година
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in пре 13 година
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
defcmp.pas 85765364ee * properly compare parameter lists involving pointers to or classrefdefs of пре 13 година
defutil.pas cf4a2bd392 * fixed java.lang.String and Pascal string comparisons after operator пре 13 година
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works пре 16 година
expunix.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
finput.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
fmodule.pas ba4b08261c * fixed (real)modulename memory leak when changing the module name пре 13 година
fpccrc.pas 793fd8fc09 * Add -Xg to help pages пре 18 година
fpcdefs.inc bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. пре 13 година
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: пре 13 година
gendef.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
globals.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type пре 13 година
globtype.pas 8a4c12ab36 * include -Oofastmath in -O4 пре 13 година
hlcg2ll.pas d8161c185c + track usage of flags by using a new register RS_/NR_DEFAULTFLAGS пре 13 година
hlcgobj.pas d8161c185c + track usage of flags by using a new register RS_/NR_DEFAULTFLAGS пре 13 година
htypechk.pas cf4a2bd392 * fixed java.lang.String and Pascal string comparisons after operator пре 13 година
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary пре 13 година
import.pas bf1c390027 * refactor import library generation пре 19 година
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). пре 13 година
link.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). пре 13 година
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by пре 15 година
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 пре 14 година
msgidx.inc 4d0e4e1b56 * treat "[var + rip]" in intel assembler mode as addr_pic_no_got on x86-64 пре 13 година
msgtxt.inc eeda54b7eb * fixed copy-paste error in -O4 description пре 13 година
nadd.pas 33f5de990d * fixed indentation пре 13 година
nbas.pas b50d0aa3d0 * only don't pre-finalize funcret temps that are passed by reference to the пре 13 година
ncal.pas f5de7e34d3 * only remove the calculation of unused parameters of inline routines if пре 13 година
ncgadd.pas d2aa35e9de * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match пре 13 година
ncgbas.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if пре 13 година
ncgcal.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and пре 13 година
ncgcnv.pas d8161c185c + track usage of flags by using a new register RS_/NR_DEFAULTFLAGS пре 13 година
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. пре 13 година
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via пре 13 година
ncginl.pas 89c230c035 * moved assert handling from second to first pass, so that the code generator пре 13 година
ncgld.pas d8161c185c + track usage of flags by using a new register RS_/NR_DEFAULTFLAGS пре 13 година
ncgmat.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via пре 13 година
ncgmem.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via пре 13 година
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref пре 14 година
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested пре 14 година
ncgobjc.pas 4cf5e36ce7 compiler: пре 14 година
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg пре 13 година
ncgrtti.pas 4cae00f97a * never use a linear table for enum<->string translation when two enums have пре 13 година
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset пре 13 година
ncgutil.pas d8161c185c + track usage of flags by using a new register RS_/NR_DEFAULTFLAGS пре 13 година
ncnv.pas c25d9d5e06 * do not search for overloaded operators while parsing constant declarations, пре 13 година
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 пре 13 година
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) пре 13 година
ngenutil.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be пре 13 година
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed пре 13 година
ninl.pas 396a9cafa8 * use ptrsinttype instead of sinttype as code parameter for val: for "normal" 32/64 bit targets this does not matter, пре 13 година
nld.pas b1d00b66ac * fixed internalerror after invalid type node in subscript node пре 13 година
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are пре 13 година
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using пре 13 година
nobj.pas c2be657671 * give an error instead of a note on the JVM target when overriding a пре 13 година
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code пре 15 година
node.pas dd18d0bd4d * write flags in tnode.printnodeinfo пре 13 година
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it пре 13 година
nset.pas 3983342648 * free temps created for case-of-string-statements пре 13 година
nstate.pas 790a4fe2d3 * log and id tags removed пре 20 година
nutils.pas 33f5de990d * fixed indentation пре 13 година
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). пре 14 година
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent пре 14 година
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated пре 13 година
ogbase.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). пре 13 година
ogcoff.pas ec56677927 + Added method TObjSection.writeReloc_internal to write relocations to given section+offset without need to have a symbol at target location. пре 13 година
ogelf.pas c529356693 * Split most CPU-specific code from ogelf.pas into newly created cpuelf.pas units in CPU subdirectories. пре 13 година
oglx.pas 658c46b903 * remove tdictionary and tindexarray пре 19 година
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead пре 13 година
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. пре 17 година
ognlm.pas 1d09005542 + Implemented two-stage removal of empty exe sections. Candidates for removal are first marked with oso_disabled flag, then actually removed. Descendants of TExeOutput that override MemPos_Start may modify list of sections pending removal. In particular, the COFF-specific .reloc section no longer has to be handled in base TExeOutput class. пре 13 година
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse пре 16 година
optcse.pas a080669771 * disabled arrayconstructorn,arrayconstructorrangen as cseinvariants пре 13 година
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable пре 14 година
options.pas f5b1c64d36 * default to VFPv2 on Darwin/ARM (all iOS devices ever released until пре 13 година
optloop.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) пре 13 година
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space пре 14 година
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops пре 17 година
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated пре 15 година
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). пре 13 година
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). пре 13 година
parabase.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and пре 13 година
paramgr.pas 0a1157da38 * fixed memory leaks in the compiler introduced in r21862 by marking and пре 13 година
parser.pas 6972947c6b compiler: remove unused variable пре 14 година
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef пре 15 година
pass_2.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
pbase.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
pdecl.pas 01b5e2b6f6 * use the parsed node type for checking the validity of default parameter пре 13 година
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
pdecsub.pas 01b5e2b6f6 * use the parsed node type for checking the validity of default parameter пре 13 година
pdecvar.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly пре 13 година
pexpr.pas 3d19605fc2 * Using OleVariant type should trigger inclusion of Variants unit into uses clause the same way as using Variant type does. Mantis #22504. пре 13 година
pgenutil.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to пре 13 година
pinline.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler пре 13 година
pp.lpi 5cfc865889 * version update пре 13 година
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 пре 13 година
pparautl.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. пре 13 година
ppc.cfg 9465a13e71 + Delphi 6 configuration file пре 23 година
ppc.conf add30a428e * Kylix fixes, mostly case names of units пре 24 година
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
ppc68k.lpi ab217ca748 * lpi version increased пре 16 година
ppcarm.lpi a953b732d4 * update of project file пре 13 година
ppcavr.lpi 645b6942d0 * version update пре 14 година
ppcmips.lpi 5bf1354eca * lazarus project file updates пре 13 година
ppcmipsel.lpi 31f54a7810 * use separate build directory for mipsel пре 13 година
ppcppc.lpi ab217ca748 * lpi version increased пре 16 година
ppcppc64.lpi 3754efa682 + Lazarus project file for PowerPC64 пре 13 година
ppcsparc.lpi ab217ca748 * lpi version increased пре 16 година
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) пре 19 година
ppu.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface пре 13 година
ppx86_64.lpi e96dc4204e * version update пре 13 година
procinfo.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) пре 13 година
pstatmnt.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. пре 13 година
psub.pas 288d1ec74a * support referencing "result" in nostackframe pure assembler routines if пре 13 година
psystem.pas a7311f1348 * Fixed handling of OleVariant type (was messed up with Variant), now comparisons with colevarianttype work correctly, resolves #22504 (r21970 was correct but not enough). пре 13 година
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be пре 13 година
ptype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader пре 13 година
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from пре 19 година
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist пре 19 година
rautils.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. пре 13 година
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: пре 14 година
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix пре 13 година
rgbase.pas 790a4fe2d3 * log and id tags removed пре 20 година
rgobj.pas f9dd5bf5e6 + live_start and live_end_properties пре 13 година
scandir.pas c501e6db5f Partial fix for bug report 22744 пре 13 година
scanner.pas 07ebc51b6c * always store generics token streams in little endian, so we don't have to пре 13 година
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there пре 13 година
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically пре 14 година
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a пре 14 година
symconst.pas 834026bfb5 * synchronised with trunk up to r21067 пре 13 година
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID пре 13 година
symdef.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface пре 13 година
symnot.pas 790a4fe2d3 * log and id tags removed пре 20 година
symsym.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be пре 13 година
symtable.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
symtype.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in пре 13 година
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). пре 18 година
systems.inc 600dd162af Merge of rev21557 by Foxsen пре 13 година
systems.pas c1e7e9c85e * TObjData.symbolref: don't lose the weak binding of asm symbol. This fixes tests/tweaklib*.pp at least for Linux x86 targets with internal assembler. пре 13 година
tgobj.pas a5cb157091 * enable specifying the alignment mismatch of the frame/stack pointer пре 13 година
tokens.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
verbose.pas 3f14f2b61b + be able to turn off warning -> error conversion on the command line (with -) пре 13 година
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string пре 13 година
widestr.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from пре 17 година
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 пре 14 година
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used пре 16 година

README.txt

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