Jonas Maebe c27807ee63 * resolve formal/anonymous external classes before comparing parameters to 10 éve
..
aarch64 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
arm 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
avr 10b2ea3b1b * use handle_locjump() instead of local inlined version 10 éve
generic 7dd1d6aa77 o fixes handling of iso i/o parameters/program parameters: 10 éve
html fa0d3d79e0 no message 23 éve
i386 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
i8086 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
jvm 32c3f05522 + peepholeoptimizations to remove swap instructions 10 éve
llvm 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
m68k 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
mips 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
msg e720b44471 * expand the error message for when trying to use a formal class with an 10 éve
powerpc 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
powerpc64 10b2ea3b1b * use handle_locjump() instead of local inlined version 10 éve
ppcgen 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
sparc 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
systems 6bb430e97c * also use the ARM/EABI linker script when targeting armhf 10 éve
utils 960a72f821 Use AnsiString and sysutils GetEnvironmentVariable function to avoid truncation of PATH to 255 chars 10 éve
x86 0d74e4f719 * changed paratargetdbg from a global variable into a field of toption 10 éve
x86_64 1bcc276dcf * remove implicit typecast to extended automatically inserted for trunc/round 10 éve
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 éve
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 éve
Makefile 8c8657e2d5 * base optimiser support for the JVM target 10 éve
Makefile.fpc 8c8657e2d5 * base optimiser support for the JVM target 10 éve
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
aasmbase.pas be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels 10 éve
aasmcnst.pas c946a85ae6 * give an internalerror if a typed const builder is finalised while there 10 éve
aasmdata.pas be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels 10 éve
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 éve
aasmtai.pas c3a7d76c68 * ait_jcatch should not be skipped by optimizers, as it does result in 10 éve
aggas.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
aopt.pas 1b43930749 - removed long deprecated/buggy assembler cse optimiser for i386 10 éve
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 éve
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 éve
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 éve
aoptobj.pas 8c8657e2d5 * base optimiser support for the JVM target 10 éve
assemble.pas 046a4e4114 * allow using a TObjSymbol subclass via using a "class of" type 10 éve
blockutl.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 éve
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 éve
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 éve
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 éve
cclasses.pas 94bcb9878a * reimplemented r28329 in a different way, as suggested by Jonas 11 éve
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 éve
cfileutl.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 éve
cg64f32.pas 6c19c18bc9 + support 8 locations in splitparaloc64 10 éve
cgbase.pas 4d01271944 * due to avr's harvard architecture, loads of code labels need to use the gs(...) macro 10 éve
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
cgobj.pas 3f736f6114 * handle the loading of VMT entries at the node level, so it's done in a 10 éve
cgutils.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
cmsgs.pas aba10cd184 compiler: 13 éve
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 éve
compiler.pas b18ba8e85b * syncrhonised with trunk up till r28471 11 éve
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 10 éve
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 éve
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 éve
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 éve
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
cresstr.pas 419a97cce8 * changed emit_ansistring_const() and emit_unicodestring_const() into 10 éve
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 éve
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 éve
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 éve
dbgdwarf.pas add015f808 * ensure that the dwarf file table contains an entry if the current unit 10 éve
dbgstabs.pas 64dafdb1de * stabn writing code simplified 11 éve
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 éve
defcmp.pas dd3d0ae5bc * set the type of the hidden $vmt parameter to the correct classrefdef and 10 éve
defutil.pas 75a6ba4113 - removed symcpu dependencies 10 éve
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 éve
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 éve
expunix.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
finput.pas 00d41dc9fa * return false, if tdosinputfile.fileopen cannot open a file for reading 10 éve
fmodule.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 éve
fpcdefs.inc 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
fppu.pas 35d550c9c6 + commented directive for easier enabling 10 éve
gendef.pas aee5380ae0 * merged trunk up to r20882 13 éve
globals.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
globstat.pas 88af293155 Fix for Mantis #22160 13 éve
globtype.pas 1b43930749 - removed long deprecated/buggy assembler cse optimiser for i386 10 éve
hlcg2ll.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
hlcgobj.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
htypechk.pas c27807ee63 * resolve formal/anonymous external classes before comparing parameters to 10 éve
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 éve
import.pas bf1c390027 * refactor import library generation 19 éve
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
link.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 éve
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 éve
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 éve
msgidx.inc e720b44471 * expand the error message for when trying to use a formal class with an 10 éve
msgtxt.inc e720b44471 * expand the error message for when trying to use a formal class with an 10 éve
nadd.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
nbas.pas 657ac78304 * Improved handling of registers used in assembler blocks. Assembler nodes no longer have lists of used registers attached to them. Instead, each specified register creates an allocation/deallocation pair and an additional tai_regalloc.markused item directly in the asmlist. This way, register lists are no longer limited to integer registers, and parsing no longer depends on paramanager to know which registers are volatile. 10 éve
ncal.pas e06181749c * guarantee the order of parameter pushes again after r31201 on platforms 10 éve
ncgadd.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgbas.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
ncgcal.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgcnv.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgcon.pas 36e5291d94 * converted tcgguidconstnode.pass_generate_code to use the high level typed 10 éve
ncgflw.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncginl.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
ncgld.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgmem.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 éve
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 éve
ncgobjc.pas 4cf5e36ce7 compiler: 14 éve
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
ncgrtti.pas 4c0807c596 * simplified enum lookup table management by using tfplist instead of 10 éve
ncgset.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgutil.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
ncgvmt.pas b4e61b2469 * enable the llvm code generator for VMT generation 10 éve
ncnv.pas fa1ac2515e * don't look for overloaded operators in case of internally generated 10 éve
ncon.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
nflw.pas 201121d7c9 * synchronised with trunk till r30345 10 éve
ngenutil.pas 1941e64488 + added a hook to insert object-global information into the asmlists (will 10 éve
ngtcon.pas e93660c170 - removed ttai_lowleveltypedconstbuilder.queue_addrn(), as we are always 10 éve
ninl.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
nld.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
nmat.pas ba1297b1ab + provide also 8 and 16 bit div/mod helper 10 éve
nmem.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
nobj.pas 39016c032e Fix for Mantis #28442. Do not generate the VMT record definition for generic classes. It isn't used anyway. 10 éve
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 éve
node.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken 11 éve
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 éve
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after 10 éve
nstate.pas 790a4fe2d3 * log and id tags removed 20 éve
nutils.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 éve
objcgutl.pas 8c89f7ee8f * AArch64 also uses the non-fragile Objective-C ABI 10 éve
objcutil.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
ogbase.pas 919cc8377a + added class type property CObjSymbol to TExeOutput as well 10 éve
ogcoff.pas d204aaab72 * refactored "ar" object writer creation in the internal assembler to allow 10 éve
ogelf.pas d204aaab72 * refactored "ar" object writer creation in the internal assembler to allow 10 éve
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 éve
ogmacho.pas d204aaab72 * refactored "ar" object writer creation in the internal assembler to allow 10 éve
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 éve
ognlm.pas d204aaab72 * refactored "ar" object writer creation in the internal assembler to allow 10 éve
ogomf.pas 919cc8377a + added class type property CObjSymbol to TExeOutput as well 10 éve
omfbase.pas 7923b6142e + finished the internal omf library writer (implementing writing of the library 10 éve
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 éve
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 éve
optcse.pas af2c7bf00f * don't perform CSE on typeconversion nodes inserted for absolute 10 éve
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 éve
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 éve
optdfa.pas c0e66deaf2 * handle raise nodes in dfa on jvm, resolves #27416 10 éve
options.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
optloop.pas f813703cf3 * fixes several issues with loop unrolling 10 éve
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 éve
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 éve
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 éve
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 éve
owomflib.pas 157345c9c2 + obtain and return the internal module name in brackets in the internal omf 10 éve
parabase.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): 11 éve
paramgr.pas f40ea04540 * changed getarraydef() into a tarraydef.getreusable() class method 10 éve
parser.pas f0ccbc87f2 AROS/x86_64: enable syscalls code in the parser, fix EAX->RAX reference base while calculating syscall offset 10 éve
pass_1.pas 9fdd64e94c * indention and new line fixes 11 éve
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 éve
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 éve
pdecl.pas 3684e7665d * changed temporary type_e_anonymous_function_unsupported message into an 10 éve
pdecobj.pas f1decfb6b6 * do not generate a vmt record for generics, they are only needed for specializations 10 éve
pdecsub.pas 052af9200e * support external declarations for compilerprocs 10 éve
pdecvar.pas 25e6eaf07f * store the to be used recordalignmin and maxcrecordalign settings inside 10 éve
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 éve
pexpr.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
pgenutil.pas 19c6d72c7b Fix for Mantis #27750. 10 éve
pinline.pas dd967eb136 * handle records in iso mode properly if no tag-field is given 10 éve
pmodules.pas bc62795f15 * removed no longer used simplify_ppu global 10 éve
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
pparautl.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 éve
ppc68k.lpi 9ebf2aa984 * project file updates 13 éve
ppc8086.lpi 27f77329e7 - removed agjasmin.pas from the ppc8086.lpi (plus other changes lazarus insists on doing) 10 éve
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 éve
ppcarm.lpi 9ebf2aa984 * project file updates 13 éve
ppcavr.lpi 9ebf2aa984 * project file updates 13 éve
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 éve
ppcmips.lpi 9ebf2aa984 * project file updates 13 éve
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc64.lpi 9ebf2aa984 * project file updates 13 éve
ppcsparc.lpi 9ebf2aa984 * project file updates 13 éve
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 éve
ppu.pas ab0d445999 * fixed truncation errors for a*int/word in ppudump for architectures 10 éve
ppx86_64.lpi e96dc4204e * version update 13 éve
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 éve
pstatmnt.pas 9a55e8fa3c * do not call typecheckpass unncessarily in generic definitions, it might cause only errors, resolves #28058 10 éve
psub.pas a58504990a * fixed llvm handling of routines that are normally declared in the 10 éve
psystem.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
ptconst.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 éve
ptype.pas 66781b5526 Fix for Mantis #28530. 10 éve
raatt.pas 8445381929 * merged ait_set and ait_thumb_set into a single tai class 10 éve
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 éve
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 éve
rautils.pas e9c790f4eb + support 'SEG' in the i8086 inline assembler 10 éve
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 éve
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 éve
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 éve
rgobj.pas 199b1861d6 * fix wrong comparisons in trgobj.conservative to enable better coalescing, 10 éve
scandir.pas 0d74e4f719 * changed paratargetdbg from a global variable into a field of toption 10 éve
scanner.pas b61fd60b9d + support for {$I %CURRENTROUTINE%} 10 éve
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
switches.pas 86b9a0eed1 + added the $F switch to the turbo and macSwitchTable, as that takes precedence 11 éve
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 éve
symconst.pas d7f6744f7b * converted ncgrtti to the high level typed constant builder 10 éve
symcreat.pas a58504990a * fixed llvm handling of routines that are normally declared in the 10 éve
symdef.pas 6f5905684f + support for specifying the name of fields added to anonymous record 10 éve
symnot.pas 790a4fe2d3 * log and id tags removed 20 éve
symsym.pas 55669f62b1 Added most AVR controllers. 10 éve
symtable.pas 413680f593 * factored out getting a previously created internal type by name 10 éve
symtype.pas e34a16d1f1 * change rtti_mangledname resultdef into TSymStr 10 éve
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 éve
systems.inc 8628d50aba + Linux/AArch64 compiler support (patch by Edmund Grimley Evans) 10 éve
systems.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 éve
tokens.pas 146e3bcb9e * synchronised with trunk till r29513 10 éve
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 éve
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 éve
widestr.pas 6dd2fe0320 * converted widestr.charlength() to use system.Utf8CodePointLen() 10 éve
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 éve
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 éve
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because 11 éve

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