florian b59e4f5652 + register .inc files for SPARC64 8 år sedan
..
aarch64 61af0fb72d * only take into account the location of the parameter at the callee side to 8 år sedan
arm 61af0fb72d * only take into account the location of the parameter at the callee side to 8 år sedan
avr 5138d4e067 * fixed avr multiplication after r36344 8 år sedan
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 22956c4393 + TX86AsmOptimizer.OptPass1OP 8 år sedan
i8086 912e6d129a * fix modification flags for *ROUND* 8 år sedan
jvm 7c9aeda656 * rework InsertInitFinalTable a bit more so that the list of init/fini entries does not need to be generated twice for AVR 8 år sedan
llvm e4dbd24a49 + inline trunc() support for the LLVM backend when using -Oofastmath (because 8 år sedan
m68k f7488f2bd8 m68k: don't try to inline NaN and InF values as consts into FPU operands 8 år sedan
mips 61af0fb72d * only take into account the location of the parameter at the callee side to 8 år sedan
msg 22021dd0b8 Add help for second argument to -Ch option, -Chx,y y is max heap size 8 år sedan
powerpc 61af0fb72d * only take into account the location of the parameter at the callee side to 8 år sedan
powerpc64 61af0fb72d * only take into account the location of the parameter at the callee side to 8 år sedan
ppcgen f7c2ab2e7c aggas.pas: Make WriteSection method of TGNUAssembler class virtual. 8 år sedan
sparc b59e4f5652 + register .inc files for SPARC64 8 år sedan
sparc64 b59e4f5652 + register .inc files for SPARC64 8 år sedan
sparcgen b59e4f5652 + register .inc files for SPARC64 8 år sedan
systems 1252aefb86 t_linux: whitespace and tab 2 space fix. no functional change. 8 år sedan
utils b59e4f5652 + register .inc files for SPARC64 8 år sedan
x86 22956c4393 + TX86AsmOptimizer.OptPass1OP 8 år sedan
x86_64 22956c4393 + TX86AsmOptimizer.OptPass1OP 8 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 år sedan
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 år sedan
Makefile 17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks 8 år sedan
Makefile.fpc b59e4f5652 + register .inc files for SPARC64 8 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 8 år sedan
aasmcnst.pas f3ebde999f * extracted the code to generate the indirect symbols from 8 år sedan
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
aasmdef.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 8 år sedan
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
aasmtai.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
aggas.pas f37613ddd8 * Use .rodata and .data.rel.ro sections for Android with PIC. 8 år sedan
aopt.pas b1dff29cbf * removed unused units 8 år sedan
aoptbase.pas b1dff29cbf * removed unused units 8 år sedan
aoptda.pas b1dff29cbf * removed unused units 8 år sedan
aoptobj.pas b1dff29cbf * removed unused units 8 år sedan
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType 8 år sedan
assemble.pas b1dff29cbf * removed unused units 8 år sedan
blockutl.pas b1dff29cbf * removed unused units 8 år sedan
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 år sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
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 år sedan
cclasses.pas 5e07957594 + TLinkedList.RemoveAll 8 år sedan
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 år sedan
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 år sedan
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 år sedan
cgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 år sedan
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
cgobj.pas b1dff29cbf * removed unused units 8 år sedan
cgutils.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
cmsgs.pas aba10cd184 compiler: 14 år sedan
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 år sedan
compiler.pas 9e2133c1b1 - disable SHOWUSEDMEM when EXTDEBUG is defined, because it breaks building a 8 år sedan
compinnr.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 år sedan
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 år sedan
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas b1dff29cbf * removed unused units 8 år sedan
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 år sedan
cutils.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 8 år sedan
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 år sedan
dbgbase.pas b1dff29cbf * removed unused units 8 år sedan
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 8 år sedan
dbgstabs.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 år sedan
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 år sedan
defcmp.pas 5971e1327e * fix for Mantis #31756: have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility 8 år sedan
defutil.pas 876c0c5fd5 + added helper function are_equal_ints() 8 år sedan
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 år sedan
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 år sedan
entfile.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers 8 år sedan
export.pas b1dff29cbf * removed unused units 8 år sedan
expunix.pas b1dff29cbf * removed unused units 8 år sedan
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 år sedan
fmodule.pas b1dff29cbf * removed unused units 8 år sedan
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 år sedan
fpcdefs.inc 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
fpcp.pas b1dff29cbf * removed unused units 8 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas 4e1f999b02 * write full path name when ppu crc checks fail/conflict (patch by 8 år sedan
gendef.pas aee5380ae0 * merged trunk up to r20882 13 år sedan
globals.pas 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
globstat.pas 88af293155 Fix for Mantis #22160 13 år sedan
globtype.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 år sedan
hlcg2ll.pas b1dff29cbf * removed unused units 8 år sedan
hlcgobj.pas b1dff29cbf * removed unused units 8 år sedan
htypechk.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
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 år sedan
import.pas b1dff29cbf * removed unused units 8 år sedan
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
link.pas b1dff29cbf * removed unused units 8 år sedan
macho.pas e243cc77ea macho.pas: 9 år sedan
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 år sedan
msgidx.inc 5c18830aab Regenerated files after: Add help for second argument to -Ch option, -Chx,y y is max heap size 8 år sedan
msgtxt.inc 5c18830aab Regenerated files after: Add help for second argument to -Ch option, -Chx,y y is max heap size 8 år sedan
nadd.pas b755524c38 made it possible to override the decision from the cgs, if a certain muln needs a helper 8 år sedan
nbas.pas b1dff29cbf * removed unused units 8 år sedan
ncal.pas 54b5112284 * real constants should be propagated during inline expanding 8 år sedan
ncgadd.pas b1dff29cbf * removed unused units 8 år sedan
ncgbas.pas b1dff29cbf * removed unused units 8 år sedan
ncgcal.pas b1dff29cbf * removed unused units 8 år sedan
ncgcnv.pas b1dff29cbf * removed unused units 8 år sedan
ncgcon.pas b1dff29cbf * removed unused units 8 år sedan
ncgflw.pas b1dff29cbf * removed unused units 8 år sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas 8eec29b139 + enable support for a processor specific frac function 8 år sedan
ncgld.pas b1dff29cbf * removed unused units 8 år sedan
ncgmat.pas b1dff29cbf * removed unused units 8 år sedan
ncgmem.pas 8ea9e3d344 * avoid range check errors on avr 8 år sedan
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 år sedan
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 år sedan
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 år sedan
ncgobjc.pas b1dff29cbf * removed unused units 8 år sedan
ncgopt.pas b1dff29cbf * removed unused units 8 år sedan
ncgrtti.pas b1dff29cbf * removed unused units 8 år sedan
ncgset.pas 991d962ae2 * more range check errors on 8 bit CPUs fixed 8 år sedan
ncgutil.pas b1dff29cbf * removed unused units 8 år sedan
ncgvmt.pas b1dff29cbf * removed unused units 8 år sedan
ncnv.pas 0351369698 * ttypeconvnode.typecheck_arrayconstructor_to_dynarray: the assignment node of the temp array to the resulting array always needs to exist, so remove the assigned() check 8 år sedan
ncon.pas b1dff29cbf * removed unused units 8 år sedan
nflw.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ngenutil.pas dd01b7ca8b fix a typo to hopefully fix the build 8 år sedan
ngtcon.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ninl.pas 29d9beb40c * initialize datatemp 8 år sedan
nld.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
nmat.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
nmem.pas b1dff29cbf * removed unused units 8 år sedan
nobj.pas b1dff29cbf * removed unused units 8 år sedan
nobjc.pas b1dff29cbf * removed unused units 8 år sedan
node.pas 7911cc8437 - removed some dataconstn remenants 8 år sedan
nopt.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
nset.pas b1dff29cbf * removed unused units 8 år sedan
nutils.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 år sedan
objcdef.pas b1dff29cbf * removed unused units 8 år sedan
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 8 år sedan
objcutil.pas b1dff29cbf * removed unused units 8 år sedan
ogbase.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 8 år sedan
ogcoff.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 8 år sedan
ogelf.pas b1dff29cbf * removed unused units 8 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 år sedan
ogmap.pas b1dff29cbf * removed unused units 8 år sedan
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 år sedan
ogomf.pas e7fd71db36 + write name of segment/group which is too large 8 år sedan
omfbase.pas b1dff29cbf * removed unused units 8 år sedan
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 år sedan
optconstprop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
optcse.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
optdead.pas b1dff29cbf * removed unused units 8 år sedan
optdeadstore.pas b1dff29cbf * removed unused units 8 år sedan
optdfa.pas b1dff29cbf * removed unused units 8 år sedan
options.pas fa645dcaf7 + added abs(smallint) and abs(shortint) for cpus with 8-bit or 16-bit alu 8 år sedan
optloadmodifystore.pas dd01b7ca8b fix a typo to hopefully fix the build 8 år sedan
optloop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 år sedan
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 år sedan
optvirt.pas b1dff29cbf * removed unused units 8 år sedan
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 år sedan
owomflib.pas b1dff29cbf * removed unused units 8 år sedan
parabase.pas 9787c5dd82 * fix compilation of LLVM backend (mantis #31794) 8 år sedan
paramgr.pas b1dff29cbf * removed unused units 8 år sedan
parser.pas b1dff29cbf * removed unused units 8 år sedan
pass_1.pas b1dff29cbf * removed unused units 8 år sedan
pass_2.pas b1dff29cbf * removed unused units 8 år sedan
pbase.pas b1dff29cbf * removed unused units 8 år sedan
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 år sedan
pdecl.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
pdecobj.pas b1dff29cbf * removed unused units 8 år sedan
pdecsub.pas b1dff29cbf * removed unused units 8 år sedan
pdecvar.pas b1dff29cbf * removed unused units 8 år sedan
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 år sedan
pexpr.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 år sedan
pgenutil.pas b1dff29cbf * removed unused units 8 år sedan
pinline.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
pkgutil.pas b1dff29cbf * removed unused units 8 år sedan
pmodules.pas c90fbe1bf0 * fix for Mantis #31795: append a $ to internal functions init, finalize, init_implicit and finalize_implicit as their section names otherwise look the same as those of user declared functions with the same name 8 år sedan
pp.lpi ed984e0c76 - removed missing file from project 8 år sedan
pp.pas 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 år sedan
ppc68k.lpi 9ebf2aa984 * project file updates 13 år sedan
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 år sedan
ppcarm.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcavr.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 år sedan
ppcmips.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc64.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers 8 år sedan
ppx86_64.lpi e96dc4204e * version update 13 år sedan
procinfo.pas b1dff29cbf * removed unused units 8 år sedan
pstatmnt.pas b1dff29cbf * removed unused units 8 år sedan
psub.pas b1dff29cbf * removed unused units 8 år sedan
psystem.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ptconst.pas b1dff29cbf * removed unused units 8 år sedan
ptype.pas b1dff29cbf * removed unused units 8 år sedan
raatt.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas b1dff29cbf * removed unused units 8 år sedan
rautils.pas 744facb7fc * properly support accepting register parameters of assembler routines in 8 år sedan
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 år sedan
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 år sedan
rgobj.pas 7c0f72d9af * avoid spill coalesce of registers with itself, resolves issue #31926 8 år sedan
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app 8 år sedan
scanner.pas 631d4a2d53 * Move global variable in_preproc_comp_expr into tscannerfile class. 8 år sedan
script.pas d2fe24ae20 * fix some more occured->occured 8 år sedan
switches.pas 86b9381673 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. 9 år sedan
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 år sedan
symconst.pas af8e0efe57 * 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. 8 år sedan
symcreat.pas b1dff29cbf * removed unused units 8 år sedan
symdef.pas b1dff29cbf * removed unused units 8 år sedan
symsym.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers 8 år sedan
symtable.pas 631d4a2d53 * Move global variable in_preproc_comp_expr into tscannerfile class. 8 år sedan
symtype.pas b1dff29cbf * removed unused units 8 år sedan
symutil.pas b1dff29cbf * removed unused units 8 år sedan
syscinfo.pas b1dff29cbf * removed unused units 8 år sedan
systems.inc 319a397ae8 webassembly: reserve a system id and cpu id slot for the platform 8 år sedan
systems.pas b837f544de * only rtl needed fix. 8 år sedan
tgobj.pas b1dff29cbf * removed unused units 8 år sedan
tokens.pas 25db29d0a6 * symtable.pas: 8 år sedan
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 år sedan
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 år sedan
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 år sedan
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 år sedan
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 år sedan
wpoinfo.pas b1dff29cbf * removed unused units 8 år sedan

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