svenbarth d91fbd3e10 aggas.pas: m68k-linux needs preceding ".section" as well 13 년 전
..
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 년 전
arm a8591af2a9 Handle po_nostackframe for arm cpu 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 2fdd8656d5 * Fix tw18702.pp i386-win32 specific failure (stack was not properly maintained) 13 년 전
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 년 전
jvm 62c8e47547 + override unnecessary abstract thlcgobj methods with internal errors 13 년 전
m68k 07c3cff61d m68k/n68kcnv.pas, tm68ktypeconvnode.second_int_to_bool: 13 년 전
mips 7bd7cf275c handle po_nostackframe for calc_stack_size 13 년 전
msg 01c8ac4b3e Fix wrong arg number in pareser_e_nostackframe_with_locals 13 년 전
powerpc 4dee21c60e + NR_DEFAULTFLAGS and RS_DEFAULTFLAGS for all CPUs with flags added 13 년 전
powerpc64 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 년 전
ppcgen 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 년 전
sparc e01c7603b8 Rectify last commit: po_assembler alone still sets up a stack frame 13 년 전
systems 0e8829e4e2 * ModulesLinkToLibc: Search for both bare and prefixed names of libc. When this function is invoked, import library names are not yet normalized and either one may be present. Failure to detect libc may end up in using wrong sysinit unit, this fortunately affects only i386-linux (other Linux targets aren't using Pascal sysinit units yet). 13 년 전
utils 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 년 전
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 년 전
x86 d7e0f07aab + UseAVX check 13 년 전
x86_64 2e7fe1aebd * support of avx register requires now proper usage of R_SUBMMWHOLE 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 5ce88e3f99 Regenerated after: Also set CYCLELEVEL for cross-compilation rtl parts 13 년 전
Makefile.fpc bf80b55a1b Also set CYCLELEVEL for cross-compilation rtl parts 13 년 전
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 년 전
aasmbase.pas ca5fabda6d * cleanup some unused units from uses clauses 13 년 전
aasmdata.pas ca5fabda6d * cleanup some unused units from uses clauses 13 년 전
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 년 전
aasmtai.pas 7c1db10df9 Handle new unaligned constant types 13 년 전
aggas.pas d91fbd3e10 aggas.pas: m68k-linux needs preceding ".section" as well 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 b6a4602989 * ignore alignment entries in FindLabel 13 년 전
asmutils.pas a13c9d93ff * create new object file when creating new section for ansistring/ 13 년 전
assemble.pas 82cc913b06 Use -KPIC option without space as older GNU as only seem to support that version 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 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 년 전
cgbase.pas 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 13 년 전
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 년 전
cgobj.pas 2e7fe1aebd * support of avx register requires now proper usage of R_SUBMMWHOLE 13 년 전
cgutils.pas 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 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 b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 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 년 전
cp646.pas 759bd33327 Use the ccharset unit instead of charset when compiling with 2.6.0 like is done for the other cp* units. 13 년 전
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 13 년 전
cutils.pas 2f8027c63f + more sophisticated code to optimize multiplications on arm 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 65aa6fb379 * make check for registerhi more usefull 13 년 전
dbgstabs.pas eeb98ae2f8 * write objectdef fieldtypes in appenddef_object() instead of in 13 년 전
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 년 전
defcmp.pas 2414c55ca0 Fix for Mantis #21538. 13 년 전
defutil.pas ca5fabda6d * cleanup some unused units from uses clauses 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 de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option 13 년 전
fmodule.pas 88af293155 Fix for Mantis #22160 13 년 전
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 년 전
fpcdefs.inc f36c769c2f + Add SUPPORT_SAFECALL conditional 13 년 전
fppu.pas 88af293155 Fix for Mantis #22160 13 년 전
gendef.pas aee5380ae0 * merged trunk up to r20882 13 년 전
globals.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 년 전
globstat.pas 88af293155 Fix for Mantis #22160 13 년 전
globtype.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 년 전
hlcg2ll.pas d93cee995b * fix register method pointer for ppc64 and x86_64-linux 13 년 전
hlcgobj.pas ca5fabda6d * cleanup some unused units from uses clauses 13 년 전
htypechk.pas 76b0ee9925 * treat all "uninitialized" hints as warnings on JVM platforms, because 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 14 년 전
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 년 전
msgidx.inc be5839e44a Add warning/error message about possible problems with nostackframe modifier 13 년 전
msgtxt.inc fb60e17602 Regenerated after: Fix wrong arg number in parser_e_nostackframe_with_locals 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 7ea11f0171 Use SUPPORT_SAFECALL conditional 13 년 전
ncgcnv.pas 4d4561923e * nil method pointers can be kept in registers 13 년 전
ncgcon.pas bc0c94c204 fpcdefs.inc: Set fpc_compiler_has_fixup_jmps for powerpcXX and mips CPUs. 13 년 전
ncgflw.pas 18698bc93d Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG 13 년 전
ncginl.pas b782918434 * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 13 년 전
ncgld.pas ca5fabda6d * cleanup some unused units from uses clauses 13 년 전
ncgmat.pas 1c8c2d6dbb * tcgshlshrnode.second_integer: don't load the right expression into a register if it is already a LOC_CREGISTER 13 년 전
ncgmem.pas b72251389b * when forcing left into memory during code generation of a subscript node then the type of left must be passed else memory corruption happens 13 년 전
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 년 전
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 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 년 전
ncgset.pas c1bca748ee * factored out tcginnode.in_smallset 13 년 전
ncgutil.pas be5839e44a Add warning/error message about possible problems with nostackframe modifier 13 년 전
ncnv.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 년 전
ncon.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used 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 9a5e64442f + support copy with two parameters, resolves #22964 13 년 전
nld.pas 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941) 13 년 전
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are 13 년 전
nmem.pas bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used 13 년 전
nobj.pas 78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 13 년 전
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 년 전
node.pas ca5fabda6d * cleanup some unused units from uses clauses 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 13 년 전
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 년 전
ogbase.pas a178e28275 + Extend TObjRelocation to hold untranslated platform-specific relocation types. This allows to avoid translating relocations into generic format when reading object files (which is just waste of time), and allows TObjRelocationType enumeration contain only types that are actually produced by compiler. 13 년 전
ogcoff.pas b851a5a065 Accept range/overflow for address computation inside unit 13 년 전
ogelf.pas 339d06aa58 * When writing section names of .o files, let sh_name of sections with relocations point into names of corresponding relocation sections past the .rel/.rela prefix. In case of smartlinked sections this saves almost half of .shstrtab section size. 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 15 년 전
optcse.pas ae56841ee6 * do not apply node CSE to nested loads on high level cpu targets, because 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 13 년 전
options.pas 614436d8cb * added pocall_mwpascal to cdecl_pocalls so we no longer have to explicitly 13 년 전
optloop.pas 9773b92cbe * improved for loop unrolling 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 42586baa34 Use SUPPORT_SAFECALL conditional 13 년 전
parser.pas 88af293155 Fix for Mantis #22160 13 년 전
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 f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 년 전
pdecl.pas ca5fabda6d * cleanup some unused units from uses clauses 13 년 전
pdecobj.pas 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in 13 년 전
pdecsub.pas be5839e44a Add warning/error message about possible problems with nostackframe modifier 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 420cd9bd27 + support for <text>^ in iso mode 13 년 전
pgenutil.pas 54c1e638ad Fix for Mantis #22428. 13 년 전
pinline.pas aee5380ae0 * merged trunk up to r20882 13 년 전
pmodules.pas 2f24527ea0 Enable gotvarsym for sparc cpu 13 년 전
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 년 전
pp.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 년 전
pparautl.pas 42586baa34 Use SUPPORT_SAFECALL conditional 13 년 전
ppc68k.lpi 9ebf2aa984 * project file updates 13 년 전
ppcarm.lpi 9ebf2aa984 * project file updates 13 년 전
ppcavr.lpi 9ebf2aa984 * project file updates 13 년 전
ppcmips.lpi 9ebf2aa984 * project file updates 13 년 전
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 년 전
ppcppc.lpi 9ebf2aa984 * project file updates 13 년 전
ppcppc64.lpi 9ebf2aa984 * project file updates 13 년 전
ppcsparc.lpi 9ebf2aa984 * project file updates 13 년 전
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 년 전
ppu.pas ad054831bb * save/restore itype and implementsgetter fields of timplementedinterface 13 년 전
ppx86_64.lpi e96dc4204e * version update 13 년 전
procinfo.pas 56378f907f * keep track of required stack frame alignment (this information is however 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 fcaff0489c * psub.pas : translate tregister for registerhi also 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 64740049bf * fix for mantis #22796: add alignment padding to records before inserting 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 283ff05127 * merged avx support in inline assembler developed by Torsten Grundke 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 95830d5a4a + DEBUG_REGISTERLIFE define 13 년 전
scandir.pas c501e6db5f Partial fix for bug report 22744 13 년 전
scanner.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 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 29c71d39ac Preparations for upcoming work on generics: 13 년 전
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID 13 년 전
symdef.pas b1d661d774 * look in the iPhoneAll unit for NSFastEnumeration* types on iOS/iphonesim, 13 년 전
symnot.pas 790a4fe2d3 * log and id tags removed 20 년 전
symsym.pas fcaff0489c * psub.pas : translate tregister for registerhi also 13 년 전
symtable.pas 42f6caa0d1 * allow accessing strict protected symbols from the extended struct inside 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 b1dc518ac4 * removed systems_need_16_byte_stack_alignment and use target_info.stackalign instead 13 년 전
tgobj.pas 56378f907f * keep track of required stack frame alignment (this information is however 13 년 전
tokens.pas c95cfa20ba * disable non-iso tokens in iso mode 13 년 전
verbose.pas 2d0f01e0dd Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option 13 년 전
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string 13 년 전
widestr.pas 32fc7118d4 compiler: add US-ASCII codepage 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 16 년 전
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 15 년 전

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