fpc/compiler
nickysn 9303a8f61a * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set;
this removes the limit of 3 Ch_XXX flags per instruction (thus allowing adding
  more precise flags, e.g. for tracking only certain bits of the flags register,
  etc.) and avoids the ugliness of having the Ch_None filler, which makes
  x86ins.dat less readable.

git-svn-id: trunk@35850 -
2017-04-19 16:48:35 +00:00
..
aarch64 - removed unused constants 2017-03-26 13:06:34 +00:00
arm - removed unused constants 2017-03-26 13:06:34 +00:00
avr - removed unused constants 2017-03-26 13:06:34 +00:00
generic
html
i386 * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set; 2017-04-19 16:48:35 +00:00
i8086 * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set; 2017-04-19 16:48:35 +00:00
jvm * don't swap and/or boolean operations, they always need to be evaluated in 2017-01-28 14:33:39 +00:00
llvm * fix for Mantis #31464: add an entry for the WebAssembly CPU (this is already the target name that LLVM uses) 2017-03-03 16:14:52 +00:00
m68k m68k: removed silly debug writeln accidentally left in r35671 2017-03-28 11:57:17 +00:00
mips - removed unused constants 2017-03-26 13:06:34 +00:00
msg + write name of segment/group which is too large 2017-02-19 19:15:18 +00:00
powerpc * use pocalls_cdecl and cstylearrayofconst more consistently instead of 2017-02-25 11:46:35 +00:00
powerpc64 * use pocalls_cdecl and cstylearrayofconst more consistently instead of 2017-02-25 11:46:35 +00:00
ppcgen Fix powerpc cycle for AIX target 2017-01-10 23:21:49 +00:00
sparc * reverted r35424, wasn't ready for commit yet 2017-02-11 21:21:44 +00:00
systems + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
utils * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set; 2017-04-19 16:48:35 +00:00
x86 * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set; 2017-04-19 16:48:35 +00:00
x86_64 * changed the x86 TInsProp.Ch structure from a 3-element array to a pascal set; 2017-04-19 16:48:35 +00:00
aasmbase.pas * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 2017-01-29 17:42:00 +00:00
aasmcnst.pas * extend tai_typedconstbuilder with the ability to add an indirect symbol to the same section as the one that's generated for the constant data (at least if it's also rodata) 2017-01-29 17:39:52 +00:00
aasmdata.pas * keep track of the sections that are created in the asmlists 2017-02-10 14:38:53 +00:00
aasmdef.pas * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 2017-01-29 17:42:00 +00:00
aasmsym.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
aasmtai.pas * keep track of the sections that are created in the asmlists 2017-02-10 14:38:53 +00:00
aggas.pas * Use .rodata section for Android. 2017-03-09 20:17:35 +00:00
aopt.pas * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 2016-04-21 20:14:01 +00:00
aoptbase.pas * TAOptBase.RegInRef compares using SuperRegistersEqual as TAOptBase.RegInOp does for top_reg already 2016-10-16 16:35:36 +00:00
aoptda.pas
aoptobj.pas * made some assembler optimizer methods class methods 2016-06-06 21:18:20 +00:00
aoptutils.pas + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 2016-05-01 09:37:21 +00:00
assemble.pas * only generate a big obj COFF file if the high bound of the sections is larger than $7fff (it could be that the final count is smaller again as sections that have the same name are combined) 2017-02-10 14:40:23 +00:00
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas Reset class fields FList and FHashList to nil after Destroy call 2016-07-06 06:14:37 +00:00
cfidwarf.pas
cfileutl.pas Rectify display of shell command, do it if -vx option is used even without -vu 2016-08-28 13:02:34 +00:00
cg64f32.pas + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 2017-04-07 16:02:40 +00:00
cgbase.pas * get rid of addr_load_indirect again by having tcgx86 provide an internal implementation of both make_simple_ref() and a_load_ref_reg() so that make_direct_ref() can call the latter (and the latter the former) without fear of inifinite recursive calls due to the symbol; a_load_ref_reg() is additionally declared as "final" as a_load_ref_reg_internal() needs to be overloaded instead (which is the case for tcg8086) 2016-09-30 14:01:02 +00:00
cghlcpu.pas
cgobj.pas * fixed tnegnotassign1.pp on powerpc and other RISC cpus 2017-04-09 14:28:13 +00:00
cgutils.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc + implemented the sar/shl/shr/rol/ror inline modify-in-place nodes; the actual 2017-04-12 00:41:15 +00:00
comprsrc.pas
constexp.pas Fix cycle for x86_64-win64 target with -Cr option 2016-01-28 15:07:40 +00:00
COPYING.txt * updated FSF address (mantis #30198, patch by Paul Gevers) 2016-10-02 12:56:59 +00:00
cpid.pas
crefs.pas
cresstr.pas - don't apply const_align() to alignments passed to high level typed 2016-10-06 06:25:02 +00:00
cstreams.pas Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 2016-02-19 17:13:58 +00:00
cutils.pas + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
cwindirs.pp
dbgbase.pas * don't write or reference debug information for a unit if it belongs to a/another package 2016-08-26 15:09:24 +00:00
dbgdwarf.pas * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 2016-11-07 15:41:44 +00:00
dbgstabs.pas * don't write or reference debug information for a unit if it belongs to a/another package 2016-08-26 15:09:24 +00:00
dbgstabx.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
defcmp.pas * Fix usage of class operators in generics types. If we have generic type declaration/implementation then constraint in comparison to not specialized generic is not "exact" nor "incompatible". Mantis #30534. 2017-04-05 13:47:21 +00:00
defutil.pas + added helper function are_equal_ints() 2017-04-10 13:22:50 +00:00
dirparse.pas - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 2016-12-04 11:15:12 +00:00
elfbase.pas
entfile.pas fix build with generic_cpu defined after r35497 2017-03-01 15:32:12 +00:00
export.pas New export option that enforces the use of the provided export name instead of using the name of the provided symbol. This is necessary to correctly handle overloaded functions, especially if one of them is an internproc one. 2016-04-29 15:03:18 +00:00
expunix.pas * create stubs for library exports on Unix at at the node tree level instead 2016-12-09 13:39:38 +00:00
finput.pas
fmodule.pas atari: tos is no longer a define, so use atari to define shortasmprefix 2017-03-01 15:14:46 +00:00
fpccrc.pas
fpcdefs.inc + enable using the cg64 ops OP_SHR/OP_SHL/OP_SAR on i386 for implementing the 2017-04-18 14:36:41 +00:00
fpcp.pas * Removed unused vars. 2016-09-01 19:55:45 +00:00
fpkg.pas Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 2016-04-15 14:42:24 +00:00
fppu.pas * write full path name when ppu crc checks fail/conflict (patch by 2017-04-17 20:42:03 +00:00
gendef.pas
globals.pas + support for specifying ms_abi_default, ms_abi_cdelc, sysv_abi_default, and 2017-02-11 19:57:12 +00:00
globstat.pas
globtype.pas * use pocalls_cdecl and cstylearrayofconst more consistently instead of 2017-02-25 11:46:35 +00:00
hlcg2ll.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
hlcgobj.pas * only initialize global regvars in unit and main program init code 2017-02-21 07:37:15 +00:00
htypechk.pas * Removed unused vars. 2017-03-07 08:56:07 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas
macho.pas macho.pas: 2016-03-19 12:18:16 +00:00
machoutils.pas
Makefile Regenerate all Makefile's after changes related to FPCDIR checks 2017-04-18 14:15:47 +00:00
Makefile.fpc Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 2017-01-10 23:36:32 +00:00
MPWMake
msgidx.inc + write name of segment/group which is too large 2017-02-19 19:15:18 +00:00
msgtxt.inc + write name of segment/group which is too large 2017-02-19 19:15:18 +00:00
nadd.pas + implemented other 32-bit rol/ror by const methods for i8086 and added a 2017-04-06 15:41:39 +00:00
nbas.pas * more nodedata printing fixes, similiar to r35477 2017-02-25 15:41:39 +00:00
ncal.pas * copy tcallnode.right after copying the callinitblock, as right can be a 2017-02-24 19:57:40 +00:00
ncgadd.pas * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 2016-11-13 21:18:39 +00:00
ncgbas.pas * keep track of the sections that are created in the asmlists 2017-02-10 14:38:53 +00:00
ncgcal.pas syscalls: unify call reference creation across 4 different CPU archs. less copypasted code, brings x86_64 AROS support up to speed 2016-12-02 09:29:09 +00:00
ncgcnv.pas + tcgtypeconvnode.second_class_to_intf supports LOC_CONSTANT as well, resolves #31596 2017-03-25 10:27:29 +00:00
ncgcon.pas * moved the floating point constant range checking code from 2016-11-29 21:54:33 +00:00
ncgflw.pas * Removed unused vars. 2017-03-07 08:56:07 +00:00
ncghlmat.pas
ncginl.pas * determine correctly whether operand size is 32 or 64 bits for 2017-04-12 13:36:42 +00:00
ncgld.pas * compilation with -Oodfa fixed 2017-03-09 22:09:43 +00:00
ncgmat.pas * on 16-bit CPUs, avoid the unnecessary 32-bit conversion of the right shl/shr 2017-04-04 21:01:20 +00:00
ncgmem.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgnstfl.pas * fixed interprocedural gotos for llvm 2016-11-21 07:39:13 +00:00
ncgnstld.pas * ensure that we don't firstpass a tcgnestloadnode twice, as it 2015-12-28 15:06:36 +00:00
ncgnstmm.pas
ncgobjc.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgopt.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
ncgrtti.pas * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 2017-02-19 00:22:59 +00:00
ncgset.pas * comment on border between linear list and jmp tree for case statements extended 2017-03-26 07:36:58 +00:00
ncgutil.pas - remove no longer needed gen_fpc_dummy() 2017-01-29 22:40:36 +00:00
ncgvmt.pas * ensure that the indirect symbols for VMT, RTTI and IID reside in the same sections as the symbols they point to -> reduces the amount of sections for them by half 2017-01-29 17:43:39 +00:00
ncnv.pas * on 16-bit CPUs remove unnecessary 32-bit conversions of integers, that are 2017-03-29 10:49:32 +00:00
ncon.pas * fixed compilation of 64-bit cross-compilers on 32 bit platforms 2017-03-06 21:37:34 +00:00
nflw.pas * Fixed memory leak of tlabelnode.labsym. 2017-03-07 10:14:59 +00:00
ngenutil.pas * fixed bugs in r33737: that revision was supposed to only move 2017-02-20 22:15:34 +00:00
ngtcon.pas * Removed unused vars. 2017-03-07 08:56:07 +00:00
ninl.pas + enable using the cg64 ops OP_SHR/OP_SHL/OP_SAR on i386 for implementing the 2017-04-18 14:36:41 +00:00
nld.pas * fixed the missing warnings for unused variables at -O3, when one of the new 2017-04-11 14:25:57 +00:00
nmat.pas * Fixed a memory leak when div is replaced by shift. 2017-03-07 11:11:18 +00:00
nmem.pas * partial fix for Mantis #30831 (partial, because no exception has been encountered yet): when checking whether the left node of a vmtaddrnode is a generic, don't rely on df_generic, but instead use is_generic which checks for a true generic (the other will also be true if it's merely a structured type declared (or specialized) inside another generic) 2016-11-18 14:43:45 +00:00
nobj.pas * fix for issue #29936: check if the internal needed types are available 2017-01-15 20:54:07 +00:00
nobjc.pas
node.pas - removed some dataconstn remenants 2017-01-16 21:27:20 +00:00
nopt.pas
nset.pas * create jmp trees for really big case statements 2017-03-23 17:50:53 +00:00
nutils.pas * mark the sar/shl/shr/rol/ror_assign nodes as having side effects 2017-04-12 12:17:08 +00:00
objcasm.pas * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 2016-05-03 09:01:55 +00:00
objcdef.pas
objcgutl.pas * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 2016-11-07 15:09:07 +00:00
objcutil.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
ogbase.pas * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 2016-05-21 16:45:36 +00:00
ogcoff.pas + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
ogelf.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
oglx.pas
ogmacho.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
ogmap.pas
ognlm.pas
ogomf.pas + write name of segment/group which is too large 2017-02-19 19:15:18 +00:00
omfbase.pas * use OMF section names, starting with dot for the dwarf debug info for 2016-10-12 13:05:12 +00:00
optbase.pas
optconstprop.pas - removed some dataconstn remenants 2017-01-16 21:27:20 +00:00
optcse.pas * changed ttemp*node.tempinfo^.flags to a private field, and added setters 2016-08-21 14:23:09 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas * factored out SymbolCandidateForWarningOrHint 2016-03-13 19:14:26 +00:00
options.pas * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 2017-02-19 00:22:59 +00:00
optloop.pas * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 2016-03-13 18:19:55 +00:00
opttail.pas
optutils.pas + PrintNodeDFA writes also the defsum 2016-03-13 18:19:52 +00:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas
parabase.pas + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 2017-01-06 22:21:37 +00:00
paramgr.pas + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 2017-01-06 22:21:37 +00:00
parser.pas add m68k atari to the list of platforms which support syscalls 2016-12-02 09:33:05 +00:00
pass_1.pas
pass_2.pas - removed some dataconstn remenants 2017-01-16 21:27:20 +00:00
pbase.pas
pcp.pas Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 2016-04-15 13:39:41 +00:00
pdecl.pas * use pocalls_cdecl and cstylearrayofconst more consistently instead of 2017-02-25 11:46:35 +00:00
pdecobj.pas New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 2017-02-18 18:12:45 +00:00
pdecsub.pas * if an operator overload in a structured type is invalid print an error only for the declaration and not the implementation as well 2017-04-07 13:24:58 +00:00
pdecvar.pas huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 2016-09-03 07:57:23 +00:00
pexports.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
pexpr.pas Bug fix for getting pointer to function result (mantis #10933 #19861) 2017-03-01 13:23:02 +00:00
pgentype.pas
pgenutil.pas * if an operator overload in a structured type is invalid print an error only for the declaration and not the implementation as well 2017-04-07 13:24:58 +00:00
pinline.pas Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 2016-06-03 21:25:49 +00:00
pkgutil.pas * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef 2016-12-09 13:39:28 +00:00
pmodules.pas * generate the package stub for all Windows and NativeNT targets 2017-01-29 22:39:34 +00:00
pp.lpi undo accidental commit (r35721) :/ 2017-04-03 17:10:20 +00:00
pp.pas * set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517 2017-03-11 14:59:37 +00:00
pparautl.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
ppc68k.lpi
ppc8086.lpi * updated the compiler source files list in ppc8086.lpi 2017-04-07 12:40:20 +00:00
ppcaarch64.lpi * fixed exe output path 2016-03-28 20:44:08 +00:00
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas Always write filename, truncate directory part if needed 2016-08-21 22:24:07 +00:00
ppu.pas Store informations about management operators in ppu files for records. 2017-02-18 18:43:25 +00:00
ppx86_64.lpi
procinfo.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
pstatmnt.pas New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 2017-02-18 18:12:45 +00:00
psub.pas New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 2017-02-18 18:12:45 +00:00
psystem.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
ptconst.pas huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 2016-09-03 07:57:23 +00:00
ptype.pas New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 2017-02-18 18:12:45 +00:00
raatt.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
rabase.pas
rasm.pas
rautils.pas m68k: support register pair operands in assembler reader and writer, as used by some instructions (mainly DIVS/DIVU and friends) so we don't have to hack them as three operand instructions 2016-11-05 17:07:18 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * Reverted r34524 - workaround for compiling with -gc. It is not needed anymore since cycle completes with -gc. 2017-03-07 09:30:16 +00:00
scandir.pas atari: enable apptype directive, and change exe extension when compiling a GUI app 2016-12-30 10:27:27 +00:00
scanner.pas Replaced owner field by fileindex field in tpreprocstack class, in order to display correct include file for scan_e_endif_expected error 2017-03-09 22:43:23 +00:00
script.pas * fix some more occured->occured 2016-12-13 12:55:32 +00:00
switches.pas Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 2016-03-18 22:04:57 +00:00
symbase.pas
symconst.pas * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 2017-02-19 00:22:59 +00:00
symcreat.pas + introduce a new potype for the main stub of a package library (which on Windows is simply a DLLMain returning True) 2017-01-29 22:37:40 +00:00
symdef.pas * each record with managed field or with any management operator needs init table (update for symdef.pas, trecorddef.needs_inittable) 2017-02-18 18:50:57 +00:00
symsym.pas instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 2017-01-04 19:19:50 +00:00
symtable.pas + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
symtype.pas marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying 2017-03-03 17:29:59 +00:00
symutil.pas * compare floating point default parameter values bytewise instead of as 2016-10-02 12:56:49 +00:00
syscinfo.pas * refactored syscall types for unified naming,first bits of ARM AROS syscall support 2016-11-06 12:41:56 +00:00
systems.inc webassembly: reserve a system id and cpu id slot for the platform 2017-03-01 15:15:58 +00:00
systems.pas Fix FreeBSD cycle starting for release compiler after FPSysCtl interface change 2017-03-13 21:33:09 +00:00
tgobj.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
tokens.pas * symtable.pas: 2017-02-18 19:27:53 +00:00
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas * fix warnings which were caused by last changes to for node generation 2016-11-05 23:05:44 +00:00
wpoinfo.pas Merged revision(s) 28689 from branches/svenbarth/packages: 2016-01-22 15:26:30 +00:00

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