florian 602bea2a1d + handle also optimizer switches by $push/$pop 1 week ago
..
aarch64 fb577a9175 + support for fpc_aarch64_yield and fpc_arm_yield 3 weeks ago
arm 2a63c7474b * encode yield as hex code so the assembler will accept it regardless of the selected CPU type 1 week ago
armgen 5646d14a3c * arm/a64: Be more careful about hp1 and p_second being null in "TryConstMerge" 7 months ago
avr 0d4474e11c [AVR] Add device information in .note.gnu.avr.deviceinfo section. 1 month ago
generic ff3acfb8cd * cleanup of 2.7.0 defines 4 years ago
html fa0d3d79e0 no message 23 years ago
i386 744c7c8d28 * small fixes 2 months ago
i8086 af28462865 * missing part of fpc_x86_pause support 3 weeks ago
jvm 5bf33deb9d Add explicitalignment field to record symtable and getlocal method 1 month ago
llvm 5bf33deb9d Add explicitalignment field to record symtable and getlocal method 1 month ago
loongarch64 49c9a1f323 Fix error in register allocation inside fixref method 1 week ago
m68k 8030e218e1 m68k: do not allow the members of the register pair in division/remainder instructions be the same register 3 months ago
mips c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 9 months ago
msg 7c09be1b5c Add -XlS option for wasm32 2 weeks ago
powerpc 97bfcb8bf2 * compilation of all target cpus fixed 1 month ago
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 2 years ago
ppcgen f6ef9f2aa3 * spelling 3 months ago
riscv 582cab6342 * minor RiscV stuff 2 weeks ago
riscv32 c611adf3d8 * compilation fixes 2 weeks ago
riscv64 c611adf3d8 * compilation fixes 2 weeks ago
sparc 5e00358f13 + cs_opt_consts for sparc 1 year ago
sparc64 1fa83a91ab + cs_opt_consts for sparc64 1 year ago
sparcgen c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 9 months ago
systems 17f0bc1ae1 * stabs is getting removed from gdb, so make dwarf the default debugging format for most 1 month ago
utils b68203a4ae First try to find compiler in same directory for vppc64 2 weeks ago
wasm32 4d3f31e168 compiler: set nil after free 1 week ago
x86 af28462865 * missing part of fpc_x86_pause support 3 weeks ago
x86_64 744c7c8d28 * small fixes 2 months ago
xtensa a291347d98 * emit_div/mod_reg_reg_reg takes now three operands 3 months ago
z80 97bfcb8bf2 * compilation of all target cpus fixed 1 month ago
.gitignore e14692f594 git ignore msg2inc binary 2 years ago
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 years ago
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 years ago
Makefile abbfd09233 morphos: convert the Un*x path used by the Makefile to an Amiga path before feeding it into the compiler. this fixes cycle on MorphOS again 1 month ago
Makefile.fpc abbfd09233 morphos: convert the Un*x path used by the Makefile to an Amiga path before feeding it into the compiler. this fixes cycle on MorphOS again 1 month ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 17 years ago
aasmbase.pas 0d4474e11c [AVR] Add device information in .note.gnu.avr.deviceinfo section. 1 month ago
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 years ago
aasmcnst.pas d53e4030af compiler: set to nil after free 1 week ago
aasmdata.pas d53e4030af compiler: set to nil after free 1 week ago
aasmdef.pas d53e4030af compiler: set to nil after free 1 week ago
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
aasmtai.pas 582cab6342 * minor RiscV stuff 2 weeks ago
aggas.pas d53e4030af compiler: set to nil after free 1 week ago
aopt.pas d53e4030af compiler: set to nil after free 1 week ago
aoptbase.pas 32d0531c71 * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 1 year ago
aoptda.pas b1dff29cbf * removed unused units 8 years ago
aoptobj.pas d53e4030af compiler: set to nil after free 1 week ago
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 year ago
assemble.pas d53e4030af compiler: set to nil after free 1 week ago
blockutl.pas 98ab19b6eb compiler: set to nil after free 1 week ago
browcol.pas b810e6d5cf Symbol browser consolidate units 5 months ago
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 17 years ago
ccharset.pas c74c4ad9ad * Use dynamic array instead of pointer for character map 9 months ago
cclasses.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 5 years ago
cfidwarf.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cfileutl.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cg64f32.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cgbase.pas 8a836ccafc Support for tmmreg. 6 months ago
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 years ago
cghlcpu.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 10 months ago
cgobj.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 10 months ago
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 year ago
cmsgs.pas 1547f28a40 * Use dynamic arrays for compiler messages 9 months ago
comphook.pas c4d4beec8d * Allow to specify message when calling internal error 2 months ago
compiler.pas 51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 1 year ago
compinnr.pas 2aeddc8041 * ensure ccpuinnr.inc is found 2 weeks ago
comprsrc.pas 98ab19b6eb compiler: set to nil after free 1 week ago
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 years ago
constexp.pas 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 1 year ago
cprofile.pas 98ab19b6eb compiler: set to nil after free 1 week ago
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 12 years ago
cresstr.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cscript.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cstreams.pas 98ab19b6eb compiler: set to nil after free 1 week ago
ctask.pas 98ab19b6eb compiler: set to nil after free 1 week ago
cutils.pas 6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 10 months ago
dbgbase.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 years ago
dbgdwarf.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 years ago
dbgstabs.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
defcmp.pas 5bf217ed53 Support explicit casts for floating point types in mode Delphi, issue #41533 1 week ago
defutil.pas 470e3b9448 Modify is_inlimit function to use setlow instead of setbase field 7 months ago
dirparse.pas 7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 1 year ago
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 3 years ago
elfbase.pas 245b58c249 + support for arm attributes 6 years ago
entfile.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
export.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
expunix.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
finput.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
fmodule.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
fpcdefs.inc f061541bad Introduce CPU_BC_HAS_SIZE_LIMIT to limit acceptable range when looking for unconditional jump label, to remain eligible for exchange with conditional jump 1 month ago
fpchash.pas 0e0c4bd621 * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 1 year ago
fpcp.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
fpkg.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
fppu.pas 2c1ff71e8c compiler: set to nil after free 1 week ago
gendef.pas cb4594a155 compiler: set to nil after free 1 week ago
globals.pas 602bea2a1d + handle also optimizer switches by $push/$pop 1 week ago
globstat.pas 9cc30829fa * Restore messages state 1 year ago
globtype.pas ba74d7d3f8 * normalize tree: - do not allow statements in expressions 2 months ago
hlcg2ll.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 10 months ago
hlcgobj.pas 5bf33deb9d Add explicitalignment field to record symtable and getlocal method 1 month ago
htypechk.pas cb4594a155 compiler: set to nil after free 1 week ago
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 years ago
import.pas cb4594a155 compiler: set to nil after free 1 week ago
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 years ago
link.pas cb4594a155 compiler: set to nil after free 1 week ago
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
machoutils.pas cb4594a155 compiler: set to nil after free 1 week ago
nadd.pas cb4594a155 compiler: set to nil after free 1 week ago
nbas.pas cb4594a155 compiler: set to nil after free 1 week ago
ncal.pas cb4594a155 compiler: set to nil after free 1 week ago
ncgadd.pas 0f39633acc * generic second_addordinal can handle swapped nodes 1 year ago
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 year ago
ncgcal.pas e237da95d2 * most of tcgcallparanode.secondcallparan's code was moved into two new methods: 9 months ago
ncgcnv.pas 7d0ef33766 * avoid to call a_loadmm_reg_intreg for mm registers larger than the int registers, resolves #41252 7 months ago
ncgcon.pas cb4594a155 compiler: set to nil after free 1 week ago
ncgflw.pas cb4594a155 compiler: set to nil after free 1 week ago
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 years ago
ncginl.pas 99b71eafda * simplified code 10 months ago
ncgld.pas 38fd88f001 * strange oversight fixed that tcgassignmentnode.pass_generate_code doesn't handle a certain 4 months ago
ncgmat.pas ed65f26e98 ncgmat: fix location for constant divisions-by-power-of-two after a291347d 3 months ago
ncgmem.pas 2f36ba10f5 * another 64-bit ALU, 32-bit address fix in tcgvecnode.update_reference_reg_packed 2 months ago
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 years ago
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 years ago
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
ncgobjc.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 9 months ago
ncgopt.pas b1dff29cbf * removed unused units 8 years ago
ncgrtti.pas cb4594a155 compiler: set to nil after free 1 week ago
ncgset.pas f6ef9f2aa3 * spelling 3 months ago
ncgutil.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
ncgvmt.pas cb4594a155 compiler: set to nil after free 1 week ago
ncnv.pas cb4594a155 compiler: set to nil after free 1 week ago
ncon.pas 4697a21761 Avoid memory leak in genconstsymtree 1 month ago
nflw.pas cb4594a155 compiler: set to nil after free 1 week ago
ngenutil.pas cb4594a155 compiler: set to nil after free 1 week ago
ngtcon.pas cb4594a155 compiler: set to nil after free 1 week ago
ninl.pas d53e4030af compiler: set to nil after free 1 week ago
nld.pas 4cae231a52 * dont' allow assignments to array of const, resolves #41230 8 months ago
nmat.pas cb4594a155 compiler: set to nil after free 1 week ago
nmem.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 9 months ago
nobj.pas fbd36fe22e compiler: set to nil after free 1 week ago
nobjc.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 9 months ago
node.pas cb4594a155 compiler: set to nil after free 1 week ago
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 year ago
nset.pas e552cb8136 compiler: set to nil after free 1 week ago
nutils.pas 30c631b6fa * avoid illegal type case for in_ro*_* 1 month ago
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 4 years ago
objcdef.pas 789b361482 compiler: set nil after free 1 week ago
objcgutl.pas 789b361482 compiler: set nil after free 1 week ago
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 3 years ago
ogbase.pas 789b361482 compiler: set nil after free 1 week ago
ogcoff.pas 789b361482 compiler: set nil after free 1 week ago
ogelf.pas 789b361482 compiler: set nil after free 1 week ago
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
ogmacho.pas 789b361482 compiler: set nil after free 1 week ago
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 years ago
ognlm.pas 789b361482 compiler: set nil after free 1 week ago
ogomf.pas 789b361482 compiler: set nil after free 1 week ago
ogrel.pas 789b361482 compiler: set nil after free 1 week ago
ogwasm.pas 789b361482 compiler: set nil after free 1 week ago
omfbase.pas ada0fdf9b3 compiler: fixed compile on linux 1 week ago
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 year ago
optconstprop.pas 789b361482 compiler: set nil after free 1 week ago
optcse.pas 789b361482 compiler: set nil after free 1 week ago
optdead.pas b1dff29cbf * removed unused units 8 years ago
optdeadstore.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 1 year ago
optdfa.pas 789b361482 compiler: set nil after free 1 week ago
options.pas 789b361482 compiler: set nil after free 1 week ago
optloadmodifystore.pas 0cb047230f Fix cycle for non-LLVM 6 months ago
optloop.pas 789b361482 compiler: set nil after free 1 week ago
opttail.pas 789b361482 compiler: set nil after free 1 week ago
opttree.pas 3299b73099 * disable DEBUG_NORMALIZE 2 months ago
optutils.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 1 year ago
optvirt.pas b66b156963 compiler: set to nil after free 1 week ago
owar.pas 789b361482 compiler: set nil after free 1 week ago
owbase.pas 789b361482 compiler: set nil after free 1 week ago
owomflib.pas 789b361482 compiler: set nil after free 1 week ago
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 years ago
paramgr.pas 789b361482 compiler: set nil after free 1 week ago
parser.pas 789b361482 compiler: set nil after free 1 week ago
pass_1.pas 789b361482 compiler: set nil after free 1 week ago
pass_2.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 year ago
pbase.pas 2c1fa9e94f * Initial commit from patch in mantis issue #35827 4 months ago
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 years ago
pdecl.pas 789b361482 compiler: set nil after free 1 week ago
pdecobj.pas 789b361482 compiler: set nil after free 1 week ago
pdecsub.pas 789b361482 compiler: set nil after free 1 week ago
pdecvar.pas 789b361482 compiler: set nil after free 1 week ago
pexports.pas 789b361482 compiler: set nil after free 1 week ago
pexpr.pas 789b361482 compiler: set nil after free 1 week ago
pgentype.pas 789b361482 compiler: set nil after free 1 week ago
pgenutil.pas 789b361482 compiler: set nil after free 1 week ago
pinline.pas 789b361482 compiler: set nil after free 1 week ago
pkgutil.pas 789b361482 compiler: set nil after free 1 week ago
pmodules.pas 789b361482 compiler: set nil after free 1 week ago
pp.lpi 867786c953 * update version 5 years ago
pp.pas 2a6fb32974 * don't use $MINSTACKSIZE and $MAXSTACKSIZE on non-Windows instead of disabling the warning 11 months ago
pparautl.pas a3ae828b65 * use new compare_rettype() to compare the return types of functions to decide whether they can be added as overloads so that operator overloads that have (different) generic types as return values are treated as different 2 months ago
ppc68k.lpi 8192bf1b33 * version update 5 years ago
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
ppcaarch64.lpi a816fc2114 * update project file 1 year ago
ppcarm.lpi 7909f00c83 * project files updated 2 years ago
ppcavr.lpi 7909f00c83 * project files updated 2 years ago
ppcjvm.lpi 9792ef566f * Undo changes to lpi files, committed by accident 9 months ago
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 year ago
ppcmips.lpi 7909f00c83 * project files updated 2 years ago
ppcmips64el.lpi 7909f00c83 * project files updated 2 years ago
ppcmipsel.lpi 7909f00c83 * project files updated 2 years ago
ppcppc.lpi 7909f00c83 * project files updated 2 years ago
ppcppc64.lpi 7909f00c83 * project files updated 2 years ago
ppcppc64le.lpi 7909f00c83 * project files updated 2 years ago
ppcriscv32.lpi 7909f00c83 * project files updated 2 years ago
ppcriscv64.lpi 7909f00c83 * project files updated 2 years ago
ppcsparc.lpi 7909f00c83 * project files updated 2 years ago
ppcsparc64.lpi 7909f00c83 * project files updated 2 years ago
ppcwasm32.lpi 9792ef566f * Undo changes to lpi files, committed by accident 9 months ago
ppcx64.lpi 329442eb27 compiler: added module state ms_compiled_waitcrc and delay writing ppu until all used unit crcs are computed 3 months ago
ppcx64llvm.lpi 7909f00c83 * project files updated 2 years ago
ppcxtensa.lpi 7909f00c83 * project files updated 2 years ago
ppcz80.lpi 7909f00c83 * project files updated 2 years ago
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 years ago
ppu.pas 5bf33deb9d Add explicitalignment field to record symtable and getlocal method 1 month ago
procdefutil.pas 789b361482 compiler: set nil after free 1 week ago
procinfo.pas 789b361482 compiler: set nil after free 1 week ago
psabiehpi.pas 789b361482 compiler: set nil after free 1 week ago
pstatmnt.pas 789b361482 compiler: set nil after free 1 week ago
psub.pas 789b361482 compiler: set nil after free 1 week ago
psystem.pas 7f4b2f63b3 Switch from functions for the Atomic*-family to intrinsics 1 year ago
ptconst.pas 789b361482 compiler: set nil after free 1 week ago
ptype.pas 789b361482 compiler: set nil after free 1 week ago
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
rabase.pas 328e60c155 * Use new and dispose for asmmodeinfos 9 months ago
rasm.pas 789b361482 compiler: set nil after free 1 week ago
rautils.pas 789b361482 compiler: set nil after free 1 week ago
rescmn.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 year ago
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 years ago
rgobj.pas 789b361482 compiler: set nil after free 1 week ago
scandir.pas 602bea2a1d + handle also optimizer switches by $push/$pop 1 week ago
scanner.pas 789b361482 compiler: set nil after free 1 week ago
switches.pas 602bea2a1d + handle also optimizer switches by $push/$pop 1 week ago
symbase.pas 789b361482 compiler: set nil after free 1 week ago
symconst.pas 05b73f1523 Postponing building of VMT until inheritance chain is specialized 1 year ago
symcreat.pas 789b361482 compiler: set nil after free 1 week ago
symdef.pas 789b361482 compiler: set nil after free 1 week ago
symsym.pas 789b361482 compiler: set nil after free 1 week ago
symtable.pas 789b361482 compiler: set nil after free 1 week ago
symtype.pas 789b361482 compiler: set nil after free 1 week ago
symutil.pas 8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 9 months ago
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 2 years ago
systems.inc 466f50d173 * fixed compilation of loongarch compiler 2 months ago
systems.pas f01bf2e004 * RiscV: ABI naming compliant with official docs 2 months ago
tgobj.pas 5bf33deb9d Add explicitalignment field to record symtable and getlocal method 1 month ago
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 years ago
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 years ago
verbose.pas 789b361482 compiler: set nil after free 1 week ago
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 years ago
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 years ago
wasmbase.pas ffd461860b + added extra values to TWasmNameSubsectionType from the extended name section 1 year ago
widestr.pas fb04659eb9 Fix previous commit 105382b8 by setting Temp to zero if maxi is zero 7 months ago
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 years ago
wpobase.pas 789b361482 compiler: set nil after free 1 week ago
wpoinfo.pas f7edf0355a * Change pointer-to-array of deref to dynamic array 9 months ago

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