Jonas Maebe 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
..
alpha ff5f311b34 - removed no more used constants vor 14 Jahren
arm 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
avr ff5f311b34 - removed no more used constants vor 14 Jahren
generic 3017132268 * Remove triple sources vor 14 Jahren
html fa0d3d79e0 no message vor 23 Jahren
i386 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
ia64 5acf377e31 * enable node cse for all cpus as level 2 optimization vor 15 Jahren
jvm 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
m68k 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
mips 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
msg 009a30d8cf * reworked saving/restoring the scanner state (immediately replace scanner vor 14 Jahren
powerpc 72e9cfee24 * create/destroy also the high level code generator for all architectures, vor 14 Jahren
powerpc64 72e9cfee24 * create/destroy also the high level code generator for all architectures, vor 14 Jahren
ppcgen 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
sparc 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
systems d456ec2ffe + support for JVM local variable and parameter debug information vor 14 Jahren
utils f17936e598 * moved import_lib (for JVM package name) and jvm_full_typename() vor 14 Jahren
vis ff5f311b34 - removed no more used constants vor 14 Jahren
x86 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
x86_64 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests vor 19 Jahren
Makefile d8191d48ab * also delete ppcjvm in the execlean target vor 14 Jahren
Makefile.fpc d8191d48ab * also delete ppcjvm in the execlean target vor 14 Jahren
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
aasmbase.pas c97869bd89 * merge user sections support branch vor 14 Jahren
aasmdata.pas 1470d91ba1 * Optimized pooling of floating point and large set constants using hash tables. vor 14 Jahren
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files vor 18 Jahren
aasmtai.pas e20919f065 + support for writing JVM line number information vor 14 Jahren
aggas.pas 2eb39c8843 * patch by Jeppe Johansen to support jumptable generation for case nodes on arm/thumb-2, resolves #19502 vor 14 Jahren
agjasmin.pas 7eef5e1c74 * don't mark compiler-generated routines as "synthetic", because that vor 14 Jahren
aopt.pas 666b4e2469 * fixed range errors in label bookkeeping that caused too much memory to be vor 15 Jahren
aoptbase.pas f97730f73f * use labelCanBeSkipped as used by i386 in generic optimizer code too vor 16 Jahren
aoptcs.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis vor 16 Jahren
aoptobj.pas 4be36c4b2b * fixed a number of missing label reference removals when deleting vor 14 Jahren
asmutils.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): vor 15 Jahren
assemble.pas 3eaf8df446 * Don't use hardcoded value for maxoutputlists vor 14 Jahren
browcol.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed vor 15 Jahren
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build vor 25 Jahren
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because vor 16 Jahren
ccharset.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cclasses.pas 7173b9dfed * fixed (harmless) range check errors vor 14 Jahren
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems vor 15 Jahren
cfileutl.pas 74d684878d * factored searching the exe directories from FindExe() into vor 14 Jahren
cg64f32.pas 9bc15a5f61 * renamed a_param_* to a_load_*_cgpara vor 15 Jahren
cgbase.pas fcd3872d88 + introduction of tcgint vor 14 Jahren
cgobj.pas 77f2d6cc0d * introduce usage of TCGInt in the code generator units vor 14 Jahren
cgutils.pas 2a6caa539c + support for constant array indices in treference for the JVM target vor 14 Jahren
cmsgs.pas d09389ac79 Implement support for $WARN XXX ON/OFF/ERROR vor 14 Jahren
comphook.pas 562961fd42 * catch EOSError, EIOError and IOutOfMemory exceptions inside the compiler vor 14 Jahren
compiler.pas 562961fd42 * catch EOSError, EIOError and IOutOfMemory exceptions inside the compiler vor 14 Jahren
compinnr.inc 8e7f39f176 * constant evaluation of ror/rol if they are internally handled, resolves #6300 vor 14 Jahren
comprsrc.pas ec8c7b4888 + when compiling for Darwin/ARM, pass the subarchitecture to the linker. vor 14 Jahren
constexp.pas 2f7a57fcab * Use extended for bestreal type if GENERIC_CPU is defined vor 14 Jahren
cp1251.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp437.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp850.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp866.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp8859_1.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
cp8859_5.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from vor 17 Jahren
crefs.pas 851b00f8e9 * more properties fixed vor 16 Jahren
cresstr.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): vor 15 Jahren
cstreams.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 vor 14 Jahren
cutils.pas 0700e2d7ef + support for {$namespace x.y.z} directive to specify the namespace vor 14 Jahren
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released vor 14 Jahren
dbgbase.pas 915c412ae3 compiler: generate debug info for record methods: vor 14 Jahren
dbgdwarf.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
dbgstabs.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
defcmp.pas 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
defutil.pas 88df6573a0 * moved de2regtyp() from defutil to hlcgobj, so it can be overridden vor 14 Jahren
export.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
expunix.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
finput.pas d21bbc4548 compiler: reduce amount of hints and warnings vor 14 Jahren
fmodule.pas 0700e2d7ef + support for {$namespace x.y.z} directive to specify the namespace vor 14 Jahren
fpccrc.pas 793fd8fc09 * Add -Xg to help pages vor 17 Jahren
fpcdefs.inc dc8df7fe79 * define cpu32bit for the JVM target (used by psystem to initialise vor 14 Jahren
fppu.pas 0700e2d7ef + support for {$namespace x.y.z} directive to specify the namespace vor 14 Jahren
gendef.pas caf0096877 * enabled version and description directive for all windows vor 16 Jahren
globals.pas f67919e9f5 + odt_javaclass, odt_interfacejava objectdef types vor 14 Jahren
globtype.pas 7200245337 + cs_unicodestrings global switch to indicate that the default string type vor 14 Jahren
hlcg2ll.pas f57e9778d4 * migrated gen_initialize_code and gen_finalize_code from ncgutil to vor 14 Jahren
hlcgobj.pas f57e9778d4 * migrated gen_initialize_code and gen_finalize_code from ncgutil to vor 14 Jahren
htypechk.pas d79160a6af * correctly handle explicit typecasts between records and jlobject/ vor 14 Jahren
impdef.pas f1067607b6 + workaround for non-working dircache on morphos/amiga vor 18 Jahren
import.pas bf1c390027 * refactor import library generation vor 19 Jahren
jvmdef.pas 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
link.pas bcb2bb9e5b Add removal of braces for parameters in linker script vor 14 Jahren
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by vor 14 Jahren
machoutils.pas 28cd8271c9 * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev vor 15 Jahren
msgidx.inc 009a30d8cf * reworked saving/restoring the scanner state (immediately replace scanner vor 14 Jahren
msgtxt.inc 009a30d8cf * reworked saving/restoring the scanner state (immediately replace scanner vor 14 Jahren
nadd.pas 7200245337 + cs_unicodestrings global switch to indicate that the default string type vor 14 Jahren
nbas.pas a2a6b2fd1d + "reference" temps that sort of implement pointer-style functionality for vor 14 Jahren
ncal.pas 96b0ee0827 * added more options to format the result of tprocdef.fullprocname() via vor 14 Jahren
ncgadd.pas d3a4866cf5 * reorder processing of left/right for add nodes somewhat to make vor 14 Jahren
ncgbas.pas a2a6b2fd1d + "reference" temps that sort of implement pointer-style functionality for vor 14 Jahren
ncgcal.pas 5abf6d0aa4 + thlcgobj support of the managed open array initialization fixes of vor 14 Jahren
ncgcnv.pas 0e87627218 + gethltemp() to allocate a temp specifying full type information even vor 14 Jahren
ncgcon.pas 3dba3a0219 * Float constants must be pooled using their the actual type, not the mapped type of assembler instruction. Otherwise e.g. extended may be mixed up with cextended, because both are mapped to ait_real_80bit. vor 14 Jahren
ncgflw.pas 0a3a62811b + try/except and try/finally support for JVM target: vor 14 Jahren
ncginl.pas 761ff19c7f * initialise local dynamic array variables to empty arrays rather than vor 14 Jahren
ncgld.pas bf21cd7a15 + support for (non-variant) arrayconstructornodes for the JVM target vor 14 Jahren
ncgmat.pas 8d960cb608 + implementation of shifting operations for avr vor 14 Jahren
ncgmem.pas 40e0b4677a + support for (only named, for now) records in the JVM target: vor 14 Jahren
ncgobjc.pas b084d70ae4 compiler: cleanup - remove unused variables vor 15 Jahren
ncgopt.pas 0e87627218 + gethltemp() to allocate a temp specifying full type information even vor 14 Jahren
ncgrtti.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
ncgset.pas b023627f6a * converted tcgcasenode.pass_generate_code() to hlcgobj vor 14 Jahren
ncgutil.pas c264c24fb0 + support for unit initialisation sections for the JVM target, vor 14 Jahren
ncnv.pas d79160a6af * correctly handle explicit typecasts between records and jlobject/ vor 14 Jahren
ncon.pas 7200245337 + cs_unicodestrings global switch to indicate that the default string type vor 14 Jahren
nflw.pas 0a3a62811b + try/except and try/finally support for JVM target: vor 14 Jahren
ngenutil.pas c264c24fb0 + support for unit initialisation sections for the JVM target, vor 14 Jahren
ninl.pas 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
nld.pas 14e4f3459c + systems_garbage_collected_managed_types set in systems.pas vor 14 Jahren
nmat.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 vor 14 Jahren
nmem.pas fde622e050 * generate a loadvmtaddrnode wrapper around Java objectdef typenode arguments vor 14 Jahren
nobj.pas d6a56cfda6 * change the realname of procsyms belonging to overriding methods to vor 14 Jahren
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code vor 15 Jahren
node.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change vor 14 Jahren
nopt.pas 6b8aed593f * remove registers{int/mmx/fpu} from firstpass vor 18 Jahren
nset.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 vor 14 Jahren
nstate.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
nutils.pas ab5b1fb686 * turned call_fail_node, initialize_data_node, and finalize_data_node from vor 14 Jahren
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). vor 14 Jahren
objcgutl.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
objcutil.pas cec5843f95 * renamed objcdef.addencodedtype to objcaddencodedtype for consistency vor 14 Jahren
ogbase.pas c9f92c0323 * Excluded oso_executable from attributes of user sections. User sections may currently be specified only for variables and typed consts, which are not executable. vor 14 Jahren
ogcoff.pas 392dafd175 * Another attempt to align section raw data size in COFF headers. Without this, image modification WinAPIs like BeginUpdateResource/EndUpdateResource typically corrupt the image. Resolves #16852 (at least partially). vor 14 Jahren
ogelf.pas e3050439a8 * Reverted r17556 and replaced it with more generic handling of 'rela'-styled relocations. Resolves #19416. vor 14 Jahren
oglx.pas 658c46b903 * remove tdictionary and tindexarray vor 19 Jahren
ogmacho.pas f328b6d635 + user section type vor 14 Jahren
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. vor 17 Jahren
ognlm.pas 311d99b416 Avoid line > 255 chars and range check error on THandle type vor 14 Jahren
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse vor 15 Jahren
optcse.pas ffbf1a7331 * Avoid pointer typecast warning vor 14 Jahren
optdead.pas 1597aac6d2 * first search for gnm and only then for nm vor 16 Jahren
optdfa.pas 9955e6b2bf * dfa fixes by Sergei Gorelkin, resolve #15402 vor 15 Jahren
options.pas 9022370bde + basic defines for jvm target (CPUJVM, ...) vor 14 Jahren
optloop.pas 092153e7ad * handle unrolling of for ... downto ... correctly, resolves #15668 vor 15 Jahren
opttail.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops vor 17 Jahren
optvirt.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
owar.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 vor 14 Jahren
owbase.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 vor 14 Jahren
parabase.pas db203431b2 + hlcgobj: high level code generator class. It has basically the same vor 14 Jahren
paramgr.pas 2c313e397e + support for regular arrays and open arrays vor 14 Jahren
parser.pas d09389ac79 Implement support for $WARN XXX ON/OFF/ERROR vor 14 Jahren
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef vor 15 Jahren
pass_2.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change vor 14 Jahren
pbase.pas 7200245337 + cs_unicodestrings global switch to indicate that the default string type vor 14 Jahren
pdecl.pas c264c24fb0 + support for unit initialisation sections for the JVM target, vor 14 Jahren
pdecobj.pas 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
pdecsub.pas 921b54f9fb * properly handle virtual/override for Java classes, instead of semi-forcing vor 14 Jahren
pdecvar.pas e663f0f31f + support for class constructors for the JVM target vor 14 Jahren
pexports.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
pexpr.pas 40e0b4677a + support for (only named, for now) records in the JVM target: vor 14 Jahren
pinline.pas 00c095fa70 * moved setlength() handling from pinline to ninl so it can be overridden vor 14 Jahren
pjvm.pas e663f0f31f + support for class constructors for the JVM target vor 14 Jahren
pmodules.pas c264c24fb0 + support for unit initialisation sections for the JVM target, vor 14 Jahren
pp.lpi e2f21c0a56 * version update vor 14 Jahren
pp.pas dc8df7fe79 * define cpu32bit for the JVM target (used by psystem to initialise vor 14 Jahren
ppc.cfg 9465a13e71 + Delphi 6 configuration file vor 23 Jahren
ppc.conf add30a428e * Kylix fixes, mostly case names of units vor 24 Jahren
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation vor 23 Jahren
ppc68k.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcarm.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcavr.lpi 7b9276ae8a + implementation of avr rtl helpers vor 14 Jahren
ppcmipsel.lpi 4fd2aa297a Adds mipsel lazarus project vor 15 Jahren
ppcppc.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppcsparc.lpi ab217ca748 * lpi version increased vor 16 Jahren
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) vor 19 Jahren
ppu.pas 1e2c70796e + jvm (cpu architecure) and java ("OS"/target) identifiers vor 14 Jahren
ppx86_64.lpi ab217ca748 * lpi version increased vor 16 Jahren
procinfo.pas eb5814a868 * implemented declaring and calling constructors for Java classes vor 14 Jahren
pstatmnt.pas 0a3a62811b + try/except and try/finally support for JVM target: vor 14 Jahren
psub.pas 00df370d36 * don't give an internalerror when adding a constructor to a Java vor 14 Jahren
psystem.pas fc7725efba + systems_managed_vm set of targets that run inside a managed vm vor 14 Jahren
ptconst.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
ptype.pas 40e0b4677a + support for (only named, for now) records in the JVM target: vor 14 Jahren
raatt.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist vor 19 Jahren
rautils.pas 28740dce2d - removed extra "fordefinition" parameter again from tprocdef.mangledname(), vor 14 Jahren
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: vor 14 Jahren
rescmn.pas 174de3eab1 Merged revisions 9693-10480 via svnmerge from vor 17 Jahren
rgbase.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
rgobj.pas 00cb8f5725 * made maxregs related information protected instead of private in trgobj, vor 14 Jahren
scandir.pas 0700e2d7ef + support for {$namespace x.y.z} directive to specify the namespace vor 14 Jahren
scanner.pas 019ca93a04 * symcreat functionality to use the parser from inside the compiler for vor 14 Jahren
script.pas 446e2161ce + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. vor 16 Jahren
switches.pas d707d38ea1 * Fix double WARN infinite loop vor 14 Jahren
symbase.pas f7f357f18e * symconst.pas: vor 14 Jahren
symconst.pas 40e0b4677a + support for (only named, for now) records in the JVM target: vor 14 Jahren
symcreat.pas e663f0f31f + support for class constructors for the JVM target vor 14 Jahren
symdef.pas 91855becfe + unicodestring support for the JVM target (except for multiple adds vor 14 Jahren
symnot.pas 790a4fe2d3 * log and id tags removed vor 20 Jahren
symsym.pas 40e0b4677a + support for (only named, for now) records in the JVM target: vor 14 Jahren
symtable.pas d79160a6af * correctly handle explicit typecasts between records and jlobject/ vor 14 Jahren
symtype.pas 79a96ab287 + ttypesym.prettyname vor 14 Jahren
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). vor 18 Jahren
systems.inc d456ec2ffe + support for JVM local variable and parameter debug information vor 14 Jahren
systems.pas fc7725efba + systems_managed_vm set of targets that run inside a managed vm vor 14 Jahren
tgobj.pas 2c313e397e + support for regular arrays and open arrays vor 14 Jahren
tokens.pas 20c577103f + list of keywords that are reserved in Java and the JVM, for future vor 14 Jahren
verbose.pas d09389ac79 Implement support for $WARN XXX ON/OFF/ERROR vor 14 Jahren
version.pas 043e9b2ec2 * Trunk version to 2.7.1 vor 14 Jahren
widestr.pas 45d25bbe77 * fixed storing/loading widestring constant nodes into/from ppu files vor 15 Jahren
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 vor 16 Jahren
wpobase.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated vor 15 Jahren
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used vor 15 Jahren

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