Jonas Maebe ed211b9888 * don't use symid anymore as fallback when sorting fields, as it's no longer 9 年之前
..
aarch64 7c594b0288 + added support for using Clang as an assembler, and make it the default 10 年之前
arm eadd93dbae Most if not all instructions for thumb use only 2 operand rw forms. Changed get_oper_type to match that. It was previously creating bad spilling. 10 年之前
avr 14020b044c Fix bug in gen_load_cgpara_loc for 64bit registers on 8bit architectures. 10 年之前
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 年之前
html fa0d3d79e0 no message 23 年之前
i386 6537b99ac3 * i386: Fixed detection of a peephole optimization using CMOV. 10 年之前
i8086 d440daf47f * fixed compilation with -Oodfa/-O3 9 年之前
jvm 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
llvm 954cfd8d40 * replaced use of current_asmdata.currasmlist with the "list" parameter 10 年之前
m68k 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
mips 35ff024f03 * mips: Fixed internal error 2014061703 when optimization are enabled. 10 年之前
msg 5c5c28ab9b Add new general_e_exception_raised Error 10 年之前
powerpc 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
powerpc64 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 年之前
ppcgen 1131b08d6d * changed idtext of as_darwin to AS-DARWIN, so it can be explicitly 10 年之前
sparc 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
systems 2f83eeba39 AROS: shortname in system description to uppercase (usual form) 10 年之前
utils d80e318945 * adapted ppudump to the changes in r32031 10 年之前
x86 c068c96302 * on i8086 convert the 'ret' inline asm instruction to either 'retn' or 'retf', 9 年之前
x86_64 53ea4fb7d4 * unify x86 peephole optimizer helpers 10 年之前
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 年之前
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 年之前
Makefile 2e3cb70489 * regenerated makefiles after adding the win16 target 10 年之前
Makefile.fpc 2e3cb70489 * regenerated makefiles after adding the win16 target 10 年之前
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 年之前
aasmbase.pas be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels 10 年之前
aasmcnst.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
aasmdata.pas 6dd06a1aae * put the code for pure assembler routines in a separate asmlist, so 10 年之前
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 年之前
aasmtai.pas c3a7d76c68 * ait_jcatch should not be skipped by optimizers, as it does result in 10 年之前
aggas.pas 2bcd49bbc4 * Fixed i386 case jump table when PIC with GOT and an external assembler is used. 10 年之前
aopt.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 年之前
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 年之前
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 年之前
aoptobj.pas 5771073e0b * Fixed general peephole optimization of conditional jumps after r30446. It has been broken, since r30446 had added some IsJumpToLabel() checks, which tests for unconditional jump, but the optimization code expects also conditional jumps. 10 年之前
assemble.pas 0ebee6a825 * enabled assembling via a pipe for clang 10 年之前
blockutl.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 年之前
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 年之前
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 12 年之前
cclasses.pas 231039b224 * since T(Tag)HashSet always forces the size to a power of 2, use "and" 10 年之前
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 年之前
cfileutl.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 年之前
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 年之前
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code 10 年之前
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
cgobj.pas 3f736f6114 * handle the loading of VMT entries at the node level, so it's done in a 10 年之前
cgutils.pas 5595651816 * define avr => cpu8bitalu 10 年之前
cmsgs.pas aba10cd184 compiler: 14 年之前
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 年之前
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年之前
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 11 年之前
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 年之前
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 年之前
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 年之前
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
cresstr.pas 05bf826342 + support UTF-8 in ascii2unicode(), this fixes the UTF-16 output of 10 年之前
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
cutils.pas 432248cbf1 * Removed lot of unused vars. 10 年之前
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 145e9c1aae * don't generate debug info for class fields in generic types 11 年之前
dbgdwarf.pas 91be1d0f2d * removed the DWARF label fields from tdef/tobjectdef, and dynamically 10 年之前
dbgstabs.pas 64dafdb1de * stabn writing code simplified 11 年之前
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 年之前
defcmp.pas 8fbd57080b defcmp.pas, compare_paras: 10 年之前
defutil.pas 75a6ba4113 - removed symcpu dependencies 10 年之前
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 年之前
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 年之前
expunix.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 年之前
fmodule.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 年之前
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 年之前
fpcdefs.inc 1c2bac7608 - removed FPC_HAS_VARSETS-related checks, FPC 2.6.4 has it 10 年之前
fppu.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
gendef.pas aee5380ae0 * merged trunk up to r20882 13 年之前
globals.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年之前
globstat.pas 88af293155 Fix for Mantis #22160 13 年之前
globtype.pas b26e10d53c + generate proper win16 prologue/epilogue for exported routines (we don't yet 10 年之前
hlcg2ll.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
hlcgobj.pas faf4a9cb38 * moved the generation of the "main" stub for libc-based platforms from 10 年之前
htypechk.pas 529677cc79 ncal.pas: 10 年之前
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 年之前
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 b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
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 6524e536fa Regenerated after addition of new general_e_exception_raised Error 10 年之前
msgtxt.inc 6524e536fa Regenerated after addition of new general_e_exception_raised Error 10 年之前
nadd.pas 8eceb73dd4 * also use an 8-bit zero constant for string comparisons with the empty string. 10 年之前
nbas.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations 10 年之前
ncal.pas e325cf1126 * fixed internconsts with two arguments. This allows compile time evaluation of ptr(const,const) on i8086 and i386. 10 年之前
ncgadd.pas 432248cbf1 * Removed lot of unused vars. 10 年之前
ncgbas.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
ncgcal.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
ncgcnv.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
ncgcon.pas 432248cbf1 * Removed lot of unused vars. 10 年之前
ncgflw.pas e542800ea9 * Win64 SEH: Track control flow out of unwind-protected regions in a more precise way and don't generate expensive calls to __fpc_local_unwind when not necessary. 10 年之前
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
ncginl.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
ncgld.pas 3b2bd718d8 * corrected the def of the temp for array constructor nodes in case of 10 年之前
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 年之前
ncgmem.pas 432248cbf1 * Removed lot of unused vars. 10 年之前
ncgnstld.pas 95927665ce - removed variable notification support, it's not used and superceded by 10 年之前
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 年之前
ncgobjc.pas 4cf5e36ce7 compiler: 14 年之前
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
ncgrtti.pas 8c90941d89 * use the enymsym's name rather converting its symid to a string when creating 9 年之前
ncgset.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
ncgutil.pas 14020b044c Fix bug in gen_load_cgpara_loc for 64bit registers on 8bit architectures. 10 年之前
ncgvmt.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
ncnv.pas 9431648b6c * Fixed conversion from float to currency when the currency type is 64-bit integer. Issue #28748. 10 年之前
ncon.pas 495b7181a8 + write the value of a pointer constant node in printnodedata 10 年之前
nflw.pas 95927665ce - removed variable notification support, it's not used and superceded by 10 年之前
ngenutil.pas 529677cc79 ncal.pas: 10 年之前
ngtcon.pas e93660c170 - removed ttai_lowleveltypedconstbuilder.queue_addrn(), as we are always 10 年之前
ninl.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 年之前
nld.pas 95927665ce - removed variable notification support, it's not used and superceded by 10 年之前
nmat.pas 432248cbf1 * Removed lot of unused vars. 10 年之前
nmem.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 年之前
nobj.pas 39016c032e Fix for Mantis #28442. Do not generate the VMT record definition for generic classes. It isn't used anyway. 10 年之前
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 年之前
node.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations 10 年之前
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 年之前
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after 10 年之前
nstate.pas 790a4fe2d3 * log and id tags removed 20 年之前
nutils.pas 27828d41e7 * extended nodes which return true from is_const 10 年之前
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 年之前
objcgutl.pas 8c89f7ee8f * AArch64 also uses the non-fragile Objective-C ABI 10 年之前
objcutil.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 年之前
ogbase.pas 1487236f29 + support addr_fardataseg references in the internal asm writer 10 年之前
ogcoff.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
ogelf.pas 11a9ff4a43 * Removed unused vars for mipsel compiler. 10 年之前
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年之前
ogmacho.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 年之前
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
ogomf.pas 5f7b242222 * fixed compilation with -Oodfa/-O3 10 年之前
omfbase.pas f14f4ff924 * use the 'FAR_DATA' segment class name instead of 'DATA' or 'BSS' in the huge 10 年之前
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 年之前
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 年之前
optcse.pas af2c7bf00f * don't perform CSE on typeconversion nodes inserted for absolute 10 年之前
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 年之前
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 年之前
optdfa.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 年之前
options.pas 36622eaba9 * arm-android: Compile for ARMv5T by default to be compatible with all versions of Android. 10 年之前
optloop.pas f813703cf3 * fixes several issues with loop unrolling 10 年之前
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年之前
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 年之前
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 年之前
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年之前
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 年之前
owomflib.pas b3226f2e63 + readded the FIsCaseSensitive variable (that was removed in r31734) as a 10 年之前
parabase.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): 11 年之前
paramgr.pas f40ea04540 * changed getarraydef() into a tarraydef.getreusable() class method 10 年之前
parser.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年之前
pass_1.pas 9fdd64e94c * indention and new line fixes 11 年之前
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 10 年之前
pbase.pas 5a344ee263 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: 10 年之前
pdecl.pas e8c68a09c1 pgenutil.pas, parse_generic_parameters: 10 年之前
pdecobj.pas d15cdefc37 pdecsub.pas: 10 年之前
pdecsub.pas c513cec740 - disallow mixing 'export' and 'interrupt' for the same procedure 10 年之前
pdecvar.pas 65c37df999 + extend tprocdef with the possiblity to create it as unregistered 10 年之前
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 年之前
pexpr.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
pgentype.pas eaab604f0c pgenutil.pas: 10 年之前
pgenutil.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
pinline.pas 35d8a51730 pexpr.pas: 10 年之前
pmodules.pas 192bb3e032 * free the implementation info for procdefs immediately after a module 10 年之前
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年之前
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 年之前
pparautl.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 年之前
ppc68k.lpi 9ebf2aa984 * project file updates 13 年之前
ppc8086.lpi 839ab714cc + started implementing a win16 target :) 10 年之前
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 年之前
ppcarm.lpi 9ebf2aa984 * project file updates 13 年之前
ppcavr.lpi 9ebf2aa984 * project file updates 13 年之前
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 年之前
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 2d2b8c635d * detect whether or not a def/sym is registered based on its defid, so we 10 年之前
ppx86_64.lpi e96dc4204e * version update 13 年之前
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
pstatmnt.pas 35d8a51730 pexpr.pas: 10 年之前
psub.pas 1e1e4b96e0 * don't store node trees for inline generic routines, as they contain 10 年之前
psystem.pas cebcf0afa8 * add "doregister" parameter to tfloatdef.create, and don't register temporary 10 年之前
ptconst.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
ptype.pas b22e2ef400 * add "doregister" parameter to tsetdef.create, and don't register temporary 10 年之前
raatt.pas 8445381929 * merged ait_set and ait_thumb_set into a single tai class 10 年之前
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 年之前
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 年之前
rautils.pas e9c790f4eb + support 'SEG' in the i8086 inline assembler 10 年之前
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 年之前
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 年之前
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 年之前
rgobj.pas 199b1861d6 * fix wrong comparisons in trgobj.conservative to enable better coalescing, 10 年之前
scandir.pas 3a4afab681 * fixed a bug in the $targetswitch directive, which prevented target switches 10 年之前
scanner.pas cebcf0afa8 * add "doregister" parameter to tfloatdef.create, and don't register temporary 10 年之前
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
switches.pas b26e10d53c + generate proper win16 prologue/epilogue for exported routines (we don't yet 10 年之前
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 年之前
symconst.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
symcreat.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
symdef.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
symsym.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
symtable.pas ed211b9888 * don't use symid anymore as fallback when sorting fields, as it's no longer 9 年之前
symtype.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 年之前
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 年之前
systems.inc 7c594b0288 + added support for using Clang as an assembler, and make it the default 10 年之前
systems.pas 9437d0e4d8 * Linux/AArch64 must also copy value parameters passed by reference on the 10 年之前
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 年之前
tokens.pas 146e3bcb9e * synchronised with trunk till r29513 10 年之前
verbose.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 年之前
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 年之前
widestr.pas 525685617c * unicode2ascii: give an internalerror when trying to convert to UTF-8, as 10 年之前
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 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 年之前
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because 11 年之前

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