pierre 6e18d537fc Use A_LD_R and A_ST_R aliases for spilling_create_(load|store) functions před 8 roky
..
aarch64 61af0fb72d * only take into account the location of the parameter at the callee side to před 8 roky
arm 09a8cafcd7 Restricted MlaCmp>Mlas optimization to only work in ARM mode. před 8 roky
avr a2e442e111 * keep the names of X, Y and Z in assembler files, fixes issue #32150 před 8 roky
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. před 10 roky
html fa0d3d79e0 no message před 23 roky
i386 22956c4393 + TX86AsmOptimizer.OptPass1OP před 8 roky
i8086 8b6563bef2 Generate error if stack size of a procedure/function is bigger than globally allocated stack size před 8 roky
jvm 7c9aeda656 * rework InsertInitFinalTable a bit more so that the list of init/fini entries does not need to be generated twice for AVR před 8 roky
llvm e4dbd24a49 + inline trunc() support for the LLVM backend when using -Oofastmath (because před 8 roky
m68k 358f8eb85d m68k: do not internalerror on localsize < 0. this condition is handled elsewhere in the compiler properly, so we just let it through před 8 roky
mips 61af0fb72d * only take into account the location of the parameter at the callee side to před 8 roky
msg d3251a349b + set the code page for errorct.msg (Catalan) to Windows 1252 před 8 roky
powerpc 61af0fb72d * only take into account the location of the parameter at the callee side to před 8 roky
powerpc64 61af0fb72d * only take into account the location of the parameter at the callee side to před 8 roky
ppcgen 903548b21a morphos: added legacy GNU AS support for the ancient AS version, which is still bundled as default in the SDK. switches off named sections support in the assembler generator před 8 roky
sparc bd57ca99a8 * cosmetics před 8 roky
sparc64 7ed3757f8c + TCGSparc64.a_load_reg_ref_unaligned před 8 roky
sparcgen 6e18d537fc Use A_LD_R and A_ST_R aliases for spilling_create_(load|store) functions před 8 roky
systems 13801bebfe * pass debian specific path to c init files to ld for sparc64 as it is done on other targets as well před 8 roky
utils a2e442e111 * keep the names of X, Y and Z in assembler files, fixes issue #32150 před 8 roky
x86 7c306f18e3 + perform unsigned modulus by power of 2 constant by using an AND instruction (instead of DIV) on x86 před 8 roky
x86_64 22956c4393 + TX86AsmOptimizer.OptPass1OP před 8 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 0a237e88eb Regenerated after: sparc and sparc64 also need -Fisparcgen, because this directory contains include files před 8 roky
Makefile.fpc a6d1019514 sparc and sparc64 also need -Fisparcgen, because this directory contains include files před 8 roky
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
aasmbase.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
aasmcnst.pas 2ad265505b * properly align unicode- and ansistring constants před 8 roky
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists před 8 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 c6bfb0064f * keep track of the sections that are created in the asmlists před 8 roky
aggas.pas f37613ddd8 * Use .rodata and .data.rel.ro sections for Android with PIC. před 8 roky
aopt.pas b1dff29cbf * removed unused units před 8 roky
aoptbase.pas b1dff29cbf * removed unused units před 8 roky
aoptda.pas b1dff29cbf * removed unused units před 8 roky
aoptobj.pas b1dff29cbf * removed unused units před 8 roky
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType před 8 roky
assemble.pas b1dff29cbf * removed unused units před 8 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 5e07957594 + TLinkedList.RemoveAll před 8 roky
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems před 15 roky
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu před 9 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 5e969d90cb + SPARC64 cpugas unit před 8 roky
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 před 10 roky
cgobj.pas bccc2f6863 + tcg.a_loadfpu_intreg_reg, make use of it in tcg.a_load_cgparaloc_anyreg před 8 roky
cgutils.pas a25ebbba3e + added volatility information to all memory references před 8 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 15e8757768 + use fpwidestring in the compiler once again on unix-like hosts. The před 8 roky
compinnr.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support před 10 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
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: před 9 roky
cutils.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records před 8 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 b1dff29cbf * removed unused units před 8 roky
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute před 8 roky
dbgstabs.pas 6f6139609d Add explicit '.set nompis16' at front of stabs debug information to solve bug report 32138 před 8 roky
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): před 9 roky
defcmp.pas 5971e1327e * fix for Mantis #31756: have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility před 8 roky
defutil.pas 0c42b6f44a * fix for Mantis #32118: also provide a range for undefined defs před 8 roky
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes před 8 roky
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. před 12 roky
entfile.pas 365d774ca7 fixed zipinstall after r36418 před 8 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 0b561b6c8f powerpc: enable SUPPORT_GET_FRAME před 8 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 4e1f999b02 * write full path name when ppu crc checks fail/conflict (patch by před 8 roky
gendef.pas aee5380ae0 * merged trunk up to r20882 před 13 roky
globals.pas 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) před 8 roky
globstat.pas 88af293155 Fix for Mantis #22160 před 13 roky
globtype.pas 94c3ac027b * fixed spelling: fpc_mode -> gpc_mode před 8 roky
hlcg2ll.pas b1dff29cbf * removed unused units před 8 roky
hlcgobj.pas b1dff29cbf * removed unused units před 8 roky
htypechk.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 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 b1dff29cbf * removed unused units před 8 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 5c18830aab Regenerated files after: Add help for second argument to -Ch option, -Chx,y y is max heap size před 8 roky
msgtxt.inc e667a18838 + support the codepage directive in the msg2inc converter util před 8 roky
nadd.pas b755524c38 made it possible to override the decision from the cgs, if a certain muln needs a helper před 8 roky
nbas.pas b1dff29cbf * removed unused units před 8 roky
ncal.pas 54b5112284 * real constants should be propagated during inline expanding před 8 roky
ncgadd.pas b1dff29cbf * removed unused units před 8 roky
ncgbas.pas b1dff29cbf * removed unused units před 8 roky
ncgcal.pas b1dff29cbf * removed unused units před 8 roky
ncgcnv.pas 28cfa838b5 + support for the different flag registers of sparc před 8 roky
ncgcon.pas b1dff29cbf * removed unused units před 8 roky
ncgflw.pas b1dff29cbf * removed unused units před 8 roky
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false před 10 roky
ncginl.pas 8eec29b139 + enable support for a processor specific frac function před 8 roky
ncgld.pas b1dff29cbf * removed unused units před 8 roky
ncgmat.pas b1dff29cbf * removed unused units před 8 roky
ncgmem.pas 8ea9e3d344 * avoid range check errors on avr před 8 roky
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm před 8 roky
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it před 9 roky
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested před 14 roky
ncgobjc.pas b1dff29cbf * removed unused units před 8 roky
ncgopt.pas b1dff29cbf * removed unused units před 8 roky
ncgrtti.pas 126b834976 * ncgrtti has to use target pointer sizes, so changed SizeOf(PtrInt) into SizeOf(PInt), should fix #31964 před 8 roky
ncgset.pas 991d962ae2 * more range check errors on 8 bit CPUs fixed před 8 roky
ncgutil.pas b1dff29cbf * removed unused units před 8 roky
ncgvmt.pas b1dff29cbf * removed unused units před 8 roky
ncnv.pas 0351369698 * ttypeconvnode.typecheck_arrayconstructor_to_dynarray: the assignment node of the temp array to the resulting array always needs to exist, so remove the assigned() check před 8 roky
ncon.pas b1dff29cbf * removed unused units před 8 roky
nflw.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
ngenutil.pas a301bf75ea * ngenutil.tnodeutils.sym_maybe_initialize: don't use "is" operator, but corresponding is_* functions před 8 roky
ngtcon.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
ninl.pas 29d9beb40c * initialize datatemp před 8 roky
nld.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
nmat.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
nmem.pas b1dff29cbf * removed unused units před 8 roky
nobj.pas b1dff29cbf * removed unused units před 8 roky
nobjc.pas b1dff29cbf * removed unused units před 8 roky
node.pas 7911cc8437 - removed some dataconstn remenants před 8 roky
nopt.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
nset.pas b1dff29cbf * removed unused units před 8 roky
nutils.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 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 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used před 8 roky
objcutil.pas b1dff29cbf * removed unused units před 8 roky
ogbase.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 před 8 roky
ogcoff.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 před 8 roky
ogelf.pas b1dff29cbf * removed unused units před 8 roky
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using před 10 roky
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program před 9 roky
ogmap.pas b1dff29cbf * removed unused units před 8 roky
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so před 10 roky
ogomf.pas e7fd71db36 + write name of segment/group which is too large před 8 roky
omfbase.pas b1dff29cbf * removed unused units před 8 roky
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables před 11 roky
optconstprop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
optcse.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
optdead.pas b1dff29cbf * removed unused units před 8 roky
optdeadstore.pas b1dff29cbf * removed unused units před 8 roky
optdfa.pas b1dff29cbf * removed unused units před 8 roky
options.pas 903955f329 Add 's' for sparc64 specific message prefix před 8 roky
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version před 8 roky
optloop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: před 11 roky
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum před 9 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 b1dff29cbf * removed unused units před 8 roky
parabase.pas 9787c5dd82 * fix compilation of LLVM backend (mantis #31794) před 8 roky
paramgr.pas b1dff29cbf * removed unused units před 8 roky
parser.pas b1dff29cbf * removed unused units před 8 roky
pass_1.pas b1dff29cbf * removed unused units před 8 roky
pass_2.pas b1dff29cbf * removed unused units před 8 roky
pbase.pas b1dff29cbf * removed unused units před 8 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 68c5f45593 * also add a generic dummy symbol to the current module's dummy symbols after it had been parsed před 8 roky
pdecobj.pas b1dff29cbf * removed unused units před 8 roky
pdecsub.pas b1dff29cbf * removed unused units před 8 roky
pdecvar.pas ad65ff5600 * insert symbol only once před 8 roky
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: před 9 roky
pexpr.pas eb9b4fb71f * fix for Mantis #31973: resolve dummy symbols earlier and print a nice error message if a generic dummy could not be resolved to an ordinary symbol před 8 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 06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym() před 8 roky
pinline.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
pkgutil.pas b1dff29cbf * removed unused units před 8 roky
pmodules.pas 4c3d8d422a Add _GLOBAL_OFFSET_TABLE_ for sparc64 if -Cg is used před 8 roky
pp.lpi ed984e0c76 - removed missing file from project před 8 roky
pp.pas 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) před 8 roky
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of před 8 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 9ebf2aa984 * project file updates před 13 roky
ppcavr.lpi 9ebf2aa984 * project file updates před 13 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
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed před 9 roky
ppu.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers před 8 roky
ppx86_64.lpi e96dc4204e * version update před 13 roky
procinfo.pas b1dff29cbf * removed unused units před 8 roky
pstatmnt.pas ca78bfffae * fix for Mantis #32111: allow undefined defs as a for loop's counter; the specialization will decide whether it will compile or not před 8 roky
psub.pas dffe423b10 * fix for Mantis #31945: two fixes for nested routines inside generic methods před 8 roky
psystem.pas b367cdeb96 * create intern types for sparc64 před 8 roky
ptconst.pas b1dff29cbf * removed unused units před 8 roky
ptype.pas b1dff29cbf * removed unused units před 8 roky
raatt.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted před 8 roky
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from před 19 roky
rasm.pas b1dff29cbf * removed unused units před 8 roky
rautils.pas 744facb7fc * properly support accepting register parameters of assembler routines in před 8 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 7c0f72d9af * avoid spill coalesce of registers with itself, resolves issue #31926 před 8 roky
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app před 8 roky
scanner.pas 751bde9792 Revert revision 36436 from trunk. Final fix for issue #31675. před 8 roky
script.pas d2fe24ae20 * fix some more occured->occured před 8 roky
switches.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. před 9 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 126b834976 * ncgrtti has to use target pointer sizes, so changed SizeOf(PtrInt) into SizeOf(PInt), should fix #31964 před 8 roky
symcreat.pas b1dff29cbf * removed unused units před 8 roky
symdef.pas 06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym() před 8 roky
symsym.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers před 8 roky
symtable.pas 751bde9792 Revert revision 36436 from trunk. Final fix for issue #31675. před 8 roky
symtype.pas b1dff29cbf * removed unused units před 8 roky
symutil.pas b1dff29cbf * removed unused units před 8 roky
syscinfo.pas b1dff29cbf * removed unused units před 8 roky
systems.inc 903548b21a morphos: added legacy GNU AS support for the ancient AS version, which is still bundled as default in the SDK. switches off named sections support in the assembler generator před 8 roky
systems.pas 0f9451fbb7 * switch x86_64-linux to indirect entry, essentially allowing for the use of dynamic packages on that target před 8 roky
tgobj.pas b1dff29cbf * removed unused units před 8 roky
tokens.pas 25db29d0a6 * symtable.pas: před 8 roky
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled před 8 roky
version.pas e5977d5c52 + support sparc64 as host/source cpu před 8 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