florian b98e13cd93 * ensure success is initialized 10 vuotta sitten
..
aarch64 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
alpha 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
arm d540d56908 * unified internal errors 10 vuotta sitten
avr 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
generic 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
html fa0d3d79e0 no message 23 vuotta sitten
i386 ed4e876f4f * Generate exception filters data on i386-win32 and x86_64-win64 without using global labels. 10 vuotta sitten
i8086 c39128708e + implemented inc/dec for huge pointers 10 vuotta sitten
ia64 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
jvm a7d36de9ae * associate debug information for local variables with the second instead of 10 vuotta sitten
m68k 6070ac3def m68k: some more basic FPU stuff 10 vuotta sitten
mips cc537a2e76 Try to avoid uncorrect optimization 10 vuotta sitten
msg 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
powerpc d540d56908 * unified internal errors 10 vuotta sitten
powerpc64 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
ppcgen d540d56908 * unified internal errors 10 vuotta sitten
sparc 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
systems b98e13cd93 * ensure success is initialized 10 vuotta sitten
utils 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
vis 5c67fcc43f + change always floating point divisions into multiplications if they are a power of two, 10 vuotta sitten
x86 d24382e8f8 * x86 AT&T writer: never ever drop "@GOTPCREL" relocation, because it results in corrupted code (at least, "mov foo@GOTPCREL(%rip),%reg" must change to "lea foo(%rip),%reg" to remain equivalent, but this must be handled elsewhere anyway. Assembler writer should just write generated code as is). 10 vuotta sitten
x86_64 ed4e876f4f * Generate exception filters data on i386-win32 and x86_64-win64 without using global labels. 10 vuotta sitten
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 vuotta sitten
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 vuotta sitten
Makefile d407b668d1 * version updated to 3.1.1 10 vuotta sitten
Makefile.fpc d407b668d1 * version updated to 3.1.1 10 vuotta sitten
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 vuotta sitten
aasmbase.pas ea3bc10fd1 Change ReplaceForbiddenAsmSymbolChars to use ansistrings to avoid shortstring overflow 10 vuotta sitten
aasmdata.pas 697552b9f1 * disabled hints/warnings about changed symbol visibility by default, use 10 vuotta sitten
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 vuotta sitten
aasmtai.pas 0d9783e9a6 Avoid referencing an empty ansistring in tai_stabs.create_ansistr 10 vuotta sitten
aggas.pas 905c47ef84 Fix error with .ref pseudo-op. with assembler labels that still had dollar signs on AIX assembler 10 vuotta sitten
agjasmin.pas b13ef4e3bb * fixed DFA warnings for JVM target 11 vuotta sitten
aopt.pas 92fa75838e * honour -Oonopeephole 11 vuotta sitten
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 vuotta sitten
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 vuotta sitten
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 vuotta sitten
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 vuotta sitten
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 vuotta sitten
assemble.pas 6fd8a26ae1 + internal assembler: early check for empty asmlists. 11 vuotta sitten
blockutl.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 vuotta sitten
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 vuotta sitten
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 vuotta sitten
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 vuotta sitten
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 vuotta sitten
cclasses.pas 94bcb9878a * reimplemented r28329 in a different way, as suggested by Jonas 11 vuotta sitten
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 vuotta sitten
cfileutl.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 vuotta sitten
cg64f32.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
cgbase.pas ec6dfb5853 + added tcgsize2str function 11 vuotta sitten
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions 11 vuotta sitten
cgobj.pas 8f4430e795 * tcg.translate_register: check that reg.allocator is not nil before calling its method (in case of "assembler nostackframe" function returning an x87 float compiler tries to translate NR_ST which is used for function result). 10 vuotta sitten
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 vuotta sitten
cmsgs.pas aba10cd184 compiler: 13 vuotta sitten
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 vuotta sitten
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 vuotta sitten
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 10 vuotta sitten
comprsrc.pas 00ea5e1636 * made maybequoted_for_script() public 10 vuotta sitten
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 vuotta sitten
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 vuotta sitten
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
cresstr.pas eb508a18e9 compiler: remove RST writer 11 vuotta sitten
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 vuotta sitten
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 vuotta sitten
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 vuotta sitten
dbgdwarf.pas 3506767e8d Generate mimnimal DWARF debug information for non-multithreaded thread variables 10 vuotta sitten
dbgstabs.pas 64dafdb1de * stabn writing code simplified 11 vuotta sitten
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 vuotta sitten
defcmp.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 vuotta sitten
defutil.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 vuotta sitten
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 vuotta sitten
expunix.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 vuotta sitten
finput.pas 5e76203bc3 * don't hard-code size of linebuf entries 11 vuotta sitten
fmodule.pas 94bcb9878a * reimplemented r28329 in a different way, as suggested by Jonas 11 vuotta sitten
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 vuotta sitten
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 vuotta sitten
fppu.pas 9a9bf4be91 * write better hint message about the first occurence of an identifuer in case of a duplicate identifier error 10 vuotta sitten
gendef.pas aee5380ae0 * merged trunk up to r20882 13 vuotta sitten
globals.pas c34bffd56a * $SUBARCH => $FPCSUBARCH 10 vuotta sitten
globstat.pas 88af293155 Fix for Mantis #22160 13 vuotta sitten
globtype.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
hlcg2ll.pas 0a3f00ef2f Avoid Internal Error 200310121 with -O3 for test/units/system/tabs.pp with ppcarm 10 vuotta sitten
hlcgobj.pas 9758a53fa6 - rm the ifdef cpu16bitalu and cpu64bitalu from thlcgobj.a_load_ref_cgpara, 11 vuotta sitten
htypechk.pas bad1b2a1c1 * fix for issue introduced in r28862: the compiler considered also 10 vuotta sitten
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 vuotta sitten
import.pas bf1c390027 * refactor import library generation 19 vuotta sitten
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 vuotta sitten
link.pas eddab86312 * pass the -b option to wlib to avoid creating .bak files 11 vuotta sitten
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 vuotta sitten
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 vuotta sitten
msgidx.inc 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
msgtxt.inc 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
nadd.pas ccb01d6196 * allow subtraction/addition of internally generated nodes, resolves #27256 10 vuotta sitten
nbas.pas 9e29fd424d * changed the "laststatement" parameter of internalstatements() from "var" 11 vuotta sitten
ncal.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code 11 vuotta sitten
ncgcal.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
ncgcnv.pas 2c7a1b4e91 * fixed optimisation from r25067 for the generic case where a signed value 11 vuotta sitten
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 vuotta sitten
ncgflw.pas a79a891940 * handle the result of FPC_CATCHES via the high level code generator (which makes it i8086 far pointer safe) 11 vuotta sitten
ncginl.pas 214eaebf99 * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models 11 vuotta sitten
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 vuotta sitten
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 vuotta sitten
ncgmem.pas d4969ca2ee * Fixed subscripting records of size OS_PAIR on big endian targets and enabled placing such records into registers. Tested and shows no regressions on mips-linux. 10 vuotta sitten
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 vuotta sitten
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 vuotta sitten
ncgobjc.pas 4cf5e36ce7 compiler: 14 vuotta sitten
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
ncgrtti.pas d1ac1bf1e0 * fixed writing rtti published property getter/setter/stored proc info in the 11 vuotta sitten
ncgset.pas 1d4de72aa7 + 8-bit ALU support in tcgcasenode.genlinearcmplist 11 vuotta sitten
ncgutil.pas 9b468ba728 Change code so that the condition to use global or local symbol matches 10 vuotta sitten
ncgvmt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 vuotta sitten
ncnv.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
ncon.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
nflw.pas f813703cf3 * fixes several issues with loop unrolling 10 vuotta sitten
ngenutil.pas a67478e033 * Simplified, removed redundant asmlist and duplicate call to maybe_new_object_file. 10 vuotta sitten
ngtcon.pas 37cf157d7d initialize pd to fix a warning with O3+ 10 vuotta sitten
ninl.pas c9ba9665dd * set nf_internal for if nodes generated by assert, prevent warning for assert(true); resolves #26467 10 vuotta sitten
nld.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
nmat.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 vuotta sitten
nmem.pas 7c34dc51a1 Removed vecn nodes from constant pointer address calculations to absolute variables, since only subscripts were being handled leading to problems like those described in issue #17118. 10 vuotta sitten
nobj.pas 89e9fac562 * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far 11 vuotta sitten
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 vuotta sitten
node.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken 11 vuotta sitten
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 vuotta sitten
nset.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
nstate.pas 790a4fe2d3 * log and id tags removed 20 vuotta sitten
nutils.pas 5115c3e680 Fix for Mantis #26481. This is a regression. 10 vuotta sitten
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 vuotta sitten
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by 11 vuotta sitten
objcutil.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 vuotta sitten
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 vuotta sitten
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 vuotta sitten
ogelf.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 vuotta sitten
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 vuotta sitten
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 vuotta sitten
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 vuotta sitten
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 vuotta sitten
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 vuotta sitten
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 vuotta sitten
optcse.pas 99e1bb32a2 + apply cse to more inline nodes 11 vuotta sitten
optdead.pas 70088d12a8 * eliminate classes unit from the compiler by copying an array of string based 11 vuotta sitten
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 vuotta sitten
optdfa.pas 4289dd667d * managed types cause a different warning/hint when they are 10 vuotta sitten
options.pas bb01872821 + handle -CPPACKENUM and -CPPACKRECORD, resolves #27153 10 vuotta sitten
optloop.pas f813703cf3 * fixes several issues with loop unrolling 10 vuotta sitten
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 vuotta sitten
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 vuotta sitten
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 vuotta sitten
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 vuotta sitten
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 vuotta sitten
paramgr.pas beeb85f11c * Don't force CORBA (unmanaged) interfaces to be returned in parameter. All managed types including Variant and COM interfaces are already checked by handle_common_ret_in_param, superfluous checks removed. 11 vuotta sitten
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 vuotta sitten
pass_1.pas 9fdd64e94c * indention and new line fixes 11 vuotta sitten
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 vuotta sitten
pbase.pas c6496f8ec5 Fix for Mantis #26278. 11 vuotta sitten
pdecl.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
pdecobj.pas 7b216d7fa6 Fix for Mantis #27120. 10 vuotta sitten
pdecsub.pas 94a51e26a0 + support of winapi directive 10 vuotta sitten
pdecvar.pas 159a35da4e * check for read/write after a newly declared property (mantis #26011) 11 vuotta sitten
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 vuotta sitten
pexpr.pas 9611c3df52 Fix for Mantis #25606. 10 vuotta sitten
pgenutil.pas 0d1d3d8e72 Fix for Mantis #25917. With this change the visibility of type parameters is changed from public to strict private as otherwise unexpected (and "unworkaroundable") errors might occur (like the one in the mentioned bug report). 10 vuotta sitten
pinline.pas dd967eb136 * handle records in iso mode properly if no tag-field is given 10 vuotta sitten
pmodules.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 vuotta sitten
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 vuotta sitten
pparautl.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 vuotta sitten
ppc68k.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppc8086.lpi 3cc8ff11e3 + generate the stack segment for i8086 far data memory models from within fpc 11 vuotta sitten
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 vuotta sitten
ppcarm.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcavr.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 vuotta sitten
ppcmips.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcppc.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcppc64.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppcsparc.lpi 9ebf2aa984 * project file updates 13 vuotta sitten
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 vuotta sitten
ppu.pas 77088cf723 * bumped PPU version because r28596 breaks compatibility on Amiga/68k and MorphOS 11 vuotta sitten
ppx86_64.lpi e96dc4204e * version update 13 vuotta sitten
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 vuotta sitten
pstatmnt.pas 270c2d700e * allow the "then" part of an if-statement to be terminated by any endtoken, 11 vuotta sitten
psub.pas af43e5e3e9 Fix for Mantis #24872. 10 vuotta sitten
psystem.pas ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 10 vuotta sitten
ptconst.pas 6708b83a16 * Refactor tasmlisttypedconstbuilder so it emits string/PChar data, if any, into a second asmlist, instead of appending it directly to global asmlist. 10 vuotta sitten
ptype.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
raatt.pas d2187257e7 - removed unused type and variable 10 vuotta sitten
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 vuotta sitten
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 vuotta sitten
rautils.pas 475a9e1617 * Asm readers: allow using procedure symbols in references, resolves #22376. 10 vuotta sitten
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 vuotta sitten
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 vuotta sitten
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 vuotta sitten
rgobj.pas 9b9ea15d68 + m68k: initial implementation of do_spill_replace (supports only MOVE instructions for now). Tested with qemu for Coldfire target. 11 vuotta sitten
scandir.pas 7f9fa145e8 + added error message in case the HUGEPOINTERNORMALIZATION directive is used 11 vuotta sitten
scanner.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 vuotta sitten
switches.pas 86b9a0eed1 + added the $F switch to the turbo and macSwitchTable, as that takes precedence 11 vuotta sitten
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 vuotta sitten
symconst.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
symcreat.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 vuotta sitten
symdef.pas 943a094683 Fix for Mantis #27320. 10 vuotta sitten
symnot.pas 790a4fe2d3 * log and id tags removed 20 vuotta sitten
symsym.pas 05b3a94843 * changed explicit paraloc handling to use ppuload/ppuwrite functions in paraloc instead of directly writing the data. this hopefully fixes some endian issues when using crosscompiled-on-littleendian PPUs with explicit paralocs on bigendian systems (this means Amiga/68k and MorphOS) 11 vuotta sitten
symtable.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
symtype.pas 2075dc5a53 * support for raising the visibility of inherited properties on the JVM 11 vuotta sitten
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 vuotta sitten
systems.inc 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 vuotta sitten
systems.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
tgobj.pas f55516ed32 * changed forcesize parameter of tgobj.gethltemp() from aint into asizeint, 11 vuotta sitten
tokens.pas 146e3bcb9e * synchronised with trunk till r29513 10 vuotta sitten
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 vuotta sitten
version.pas d407b668d1 * version updated to 3.1.1 10 vuotta sitten
widestr.pas 9fb4db7a2f * add support for Latin-2 character sets (ISO & IBM) 11 vuotta sitten
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 vuotta sitten
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 vuotta sitten
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because 11 vuotta sitten

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