sergei 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). 13 rokov pred
..
alpha 502cd6db29 Remove tai_ent, which is moved to aasmtai unit 13 rokov pred
arm dbf0404fb0 More consolidation of OP_SHL/SHR/ROR/SAR in ARM CodeGen 13 rokov pred
avr 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
generic 3017132268 * Remove triple sources 14 rokov pred
html fa0d3d79e0 no message 23 rokov pred
i386 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ia64 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 rokov pred
jvm 882351bb21 * don't insert a conversion to widechar for ansistr[x]:='y' assignments on 13 rokov pred
m68k 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
mips 6f12197d3b Fix set of frame poointer value for big local stack size 13 rokov pred
msg b0462d27cc * by default, no longer initialize enumeration fields of classes/objects 13 rokov pred
powerpc 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
powerpc64 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ppcgen 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
sparc 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
systems 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). 13 rokov pred
utils 3a082f8c29 Add defautl mips name and use mips instead of mipseb 13 rokov pred
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 rokov pred
x86 bb28a7cd08 * decrease the fpu stack position counter after explicitly inserted 13 rokov pred
x86_64 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 rokov pred
Makefile 8698357d6c Makefile regenerazted after change to Makefile.fpc: 13 rokov pred
Makefile.fpc f369069965 + Add CYCLELEVEL variable, whose value can be from 1 to 3 13 rokov pred
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 rokov pred
aasmbase.pas 68d7e943c8 + Add global_used callback procedure 13 rokov pred
aasmdata.pas 834026bfb5 * synchronised with trunk up to r21067 13 rokov pred
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 rokov pred
aasmtai.pas f92fba996d + New tai_ent and tai_ent_end classes 13 rokov pred
aggas.pas 9b7fec59bb Support ait_ent and ait_ent_end 13 rokov pred
agjasmin.pas 9c0ec8ee8c * part of r21120, forgot to commit 13 rokov pred
aopt.pas 117c083003 * call inherited Destroy in TAsmOptimizer to avoid memory leak 13 rokov pred
aoptbase.pas 9825fbf554 Support top_shifterop and top_regset for arm in RegInOp 13 rokov pred
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 rokov pred
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 rokov pred
aoptobj.pas d472a6d5d0 * changed tregset into tcpuregisterset so it's faster and uses less memory 13 rokov pred
asmutils.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 rokov pred
assemble.pas 1f762cc247 Add and replacement, for MIPS 13 rokov pred
browcol.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 rokov pred
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 rokov pred
ccharset.pas a6d01c09aa * make compiler compilable with 2.4.4 rtl 14 rokov pred
cclasses.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 rokov pred
cfileutl.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 rokov pred
cg64f32.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 rokov pred
cgbase.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to 13 rokov pred
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 rokov pred
cgobj.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 rokov pred
cgutils.pas 0fc422f244 * moved definition of maxcpuregister and tcpuregisterset from cgbase to 13 rokov pred
cmsgs.pas aba10cd184 compiler: 14 rokov pred
comphook.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
compiler.pas 462de0f5fd + AIX target definition and info for the compiler and ppudump 13 rokov pred
compinnr.inc aee5380ae0 * merged trunk up to r20882 13 rokov pred
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
constexp.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 rokov pred
cp1251.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp1252.pp 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp437.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp850.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp866.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp8859_1.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cp8859_5.pas 73a084d662 * fixes bootstrapping with 2.6.0 14 rokov pred
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 rokov pred
crefs.pas 851b00f8e9 * more properties fixed 16 rokov pred
cresstr.pas 8282d6e37a * do not create a global symbol in the middle of ansi/unicodestring 13 rokov pred
cstreams.pas f79dc85033 * typo fixed 13 rokov pred
cutils.pas 8001979f7e Reworked ispowerof2 in cutils.pas 13 rokov pred
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 rokov pred
dbgbase.pas 813ebf08e3 * Avoid having current_debuginfo pointing to freed memory 13 rokov pred
dbgdwarf.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
dbgstabs.pas 84214d1249 * Use mips_extra_offset function to give offsets expected by GDB for MIPS cpu 13 rokov pred
dbgstabx.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
defcmp.pas 50659b7e7f * give an error if a routine definition defines default values for 13 rokov pred
defutil.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 rokov pred
expunix.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
finput.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
fmodule.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 rokov pred
fpcdefs.inc 23a3275291 * Define both mipseb and mips for non endian-little MIPS compiler 13 rokov pred
fppu.pas 378dd7d6ab fppu.pas, tppumodule.readsourcefiles: 13 rokov pred
gendef.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
globals.pas d67d1abcba * Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type 13 rokov pred
globtype.pas b0462d27cc * by default, no longer initialize enumeration fields of classes/objects 13 rokov pred
hlcg2ll.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 rokov pred
hlcgobj.pas 024bde8875 Create .ent/.end pair for mips/mipsel and alpha 13 rokov pred
htypechk.pas fdbe35aadf * only try to call procvars while choosing overloads in case they don't 13 rokov pred
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 rokov pred
import.pas bf1c390027 * refactor import library generation 19 rokov pred
link.pas 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). 13 rokov pred
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 rokov pred
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 rokov pred
msgidx.inc b0462d27cc * by default, no longer initialize enumeration fields of classes/objects 13 rokov pred
msgtxt.inc b0462d27cc * by default, no longer initialize enumeration fields of classes/objects 13 rokov pred
nadd.pas a2426178dc * don't insert type conversions in add nodes if both arguments are constant 13 rokov pred
nbas.pas c62a2c8bb5 + write temptype when printing tempdelete nodes 13 rokov pred
ncal.pas 3414f91590 * minor reformatting, and removed superfluous assigned test (the value is 13 rokov pred
ncgadd.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 rokov pred
ncgbas.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level 14 rokov pred
ncgcal.pas 7df1403849 * fix releasing of shortstring temps. in arrayconstructor nodes 13 rokov pred
ncgcnv.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 rokov pred
ncgcon.pas 3acc0e6686 Add needs_got_for_pic, set global_used to that procedure 13 rokov pred
ncgflw.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ncginl.pas bba75a079c Better Code generation for SAR/ROR/ROL inline nodes 13 rokov pred
ncgld.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ncgmat.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ncgmem.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 14 rokov pred
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 rokov pred
ncgobjc.pas 4cf5e36ce7 compiler: 14 rokov pred
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 rokov pred
ncgrtti.pas a54e342060 + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. 13 rokov pred
ncgset.pas edd42aa42a * moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for 13 rokov pred
ncgutil.pas b63bc6be13 MIPS: use OC_EQ instead of OC_NE for new_exception to avoid branch out of range error 13 rokov pred
ncnv.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are 13 rokov pred
ncon.pas 834026bfb5 * synchronised with trunk up to r21067 13 rokov pred
nflw.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 rokov pred
ngenutil.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, 13 rokov pred
ngtcon.pas eb7e192226 * support pointer constants as initialisation values for procvar typed 13 rokov pred
ninl.pas 7332a0f801 ninl.pas, tinlinenode.pass_typecheck: an intrinsic which has a generic type parameter as argument is left as is (e.g. a call) and thus this needs to be respected when typechecking a SizeOf. Fixes Mantis #21592. 13 rokov pred
nld.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
nmat.pas 9e0184884e * correctly change the signdness information of tordconstnodes that are 13 rokov pred
nmem.pas 11e9f95580 * fixed (not harmless) class cast error when indexing an array[orddef] using 13 rokov pred
nobj.pas 50659b7e7f * give an error if a routine definition defines default values for 13 rokov pred
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 rokov pred
node.pas eedb5c89de * part of r20140, forgot to commit 13 rokov pred
nopt.pas 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 rokov pred
nset.pas d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8 14 rokov pred
nstate.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
nutils.pas baa8fa39a8 * converted code to trash variables (-gt) to operate at the node tree level, 13 rokov pred
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 rokov pred
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 rokov pred
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 rokov pred
ogbase.pas 1c5fa5448e * Do not dereference null pointer, 'real' (not script-provided) common symbols don't have objsection assigned at this point. 13 rokov pred
ogcoff.pas c65abdeeae * Implemented link map generation without involving TObjSection.ObjSymbolDefines, and removed the latter because it isn't used otherwise. The new approach uses CPU/memory only when map generation is requested. 13 rokov pred
ogelf.pas 37b8cd1b7a * If relocation to a local label cannot be translated into (section+offset), then the target symbol must be written into symbol table. Fixes IE 200603012 in number of tests with -Cg on i386-linux (and possibly other targets with internal ELF assembler). 13 rokov pred
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 rokov pred
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 rokov pred
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 17 rokov pred
ognlm.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 rokov pred
optcse.pas ffbf1a7331 * Avoid pointer typecast warning 14 rokov pred
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
optdfa.pas 5defdf86ba * handle for-loops correctly if the limits contain the counter variable 13 rokov pred
options.pas 59c726c829 Support ABS intrinsic on ARM 13 rokov pred
optloop.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 rokov pred
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 14 rokov pred
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops 17 rokov pred
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 rokov pred
owar.pas 0c62133d38 * patch by Mattias Gaertner to allow to override how the compiler reads source/ppu files, resolves #18740 14 rokov pred
owbase.pas 96e8e89e16 * write error code if an object file cannot be created 13 rokov pred
parabase.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
paramgr.pas 7a0ae38700 + also specify the parameter def when allocating a parameter via 13 rokov pred
parser.pas 6972947c6b compiler: remove unused variable 14 rokov pred
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 rokov pred
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
pbase.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
pdecl.pas aa0f1bdf26 pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593. 13 rokov pred
pdecobj.pas d2fabd2a22 Fix for Mantis #21350 13 rokov pred
pdecsub.pas adf66eed8b * don't turn constref shortstring parameters into openstrings (they can't 13 rokov pred
pdecvar.pas def357287e * revert revision 21251 for pdecvar.pas: not generating the bss-data for the static symbol for a generic breaks linking with debug info enabled; I'll need to find a better solution to avoid unneeded use of space (luckily it wasn't needed to fix any bug ^^) 13 rokov pred
pexports.pas 3589f90cf8 * also show the valid bounds in most cases when signalling a range check 13 rokov pred
pexpr.pas dbc410de63 Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688. 13 rokov pred
pgenutil.pas a908db5a91 Partially fix for Mantis #22160. This resolves the internal error, but the given example units still don't compile, because of the way we handle specializations and unit loading (more about this once I fixed that, too). 13 rokov pred
pinline.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
pmodules.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 rokov pred
pp.lpi 5cfc865889 * version update 13 rokov pred
pp.pas 7bdbb3448e * minimum compiler version to build the compiler is 2.6.0 13 rokov pred
pparautl.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 rokov pred
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 rokov pred
ppc.conf add30a428e * Kylix fixes, mostly case names of units 24 rokov pred
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 rokov pred
ppc68k.lpi ab217ca748 * lpi version increased 16 rokov pred
ppcarm.lpi a953b732d4 * update of project file 13 rokov pred
ppcavr.lpi 645b6942d0 * version update 14 rokov pred
ppcmips.lpi 5bf1354eca * lazarus project file updates 13 rokov pred
ppcmipsel.lpi 31f54a7810 * use separate build directory for mipsel 13 rokov pred
ppcppc.lpi ab217ca748 * lpi version increased 16 rokov pred
ppcsparc.lpi ab217ca748 * lpi version increased 16 rokov pred
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) 19 rokov pred
ppu.pas d2fabd2a22 Fix for Mantis #21350 13 rokov pred
ppx86_64.lpi e96dc4204e * version update 13 rokov pred
procinfo.pas 6c8eed21c4 + implement auto inlining (-Ooautoinline) 13 rokov pred
pstatmnt.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 rokov pred
psub.pas 7dfaec7a05 Fix for Mantis #21457 13 rokov pred
psystem.pas 31a3f4f4a0 Add ait_ent and ait_ent_end to aiclass array 13 rokov pred
ptconst.pas 834026bfb5 * synchronised with trunk up to r21067 13 rokov pred
ptype.pas f9211271d5 Fix for Mantis #22154: 13 rokov pred
raatt.pas c0690d1bdc + New virtual method TATTReader.HandleDollar, useful for MIPS reader 13 rokov pred
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 rokov pred
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 rokov pred
rautils.pas d87b203a0a Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921. 13 rokov pred
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 rokov pred
rescmn.pas adbad5ab96 + fcl-res support for xcoff/aix 13 rokov pred
rgbase.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
rgobj.pas 9833f642fe * coalesce if either u or v are precolored, tested on arm and i386, it gives for both a small advantage 13 rokov pred
scandir.pas 958600e74b * by default disable the warning about interfaces raising a particular 13 rokov pred
scanner.pas f90e686be2 Always try to present file/line information for generics even if no source is available or the unit was compiled as release unit. This allows IDE like Lazarus to correctly navigate to an error or warning even if the unit containing the generic was compiled as a release unit. 13 rokov pred
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 rokov pred
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 rokov pred
symbase.pas 1bc846dd3c + TSymtablestack.getcopyuntil() method that creates a copy of a 14 rokov pred
symconst.pas 834026bfb5 * synchronised with trunk up to r21067 13 rokov pred
symcreat.pas ca57ab2c99 * support storing the scanner state when the current token is _ID 13 rokov pred
symdef.pas ae7dd3a930 tprocdef.total_local_size field added for MIPS cpu 13 rokov pred
symnot.pas 790a4fe2d3 * log and id tags removed 20 rokov pred
symsym.pas 31b1678757 * write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units 13 rokov pred
symtable.pas 71c13190e1 Fix for Mantis #22329. 13 rokov pred
symtype.pas a54e342060 + Reduce the amount of RTTI by not generating 'init' information if it will end up being the same as the 'full' one (which is the case of most simple types). The new behavior can be customized for every tdef by overriding needs_separate_initrtti method. 13 rokov pred
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 rokov pred
systems.inc 600dd162af Merge of rev21557 by Foxsen 13 rokov pred
systems.pas 600dd162af Merge of rev21557 by Foxsen 13 rokov pred
tgobj.pas cef61300ff + ttgobj.gethltemptyped() routine for allocating managed types with high level 14 rokov pred
tokens.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
verbose.pas 3f14f2b61b + be able to turn off warning -> error conversion on the command line (with -) 13 rokov pred
version.pas 15252b546d * Restore 'mips' name as cpumipseb source_cpu_string 13 rokov pred
widestr.pas aee5380ae0 * merged trunk up to r20882 13 rokov pred
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 rokov pred
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 rokov pred
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 rokov pred

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