pierre 5fa93e2a1e ------------------------------------------------------------------------ před 6 roky
..
aarch64 fc9e9e804a --- Merging r40512 into '.': před 6 roky
arm 92cd9502ef Merge of revisions 40277 před 6 roky
avr d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. před 10 roky
html fa0d3d79e0 no message před 23 roky
i386 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
i8086 d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
jvm fc9e9e804a --- Merging r40512 into '.': před 6 roky
llvm fc9e9e804a --- Merging r40512 into '.': před 6 roky
m68k 92cd9502ef Merge of revisions 40277 před 6 roky
mips 36f9ce1cb2 Merge of trunk commits 39983,39986,40109 před 6 roky
msg 2b01261f36 --- Recording mergeinfo for merge of r39673 into '.': před 6 roky
powerpc 70b6244a29 Partial merge of commit #39990 před 6 roky
powerpc64 36f9ce1cb2 Merge of trunk commits 39983,39986,40109 před 6 roky
ppcgen ada8891d9e Also allow clang assembler for powerpc64-darwin target před 7 roky
sparc 9c3f5db022 * split create_paraloc_info_intern for sparc32 and sparc64 před 8 roky
sparc64 4686f61002 * keep track of the temp position separately from the offset in references, před 7 roky
sparcgen 1fafc17016 Merge of revisions 39731 39825 39849 39912 39913 39914 39924 39935 39999 40000 40001 40026 40115 40132 40163 from trunk to fixes_3_2 před 6 roky
systems dee94698c6 ------------------------------------------------------------------------ před 6 roky
utils cdfefa381e * Merge 40833 (without the riscvXX part) před 6 roky
x86 d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
x86_64 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) před 9 roky
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests před 19 roky
Makefile 92cd9502ef Merge of revisions 40277 před 6 roky
Makefile.fpc 92cd9502ef Merge of revisions 40277 před 6 roky
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
aasmbase.pas 29558a74cd + support exporting labels from asm blocks in intel syntax asm blocks via the před 7 roky
aasmcnst.pas edf32cd5dc The Important Ones: před 6 roky
aasmdata.pas edf32cd5dc The Important Ones: před 6 roky
aasmdef.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) před 8 roky
aasmsym.pas a25ebbba3e + added volatility information to all memory references před 8 roky
aasmtai.pas 4f5f3c4a09 + support for vmov.xx vreg,#imm on arm před 7 roky
aggas.pas ac127ac10a palmos: no .rodata section here either před 7 roky
aopt.pas b1dff29cbf * removed unused units před 8 roky
aoptbase.pas 7f286eb54e + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) před 8 roky
aoptda.pas b1dff29cbf * removed unused units před 8 roky
aoptobj.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType před 8 roky
assemble.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
blockutl.pas b1dff29cbf * removed unused units před 8 roky
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser před 11 roky
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because před 16 roky
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 před 12 roky
cclasses.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems před 15 roky
cfileutl.pas 5fa93e2a1e ------------------------------------------------------------------------ před 6 roky
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will před 8 roky
cgbase.pas 31f78ea2b6 + implementation of the vectorcall calling convention by J. Gareth Moreton před 7 roky
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 před 10 roky
cgobj.pas d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated před 7 roky
cgutils.pas 4686f61002 * keep track of the temp position separately from the offset in references, před 7 roky
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled před 8 roky
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 před 10 roky
compiler.pas 576a50f690 * print used unit scopes před 7 roky
compinnr.pas fdc896ad0a + inline support for the x86 'in' and 'out' instructions. Currently only enabled před 7 roky
comprsrc.pas e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin před 7 roky
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option před 9 roky
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: před 14 roky
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables před 11 roky
cresstr.pas b1dff29cbf * removed unused units před 8 roky
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc před 7 roky
cstreams.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
cutils.pas ea32ddd5b2 * avoid overflows of execution weight před 7 roky
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released před 14 roky
dbgbase.pas ecda183153 * revert r37968: it does more harm than good před 7 roky
dbgcodeview.pas 600b460ecd + added new debug output option -godwarfomflinnum for generating line number před 7 roky
dbgdwarf.pas 3331a30501 ds_dwarf_cpp improvements. před 6 roky
dbgstabs.pas 6a2cb0bbbd * more compilation fixes před 7 roky
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): před 9 roky
defcmp.pas 1f9d518c57 * support for non-ASCII widechar constants (mantis #31605) před 7 roky
defutil.pas 8c5606b41d + support mmx shifting před 7 roky
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes před 8 roky
elfbase.pas b34ab6b279 * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they před 7 roky
entfile.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
export.pas b1dff29cbf * removed unused units před 8 roky
expunix.pas b1dff29cbf * removed unused units před 8 roky
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target před 10 roky
fmodule.pas b1dff29cbf * removed unused units před 8 roky
fpccrc.pas 793fd8fc09 * Add -Xg to help pages před 17 roky
fpcdefs.inc 5fa93e2a1e ------------------------------------------------------------------------ před 6 roky
fpcp.pas b1dff29cbf * removed unused units před 8 roky
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: před 9 roky
fppu.pas 083781bf0c * keep track if the unit was found by using a default namespace as prefix před 7 roky
gendef.pas f281ee339e Add obsolete prefix to cpu_ia64, system_ia64_win64 and system_ia64_embedded, ia64 specfic code has been removed in rev 30836 dated 2015-05-09 před 8 roky
globals.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
globstat.pas 88af293155 Fix for Mantis #22160 před 13 roky
globtype.pas 875af11d02 Merge of commits 39916, 39925 and 39963 před 6 roky
hlcg2ll.pas 31f78ea2b6 + implementation of the vectorcall calling convention by J. Gareth Moreton před 7 roky
hlcgobj.pas d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated před 7 roky
htypechk.pas 97acf24290 + add a new modeswitch ArrayOperators which is set by default in Delphi modes that enables the internal array operators (currently only "+") před 7 roky
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. před 11 roky
import.pas b1dff29cbf * removed unused units před 8 roky
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). před 13 roky
link.pas 7e630686e0 * do not use a wildcard while deleting smartlinked objects after linking stage in a script, conflicts with script filename quoting on Unix at least před 7 roky
macho.pas e243cc77ea macho.pas: před 9 roky
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 před 14 roky
msgidx.inc 2b01261f36 --- Recording mergeinfo for merge of r39673 into '.': před 6 roky
msgtxt.inc 2b01261f36 --- Recording mergeinfo for merge of r39673 into '.': před 6 roky
nadd.pas 1fafc17016 Merge of revisions 39731 39825 39849 39912 39913 39914 39924 39935 39999 40000 40001 40026 40115 40132 40163 from trunk to fixes_3_2 před 6 roky
nbas.pas 338873d7a7 --- Merging r39785 into '.': před 6 roky
ncal.pas 0ad0cefeb3 --- Merging r40202 into '.': před 6 roky
ncgadd.pas b1dff29cbf * removed unused units před 8 roky
ncgbas.pas 4686f61002 * keep track of the temp position separately from the offset in references, před 7 roky
ncgcal.pas d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated před 7 roky
ncgcnv.pas 4686f61002 * keep track of the temp position separately from the offset in references, před 7 roky
ncgcon.pas b1dff29cbf * removed unused units před 8 roky
ncgflw.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false před 10 roky
ncginl.pas bbbaa39d79 ncginl: another approach to fix the same issue #39184 supposed to address. keep left.resultdef, but try to make the target def always ordinal of an equal size, so it ends up in a data register on m68k před 7 roky
ncgld.pas 0dd9e4d6a5 Fixes for aarch64. před 6 roky
ncgmat.pas 8c5606b41d + support mmx shifting před 7 roky
ncgmem.pas 92cd9502ef Merge of revisions 40277 před 6 roky
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm před 8 roky
ncgnstld.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) před 7 roky
ncgnstmm.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) před 7 roky
ncgobjc.pas b1dff29cbf * removed unused units před 8 roky
ncgopt.pas b1dff29cbf * removed unused units před 8 roky
ncgrtti.pas f42dffb36d --- Merging r39877 into '.': před 6 roky
ncgset.pas 92cd9502ef Merge of revisions 40277 před 6 roky
ncgutil.pas 0dd9e4d6a5 Fixes for aarch64. před 6 roky
ncgvmt.pas edf32cd5dc The Important Ones: před 6 roky
ncnv.pas fc9e9e804a --- Merging r40512 into '.': před 6 roky
ncon.pas fc9e9e804a --- Merging r40512 into '.': před 6 roky
nflw.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
ngenutil.pas cb7730a423 * fixed execution order of implicit finalization and class destructors: first před 7 roky
ngtcon.pas 92cd9502ef Merge of revisions 40277 před 6 roky
ninl.pas fc9e9e804a --- Merging r40512 into '.': před 6 roky
nld.pas f42dffb36d --- Merging r39877 into '.': před 6 roky
nmat.pas 96e92527e9 * constant folding of not must check if the deftype is really an orddef, resolves #33696 před 7 roky
nmem.pas 93c5eae528 * accept dereferences in generics definitions, resolves #33700 properly před 7 roky
nobj.pas b1dff29cbf * removed unused units před 8 roky
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
node.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) před 7 roky
nopt.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) před 7 roky
nset.pas 9b45f58c0b + add flags that allow checking for overloads with isbinaryoverloaded() and isunaryoverloaded() without modifying the passed in node or even checking for normally non-overloadable operators před 7 roky
nutils.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for před 9 roky
objcdef.pas b1dff29cbf * removed unused units před 8 roky
objcgutl.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
objcutil.pas b1dff29cbf * removed unused units před 8 roky
ogbase.pas 5782acc32d * patch by J. Gareth Moreton to fix 33909 před 7 roky
ogcoff.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the před 7 roky
ogelf.pas b34ab6b279 * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they před 7 roky
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using před 10 roky
ogmacho.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the před 7 roky
ogmap.pas b1dff29cbf * removed unused units před 8 roky
ognlm.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the před 7 roky
ogomf.pas 27c618b4c4 * Merged r40720 před 6 roky
omfbase.pas 6205e530aa Merge commits 39912, 39914, 40001, 40115, 40132 and 40163 před 6 roky
optbase.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
optconstprop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
optcse.pas 1497b64804 * the temp. locations created by cse were not properly cleanup up, this patch fixes this před 7 roky
optdead.pas b1dff29cbf * removed unused units před 8 roky
optdeadstore.pas b1dff29cbf * removed unused units před 8 roky
optdfa.pas 0ad0cefeb3 --- Merging r40202 into '.': před 6 roky
options.pas 9e0530caa8 Group merge of changes to fpmake.pp for pacakges and utils před 6 roky
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version před 8 roky
optloop.pas 21d785e41b * do not unroll loops if the counter variable is accessed outside the current scope před 7 roky
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: před 11 roky
optutils.pas 9ca0c1c5dc Fix compilation error after last commit před 6 roky
optvirt.pas b1dff29cbf * removed unused units před 8 roky
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using před 10 roky
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros před 10 roky
owomflib.pas 6205e530aa Merge commits 39912, 39914, 40001, 40115, 40132 and 40163 před 6 roky
parabase.pas d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated před 7 roky
paramgr.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
parser.pas e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin před 7 roky
pass_1.pas b1dff29cbf * removed unused units před 8 roky
pass_2.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
pbase.pas 8bc0b604db * a symbol might be specified using a partial namespace path as long as the missing part is a namespace symbol, před 7 roky
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: před 9 roky
pdecl.pas 6574f0974a --- Merging r40284 into '.': před 6 roky
pdecobj.pas c3ca96279a + add support for threadvars inside classes před 7 roky
pdecsub.pas 2b01261f36 --- Recording mergeinfo for merge of r39673 into '.': před 6 roky
pdecvar.pas 6574f0974a --- Merging r40284 into '.': před 6 roky
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: před 9 roky
pexpr.pas 338873d7a7 --- Merging r39785 into '.': před 6 roky
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. před 9 roky
pgenutil.pas 598ac21791 * if the generic dummy symbol is a procsym (with procdefs added) then this is the symbol that should be resolved to před 7 roky
pinline.pas f6a867ef04 * move handling of Concat to tinlinenode so that it can be easily extended for dynamic arrays před 7 roky
pkgutil.pas 9eb5f07538 * check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?) před 7 roky
pmodules.pas dd52e79089 * two comment spelling fixes. Mantis #34092 & #34097 před 7 roky
pp.lpi ed984e0c76 - removed missing file from project před 8 roky
pp.pas 9fb2652433 List possible CPU in alphabetical order před 8 roky
pparautl.pas f3391f81a5 + introduce a new method tparamanager.asm_result_var(), which determines whether před 7 roky
ppc68k.lpi 9ebf2aa984 * project file updates před 13 roky
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
ppcaarch64.lpi 6e56f5c191 * fixed exe output path před 9 roky
ppcarm.lpi 2e3a12c69d * version update před 7 roky
ppcavr.lpi b9d4240a8d + version update před 7 roky
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named před 12 roky
ppcmips.lpi 9ebf2aa984 * project file updates před 13 roky
ppcmipsel.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc64.lpi 9ebf2aa984 * project file updates před 13 roky
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.) před 8 roky
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.) před 8 roky
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic před 7 roky
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic před 7 roky
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed před 9 roky
ppu.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
procinfo.pas b1dff29cbf * removed unused units před 8 roky
pstatmnt.pas e7f29e9e28 * also pass the pattern with which the potential unit/namespace symbol had been found to try_consume_unitsym*() před 7 roky
psub.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
psystem.pas 6d5ce55232 * unified def creation for open arrays před 7 roky
ptconst.pas b1dff29cbf * removed unused units před 8 roky
ptype.pas a2b58b842b + add support for threadvars in records před 7 roky
raatt.pas 3ca6034523 * inserted type casts on opr.val again, but depending on the type of opr.val, avoids range check errors před 7 roky
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from před 19 roky
rasm.pas 46fe2d486c * forgotten comment před 7 roky
rautils.pas d1fc31de94 + add support for '[' and ']' parenthesis in addition to '(' and ')' in před 7 roky
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 před 12 roky
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters před 8 roky
rgobj.pas ea32ddd5b2 * avoid overflows of execution weight před 7 roky
scandir.pas 0c6cf12fbf + support for the directive $EXCESSPRECISION před 7 roky
scanner.pas a38e9ff12e * if an include file name ends in dot, and the file is not found, also search před 7 roky
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop před 7 roky
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started před 10 roky
symconst.pas 0dd9e4d6a5 Fixes for aarch64. před 6 roky
symcreat.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) před 7 roky
symdef.pas d8b0ded10c Marge of more trunk fixes into fixes branch. před 6 roky
symsym.pas 23b9dde397 Merge of commits 40142, 40189 and 40347 před 6 roky
symtable.pas 2b01261f36 --- Recording mergeinfo for merge of r39673 into '.': před 6 roky
symtype.pas 61bde67082 + add method has_non_trivial_init_child() to tdef which provides access to the symtable's před 7 roky
symutil.pas b1dff29cbf * removed unused units před 8 roky
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall před 8 roky
systems.inc 0654857ce1 Merged aarch64-android, x86_64-android targets and fixes for the Android target. před 6 roky
systems.pas 0654857ce1 Merged aarch64-android, x86_64-android targets and fixes for the Android target. před 6 roky
tgobj.pas 875af11d02 Merge of commits 39916, 39925 and 39963 před 6 roky
tokens.pas 31f78ea2b6 + implementation of the vectorcall calling convention by J. Gareth Moreton před 7 roky
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled před 8 roky
version.pas bceb71bf9f * version to 3.2.0-beta před 7 roky
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 před 9 roky
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 před 16 roky
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation před 8 roky
wpoinfo.pas b1dff29cbf * removed unused units před 8 roky

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