Jonas Maebe e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
..
aarch64 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
arm 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
avr 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. преди 10 години
html fa0d3d79e0 no message преди 23 години
i386 3c6aa91a96 * factored out the loading of threadvars in its own method, and put the преди 10 години
i8086 3c6aa91a96 * factored out the loading of threadvars in its own method, and put the преди 10 години
jvm b12bedb9f8 - disabled InsertResStrTablesTable and InsertResStrInits for the JVM target преди 10 години
llvm 75012405fa * add some llvm function flags преди 10 години
m68k 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
mips 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
msg e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
powerpc 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
powerpc64 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. преди 10 години
ppcgen 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
sparc 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
systems e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
utils faf4a9cb38 * moved the generation of the "main" stub for libc-based platforms from преди 10 години
x86 06fc6ac491 * fixed threadvar support on linux/i386 and android/i386 after r31639 преди 10 години
x86_64 e542800ea9 * Win64 SEH: Track control flow out of unwind-protected regions in a more precise way and don't generate expensive calls to __fpc_local_unwind when not necessary. преди 10 години
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) преди 12 години
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests преди 19 години
Makefile 2e3cb70489 * regenerated makefiles after adding the win16 target преди 10 години
Makefile.fpc 2e3cb70489 * regenerated makefiles after adding the win16 target преди 10 години
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files преди 16 години
aasmbase.pas be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels преди 10 години
aasmcnst.pas f7948ff25f * removed outdated comment преди 10 години
aasmdata.pas 6dd06a1aae * put the code for pure assembler routines in a separate asmlist, so преди 10 години
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files преди 18 години
aasmtai.pas c3a7d76c68 * ait_jcatch should not be skipped by optimizers, as it does result in преди 10 години
aggas.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
aopt.pas 1b43930749 - removed long deprecated/buggy assembler cse optimiser for i386 преди 10 години
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors преди 11 години
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg преди 13 години
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis преди 16 години
aoptobj.pas 8c8657e2d5 * base optimiser support for the JVM target преди 10 години
assemble.pas 839482751d * when generating code for a pure assembler routine with LLVM, instantiate преди 10 години
blockutl.pas d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered преди 10 години
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser преди 11 години
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because преди 16 години
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 години
cclasses.pas 94bcb9878a * reimplemented r28329 in a different way, as suggested by Jonas преди 11 години
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems преди 15 години
cfileutl.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 преди 10 години
cg64f32.pas 6c19c18bc9 + support 8 locations in splitparaloc64 преди 10 години
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code преди 10 години
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
cgobj.pas 3f736f6114 * handle the loading of VMT entries at the node level, so it's done in a преди 10 години
cgutils.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
cmsgs.pas aba10cd184 compiler: преди 13 години
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 години
compiler.pas b18ba8e85b * syncrhonised with trunk up till r28471 преди 11 години
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time преди 10 години
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support преди 10 години
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror преди 11 години
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: преди 14 години
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables преди 11 години
cresstr.pas 419a97cce8 * changed emit_ansistring_const() and emit_unicodestring_const() into преди 10 години
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables преди 11 години
cutils.pas 949210e808 + added min and max functions for Tconstexprint преди 12 години
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released преди 14 години
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types преди 11 години
dbgdwarf.pas add015f808 * ensure that the dwarf file table contains an entry if the current unit преди 10 години
dbgstabs.pas 64dafdb1de * stabn writing code simplified преди 11 години
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs преди 11 години
defcmp.pas 8fbd57080b defcmp.pas, compare_paras: преди 10 години
defutil.pas 75a6ba4113 - removed symcpu dependencies преди 10 години
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables преди 11 години
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. преди 12 години
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works преди 16 години
expunix.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
finput.pas 00d41dc9fa * return false, if tdosinputfile.fileopen cannot open a file for reading преди 10 години
fmodule.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method преди 10 години
fpccrc.pas 793fd8fc09 * Add -Xg to help pages преди 17 години
fpcdefs.inc 3f9f498e0d - removed leftover alpha, ia64 and vis code преди 10 години
fppu.pas 35d550c9c6 + commented directive for easier enabling преди 10 години
gendef.pas aee5380ae0 * merged trunk up to r20882 преди 13 години
globals.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code преди 10 години
globstat.pas 88af293155 Fix for Mantis #22160 преди 13 години
globtype.pas e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
hlcg2ll.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
hlcgobj.pas faf4a9cb38 * moved the generation of the "main" stub for libc-based platforms from преди 10 години
htypechk.pas c27807ee63 * resolve formal/anonymous external classes before comparing parameters to преди 10 години
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 години
import.pas bf1c390027 * refactor import library generation преди 19 години
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). преди 13 години
link.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using преди 10 години
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by преди 14 години
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 преди 14 години
msgidx.inc e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
msgtxt.inc e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
nadd.pas fbacf9682f * rename WinCE softfp compilerproc names to lowercase, needed since r31404 преди 10 години
nbas.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations преди 10 години
ncal.pas 4d0c42ee23 - removed double calling of handlemanagedbyrefpara() for managed targets, преди 10 години
ncgadd.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgbas.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
ncgcal.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgcnv.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgcon.pas 36e5291d94 * converted tcgguidconstnode.pass_generate_code to use the high level typed преди 10 години
ncgflw.pas e542800ea9 * Win64 SEH: Track control flow out of unwind-protected regions in a more precise way and don't generate expensive calls to __fpc_local_unwind when not necessary. преди 10 години
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncginl.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
ncgld.pas c7ecf84fc0 * fixed compilation of threadvars in i8086 far data memory models преди 10 години
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats преди 10 години
ncgmem.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref преди 13 години
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested преди 14 години
ncgobjc.pas 4cf5e36ce7 compiler: преди 14 години
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables преди 11 години
ncgrtti.pas be2ec5be59 * write full/init rtti and VMTs separately instead of at the same time преди 10 години
ncgset.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgutil.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
ncgvmt.pas c7a418829b * support for implementing interface method wrappers at the node tree преди 10 години
ncnv.pas fbacf9682f * rename WinCE softfp compilerproc names to lowercase, needed since r31404 преди 10 години
ncon.pas 495b7181a8 + write the value of a pointer constant node in printnodedata преди 10 години
nflw.pas 65c37df999 + extend tprocdef with the possiblity to create it as unregistered преди 10 години
ngenutil.pas 381270bf30 * changed the threadvars table count back from преди 10 години
ngtcon.pas e93660c170 - removed ttai_lowleveltypedconstbuilder.queue_addrn(), as we are always преди 10 години
ninl.pas f00a55ae08 + tinlinenode.createintern преди 10 години
nld.pas 63f828d54e * take care of nf_internal when doing range checking and inserting type conversions in tassignmentnode.pass_typecheck преди 10 години
nmat.pas fbacf9682f * rename WinCE softfp compilerproc names to lowercase, needed since r31404 преди 10 години
nmem.pas 049491a573 + fold the constructs @<record type>(nil^).<field >) and @<record point>(nil)^.<field> used to get the offset of a field into a constant преди 10 години
nobj.pas 39016c032e Fix for Mantis #28442. Do not generate the VMT record definition for generic classes. It isn't used anyway. преди 10 години
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code преди 15 години
node.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations преди 10 години
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to преди 12 години
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after преди 10 години
nstate.pas 790a4fe2d3 * log and id tags removed преди 20 години
nutils.pas 27828d41e7 * extended nodes which return true from is_const преди 10 години
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) преди 11 години
objcgutl.pas 8c89f7ee8f * AArch64 also uses the non-fragile Objective-C ABI преди 10 години
objcutil.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method преди 10 години
ogbase.pas 1487236f29 + support addr_fardataseg references in the internal asm writer преди 10 години
ogcoff.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
ogelf.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using преди 10 години
ogmacho.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a преди 10 години
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
ogomf.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so преди 10 години
omfbase.pas f14f4ff924 * use the 'FAR_DATA' segment class name instead of 'DATA' or 'BSS' in the huge преди 10 години
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables преди 11 години
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop преди 11 години
optcse.pas af2c7bf00f * don't perform CSE on typeconversion nodes inserted for absolute преди 10 години
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function преди 10 години
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores преди 11 години
optdfa.pas c0e66deaf2 * handle raise nodes in dfa on jvm, resolves #27416 преди 10 години
options.pas e06a759e20 - reverted r31664, it causes crashes with some ld versions :/ преди 10 години
optloop.pas f813703cf3 * fixes several issues with loop unrolling преди 10 години
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: преди 11 години
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining преди 11 години
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, преди 11 години
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using преди 10 години
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros преди 10 години
owomflib.pas 393d86a2e5 + implemented writing proper win16 dll import libraries преди 10 години
parabase.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): преди 11 години
paramgr.pas f40ea04540 * changed getarraydef() into a tarraydef.getreusable() class method преди 10 години
parser.pas 4b80bc958c + set the win16 local heap size in the executable преди 10 години
pass_1.pas 9fdd64e94c * indention and new line fixes преди 11 години
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 преди 10 години
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 години
pdecl.pas d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered преди 10 години
pdecobj.pas 84b9d9839c + extend tobjectdef with the possiblity to create it as unregistered преди 10 години
pdecsub.pas 6eef28fd03 pdecsub.pas, proc_add_definition: преди 10 години
pdecvar.pas 65c37df999 + extend tprocdef with the possiblity to create it as unregistered преди 10 години
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly преди 13 години
pexpr.pas 026d2be316 + support Mem[Seg:Ofs] for the win16 target as well преди 10 години
pgentype.pas eaab604f0c pgenutil.pas: преди 10 години
pgenutil.pas 00f776ef76 pgenutil.pas, parse_generic_specialization_types_internal: преди 10 години
pinline.pas dd967eb136 * handle records in iso mode properly if no tag-field is given преди 10 години
pmodules.pas faf4a9cb38 * moved the generation of the "main" stub for libc-based platforms from преди 10 години
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: преди 11 години
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code преди 10 години
pparautl.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method преди 10 години
ppc68k.lpi 9ebf2aa984 * project file updates преди 13 години
ppc8086.lpi 839ab714cc + started implementing a win16 target :) преди 10 години
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 преди 12 години
ppcarm.lpi 9ebf2aa984 * project file updates преди 13 години
ppcavr.lpi 9ebf2aa984 * project file updates преди 13 години
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named преди 12 години
ppcmips.lpi 9ebf2aa984 * project file updates преди 13 години
ppcmipsel.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc.lpi 9ebf2aa984 * project file updates преди 13 години
ppcppc64.lpi 9ebf2aa984 * project file updates преди 13 години
ppcsparc.lpi 9ebf2aa984 * project file updates преди 13 години
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) преди 13 години
ppu.pas ab0d445999 * fixed truncation errors for a*int/word in ppudump for architectures преди 10 години
ppx86_64.lpi e96dc4204e * version update преди 13 години
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false преди 10 години
pstatmnt.pas 9a55e8fa3c * do not call typecheckpass unncessarily in generic definitions, it might cause only errors, resolves #28058 преди 10 години
psub.pas 2205549316 * changed fix for webtbs/tw20075 so that we don't check the need for преди 10 години
psystem.pas d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered преди 10 години
ptconst.pas 67b8aceaee * synchronized with privatetrunk till r30095 преди 10 години
ptype.pas d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered преди 10 години
raatt.pas 8445381929 * merged ait_set and ait_thumb_set into a single tai class преди 10 години
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from преди 19 години
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. преди 11 години
rautils.pas e9c790f4eb + support 'SEG' in the i8086 inline assembler преди 10 години
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: преди 14 години
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 години
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] преди 12 години
rgobj.pas 199b1861d6 * fix wrong comparisons in trgobj.conservative to enable better coalescing, преди 10 години
scandir.pas 0d74e4f719 * changed paratargetdbg from a global variable into a field of toption преди 10 години
scanner.pas 267adf4e46 scanner.pas, tscanner: преди 10 години
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables преди 11 години
switches.pas 86b9a0eed1 + added the $F switch to the turbo and macSwitchTable, as that takes precedence преди 11 години
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started преди 10 години
symconst.pas faf4a9cb38 * moved the generation of the "main" stub for libc-based platforms from преди 10 години
symcreat.pas c7a418829b * support for implementing interface method wrappers at the node tree преди 10 години
symdef.pas 83ae160057 + get_threadvar_record() to get a recorddef representing a threadvar (index преди 10 години
symnot.pas 790a4fe2d3 * log and id tags removed преди 20 години
symsym.pas d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered преди 10 години
symtable.pas 5a50d05e50 * fixed skipping if intermediate fields in llvm shadow symtable преди 10 години
symtype.pas e34a16d1f1 * change rtti_mangledname resultdef into TSymStr преди 10 години
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). преди 18 години
systems.inc 839ab714cc + started implementing a win16 target :) преди 10 години
systems.pas bdfd23cc2e + new target switch "FarProcsPushOddBP", which causes the i8086 compiler to push преди 10 години
tgobj.pas a0a77f3105 * suppress (harmless) range error преди 10 години
tokens.pas 146e3bcb9e * synchronised with trunk till r29513 преди 10 години
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 години
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code преди 10 години
widestr.pas 6dd2fe0320 * converted widestr.charlength() to use system.Utf8CodePointLen() преди 10 години
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 години
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, преди 11 години
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because преди 11 години

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