marco 2eafca94e6 * separate files in main repo пре 8 година
..
aarch64 5f8057775b --- Merging r30757 into '.': пре 9 година
alpha 5f8057775b --- Merging r30757 into '.': пре 9 година
arm 32124fd64c --- Merging r35545 into '.': пре 8 година
avr 5f8057775b --- Merging r30757 into '.': пре 9 година
generic 5f8057775b --- Merging r30757 into '.': пре 9 година
html fa0d3d79e0 no message пре 23 година
i386 926112bba1 * fix from Florian, mantis #30334, relevant part of r33542 пре 8 година
i8086 6040c041e4 --- Merging r32541 into '.': пре 9 година
ia64 5f8057775b --- Merging r30757 into '.': пре 9 година
jvm feb56205b3 Merging r32904 пре 9 година
m68k 5f8057775b --- Merging r30757 into '.': пре 9 година
mips 5f8057775b --- Merging r30757 into '.': пре 9 година
msg 4b965da921 * version updates пре 8 година
powerpc b56d1cfa86 --- Merging r34878 into '.': пре 8 година
powerpc64 b56d1cfa86 --- Merging r34878 into '.': пре 8 година
ppcgen 5addbae947 Merging r33630 пре 9 година
sparc 5f8057775b --- Merging r30757 into '.': пре 9 година
systems 7a574dd899 --- Merging r31003 into '.': пре 8 година
utils bdfe5204bf * first version updates пре 8 година
vis 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, пре 10 година
x86 4d62e12dfe Merged revision(s) 32020, 32036, 32536 from trunk (i386 PIC): пре 9 година
x86_64 6040c041e4 --- Merging r32541 into '.': пре 9 година
COPYING.txt 19d7b3cf95 --- Merging r34598 into '.': пре 8 година
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests пре 19 година
Makefile bdfe5204bf * first version updates пре 8 година
Makefile.fpc bdfe5204bf * first version updates пре 8 година
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files пре 16 година
aasmbase.pas aa5e9d4746 --- Merging r29471 into '.': пре 9 година
aasmdata.pas a3c439c60f - No longer insert BlockStart markers into asmlists. The presence of these markers disrupts peephole optimizations and require additional checks all over the place, causing various workarounds/hacks (like TAsmList.Create_without_marker) to start building up. пре 11 година
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files пре 18 година
aasmtai.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
aggas.pas 4d62e12dfe Merged revision(s) 32020, 32036, 32536 from trunk (i386 PIC): пре 9 година
agjasmin.pas b13ef4e3bb * fixed DFA warnings for JVM target пре 11 година
aopt.pas 92fa75838e * honour -Oonopeephole пре 11 година
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 0041024e5f * Modified FindRegAlloc() to skip branch delay slots in the same way it is done in GetNextInstruction(). This fixes processing sequences "dealloc reg; branch reg,label; NOP; alloc reg" in BuildLabelTableAndFixRegAlloc(), deallocation is now correctly moved after branch. Before this change, the last allocation was ignored, and deallocation was moved forward until another instruction using reg was encountered. пре 10 година
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. пре 12 година
assemble.pas b56d1cfa86 --- Merging r34878 into '.': пре 8 година
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser пре 11 година
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build пре 25 година
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 b3e793802e пре 9 година
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 b57c95043f + support overriding tdef/tsym methods with target-specific functionality: пре 11 година
cgbase.pas ec6dfb5853 + added tcgsize2str function пре 11 година
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions пре 11 година
cgobj.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
cgutils.pas d6c6c84f76 * calc_divconst_magic_unsigned: explicitly limit the shift amount to number of bits of target platform. This happens implicitly only on x86, on other 32-bit targets shifting by more than 31 bits calculates as zero. пре 11 година
cmsgs.pas aba10cd184 compiler: пре 13 година
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging пре 12 година
compiler.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 година
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time пре 11 година
comprsrc.pas e0ca083cce --- Merging r30038 into '.': пре 9 година
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 a608ba6fc6 --- Merging (from foreign repository) r31878 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 73cae02c20 --- Merging r29821 into '.': пре 9 година
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 bb3fd863e1 * merged support for changing the language set in the DWARF debug info to пре 8 година
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 639a59df92 Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. пре 11 година
defutil.pas 4ea551a0f7 * is_farpointer and is_hugepointer moved from defutil to symcpu пре 11 година
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 2578514853 * first dragonfly patch (existing most). Mantis #27091 пре 10 година
finput.pas e926169fcb - Merging r29456 into '.': пре 9 година
fmodule.pas e0ca083cce --- Merging r30038 into '.': пре 9 година
fpccrc.pas 793fd8fc09 * Add -Xg to help pages пре 17 година
fpcdefs.inc 0262514939 * m68k: Transform 32-bit div/mod nodes into helper calls during pass 1. This is consistent with the way other targets do it, and results in pretty much nicer code. пре 11 година
fppu.pas e21783a281 * i8086 small and tiny memory model ppus made incompatible. Rationale: пре 11 година
gendef.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
globals.pas c34bffd56a * $SUBARCH => $FPCSUBARCH пре 10 година
globstat.pas 88af293155 Fix for Mantis #22160 пре 13 година
globtype.pas bb3fd863e1 * merged support for changing the language set in the DWARF debug info to пре 8 година
hlcg2ll.pas 0a3f00ef2f Avoid Internal Error 200310121 with -O3 for test/units/system/tabs.pp with ppcarm пре 10 година
hlcgobj.pas 8af651ce1b --- Merging r29583 into '.': пре 10 година
htypechk.pas e17f99ed84 --- Recording mergeinfo for merge of r31987 into '.': пре 9 година
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 eddab86312 * pass the -b option to wlib to avoid creating .bak files пре 11 година
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 bb3fd863e1 * merged support for changing the language set in the DWARF debug info to пре 8 година
msgtxt.inc 06c159ab17 Update msgtct.inc because copyright year 2017 пре 8 година
nadd.pas 3da9f31fa2 --- Merging r34035 into '.': пре 9 година
nbas.pas 9e29fd424d * changed the "laststatement" parameter of internalstatements() from "var" пре 11 година
ncal.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables пре 11 година
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code пре 11 година
ncgcal.pas e17f99ed84 --- Recording mergeinfo for merge of r31987 into '.': пре 9 година
ncgcnv.pas 2c7a1b4e91 * fixed optimisation from r25067 for the generic case where a signed value пре 11 година
ncgcon.pas f1d1fd4f24 * Inserted explicit typecasts in order to prevent range check errors at some places where signed and unsigned types are assigned to each other (mostly MIPS-specific, but one was necessary in generic code). пре 11 година
ncgflw.pas a79a891940 * handle the result of FPC_CATCHES via the high level code generator (which makes it i8086 far pointer safe) пре 11 година
ncginl.pas 214eaebf99 * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models пре 11 година
ncgld.pas 441e6c6083 Fix for Mantis #26177. Use the correct value for the method data when using a method pointer of a type or record helper. пре 11 година
ncgmat.pas 5f2821ee5f * Moved handling of emulated floating point negation into new virtual method tcgunaryminusnode.second_float_emulated. Also changed it into simple flipping of the sign bit, which is how it is defined by IEEE 754, and already done for ARM targets. Relevant ARM-specific parts can now be removed, and m68k code gets significantly better without further efforts. пре 11 година
ncgmem.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
ncgnstld.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
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 c58755d18d * added missing alignment in dynamic array RTTI for platforms that пре 9 година
ncgset.pas c7b40a6436 --- Merging r31191 into '.': пре 9 година
ncgutil.pas 654cda7387 --- Merging r30164 into '.': пре 10 година
ncgvmt.pas 80d45f6b2d * patch from Sven equal to r31911 backported to 3.0.x пре 9 година
ncnv.pas feb56205b3 Merging r32904 пре 9 година
ncon.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: пре 11 година
nflw.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
ngenutil.pas b38fb606cc Fix for Mantis #27185. пре 10 година
ngtcon.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
ninl.pas c9ba9665dd * set nf_internal for if nodes generated by assert, prevent warning for assert(true); resolves #26467 пре 10 година
nld.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
nmat.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
nmem.pas c86b538a25 --- Merging r32602 into '.': пре 9 година
nobj.pas 89e9fac562 * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far пре 11 година
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code пре 15 година
node.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken пре 11 година
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to пре 12 година
nset.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: пре 11 година
nstate.pas 790a4fe2d3 * log and id tags removed пре 20 година
nutils.pas c7b40a6436 --- Merging r31191 into '.': пре 9 година
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). пре 14 година
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by пре 11 година
objcutil.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
ogbase.pas a4053370fc * ELF linker: track relocation style (REL or RELA) of each input section and use it instead of global default on MIPS targets. This fixes internal linking of tests/test/units/system/tres*.pp. пре 10 година
ogcoff.pas 8c61990078 * ogcoff.pas: when encountering symbol of unsupported type in input object file, give a meaningful error message instead of internal error. Mantis #27020. пре 10 година
ogelf.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 пре 10 година
oglx.pas 658c46b903 * remove tdictionary and tindexarray пре 19 година
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead пре 13 година
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. пре 12 година
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. пре 12 година
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 c7b40a6436 --- Merging r31191 into '.': пре 9 година
optdead.pas 70088d12a8 * eliminate classes unit from the compiler by copying an array of string based пре 11 година
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores пре 11 година
optdfa.pas e926169fcb - Merging r29456 into '.': пре 9 година
options.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). пре 13 година
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). пре 13 година
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target пре 12 година
paramgr.pas c7b40a6436 --- Merging r31191 into '.': пре 9 година
parser.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 година
pass_1.pas 9fdd64e94c * indention and new line fixes пре 11 година
pass_2.pas aee5380ae0 * merged trunk up to r20882 пре 13 година
pbase.pas c6496f8ec5 Fix for Mantis #26278. пре 11 година
pdecl.pas 25e19f27a0 + write name of missing feature in error message пре 10 година
pdecobj.pas 654cda7387 --- Merging r30164 into '.': пре 10 година
pdecsub.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
pdecvar.pas 159a35da4e * check for read/write after a newly declared property (mantis #26011) пре 11 година
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly пре 13 година
pexpr.pas c67f8f2a28 --- Merging r32845 into '.': пре 9 година
pgenutil.pas 2fb2b18abc --- Merging r29537 into '.': пре 10 година
pinline.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
pmodules.pas 2b110e0e92 * manually merged r36194, fixes a regression introduced by 3.0.0 on Win64 (due to SEH). пре 8 година
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: пре 11 година
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums пре 12 година
pparautl.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
ppc68k.lpi 9ebf2aa984 * project file updates пре 13 година
ppc8086.lpi 3cc8ff11e3 + generate the stack segment for i8086 far data memory models from within fpc пре 11 година
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 4c0ea44208 adapted commit rev 32474: avoid range check error in geasizeint method. пре 8 година
ppx86_64.lpi e96dc4204e * version update пре 13 година
procinfo.pas eeb15fc445 * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). пре 11 година
pstatmnt.pas 270c2d700e * allow the "then" part of an if-statement to be terminated by any endtoken, пре 11 година
psub.pas e0ca083cce --- Merging r30038 into '.': пре 9 година
psystem.pas ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time пре 11 година
ptconst.pas 8f1e058ac2 * Don't place symbols with vo_force_finalize flag into read-only sections, resolves #26691. пре 11 година
ptype.pas d8b82e0ba5 --- Merging r31910 into '.': пре 9 година
raatt.pas d2187257e7 - removed unused type and variable пре 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 2fb2b18abc --- Merging r29537 into '.': пре 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] пре 13 година
rgobj.pas 9b9ea15d68 + m68k: initial implementation of do_spill_replace (supports only MOVE instructions for now). Tested with qemu for Coldfire target. пре 11 година
scandir.pas e8a1c4f562 --- Merging r31831 into '.': пре 9 година
scanner.pas e8a1c4f562 --- Merging r31831 into '.': пре 9 година
script.pas b56d1cfa86 --- Merging r34878 into '.': пре 8 година
switches.pas 86b9a0eed1 + added the $F switch to the turbo and macSwitchTable, as that takes precedence пре 11 година
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) пре 12 година
symconst.pas 5f8057775b --- Merging r30757 into '.': пре 9 година
symcreat.pas 256f2fcf69 * fixed finish_copied_procdef() in case newstruct is nil after support for пре 11 година
symdef.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
symsym.pas a7fb19313a Merging -c 29493,29826,31916,32447,33176:33180,33190 пре 9 година
symtable.pas 491d163202 --- Merging r34059 into '.': пре 9 година
symtype.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). пре 18 година
systems.inc decff7ad16 * merged the fixes_3_0-relevant parts of r31808, r31830, r31879: add support пре 10 година
systems.pas 73cae02c20 --- Merging r29821 into '.': пре 9 година
tgobj.pas f55516ed32 * changed forcesize parameter of tgobj.gethltemp() from aint into asizeint, пре 11 година
tokens.pas bff8dc3fbf + added parser support for huge pointer declarations пре 11 година
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror пре 11 година
version.pas 2eafca94e6 * separate files in main repo пре 8 година
widestr.pas f2e27b2585 --- Merging r32202 into '.': пре 9 година
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