svenbarth 0818fe56d2 Correctly handle external functions that are used from other units. 9 ani în urmă
..
aarch64 02495c17bd Fix a typo. The CPU specific version of "ttypesym" should be called "tcputypesym" and not "tcpuypesym". 11 ani în urmă
alpha 02495c17bd Fix a typo. The CPU specific version of "ttypesym" should be called "tcputypesym" and not "tcpuypesym". 11 ani în urmă
arm e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
avr e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
generic 02495c17bd Fix a typo. The CPU specific version of "ttypesym" should be called "tcputypesym" and not "tcpuypesym". 11 ani în urmă
html fa0d3d79e0 no message 23 ani în urmă
i386 5356f17fa5 * i386: switch the div/mod node to shared code, leaving in place the specific optimization for division by power of 2. 11 ani în urmă
i8086 d86a8ebc99 * defutil.get_int_result_type_from_pointer_subtraction moved to a virtual 11 ani în urmă
ia64 02495c17bd Fix a typo. The CPU specific version of "ttypesym" should be called "tcputypesym" and not "tcpuypesym". 11 ani în urmă
jvm 627c83e828 * when creating a bare procdef copy, don't copy the funcret parameter. 11 ani în urmă
m68k b7da785688 * m68k: support stack cleanup at caller side, fixed calculation of pushed parameters size and offsets and cleaned out another pile of junk. 11 ani în urmă
mips e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
msg 9a5b713afd msg/errore.msg: 9 ani în urmă
powerpc 7cfd7a66cd + create a special 'heap' segment with reserved space equal to heapsize (i.e. 11 ani în urmă
powerpc64 90d2009a31 * Moved procedures calculating "magic" numbers for division by constants from powerpc64/cgcpu.pas to cgutils.pas, so they can be reused for all targets. 11 ani în urmă
ppcgen e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
sparc e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
systems 0c34a5a5c8 systems/t_linux.pas, TLinkerLinux: 9 ani în urmă
utils f359fe4690 Extract reading of the PPU/PCP version into tentryfile. 11 ani în urmă
vis b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
x86 9b560ffd64 * x86 intel syntax inline asm: allow a segment override (segcs,segds,seges,etc.) 11 ani în urmă
x86_64 dc628b8969 * x86: Completely skip instructions that do not exist for target CPU bit width. The existing behavior of writing mnemonics and properties but no encoding allows an invalid instruction to be recognized by assembler reader or even generated by compiler, but it but won't assemble anyway. 11 ani în urmă
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 ani în urmă
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 ani în urmă
Makefile 1e9f57467d - m68k: removed "-dNOOPT" at build time, enabling the branch optimizer. Not tested thoroughly, but it does not change compiler behavior unless "-O1" or higher is supplied at command line. 11 ani în urmă
Makefile.fpc 1e9f57467d - m68k: removed "-dNOOPT" at build time, enabling the branch optimizer. Not tested thoroughly, but it does not change compiler behavior unless "-O1" or higher is supplied at command line. 11 ani în urmă
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 ani în urmă
aasmbase.pas 7cfd7a66cd + create a special 'heap' segment with reserved space equal to heapsize (i.e. 11 ani în urmă
aasmdata.pas d25330e367 * Removed tasmdata.realname (it is not used anywhere) and changed tasmdata.name to pshortstring. The name string is owned by tmodule and referenced by tasmdata. This removes 80-char limit on tasmdata.name, Mantis #25009. 12 ani în urmă
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 ani în urmă
aasmtai.pas 46f8e78d1f + Support GOT/gp-relative constants in GAS and internal assemblers, MIPS and i386. 11 ani în urmă
aggas.pas b4a2b51090 Revert revisions 28791, 28794 and 28795. AB_PRIVATE_EXTERN is only available for Mach-o 10 ani în urmă
agjasmin.pas 43992495cb * moved jvm tprocdef name mangling to jvm-specific descendant class 11 ani în urmă
aopt.pas 92fa75838e * honour -Oonopeephole 11 ani în urmă
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 ani în urmă
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 ani în urmă
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 ani în urmă
aoptobj.pas 8060d4a3f7 * when updating registers in RegUsedAfterInstruction, new reg. allocs should be ignored 11 ani în urmă
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 ani în urmă
assemble.pas 2d38cf0dbd assemble: don't include exec directly, but use GetProcessID to generate the unique file ID, because that maps to exec/FindTask on Amiga anyway 11 ani în urmă
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 ani în urmă
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 ani în urmă
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 ani în urmă
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 ani în urmă
cclasses.pas 44a7c89ed9 cclasses.pas, TCmdStrList: 9 ani în urmă
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 ani în urmă
cfileutl.pas e87e2f9c30 Print out command line before running it with -vx option 11 ani în urmă
cg64f32.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
cgbase.pas ec6dfb5853 + added tcgsize2str function 11 ani în urmă
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions 11 ani în urmă
cgobj.pas e4fea2ebc8 * Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning. 11 ani în urmă
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 ani în urmă
cmsgs.pas aba10cd184 compiler: 13 ani în urmă
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 ani în urmă
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 12 ani în urmă
compinnr.inc d88d644925 + support for FMA intrinsic: if there is no hardware support, the compiler throws an error. 11 ani în urmă
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 ani în urmă
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 ani în urmă
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 ani în urmă
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
cresstr.pas fe4f179082 Adjust resourcestrings so they use indirect references as well. 9 ani în urmă
cstreams.pas 0fbc3fc45f + new stream class TCRangeStream that represents a substream of another stream while being also extendable 9 ani în urmă
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 ani în urmă
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 ani în urmă
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 ani în urmă
dbgdwarf.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
dbgstabs.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 ani în urmă
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 ani în urmă
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 ani în urmă
defutil.pas d86a8ebc99 * defutil.get_int_result_type_from_pointer_subtraction moved to a virtual 11 ani în urmă
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 ani în urmă
entfile.pas 5aa7e5740b Store the modified PPU files directly inside the PCP and thus get finally rid of the .ppl.ppu files. 9 ani în urmă
export.pas 7e52579c4f Provide a possibility to ignore duplicate symbols for exporting. 10 ani în urmă
expunix.pas d9983f2d35 expunix.pas, texportlibunix: 9 ani în urmă
finput.pas 5e76203bc3 * don't hard-code size of linebuf entries 11 ani în urmă
fmodule.pas bbfb7c4cad Add a possibility to track if a unit was loaded from a package. 10 ani în urmă
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 ani în urmă
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 ani în urmă
fpcp.pas bb07909509 fpcp.pas, tpcppackage: 9 ani în urmă
fpkg.pas ac6ba043e1 Keep track whether a package was added directly through a requires section (or the command line) or indirectly. 9 ani în urmă
fppu.pas 979bf84e5d Fix cycling 9 ani în urmă
gendef.pas aee5380ae0 * merged trunk up to r20882 13 ani în urmă
globals.pas b46e909349 Provide possibility to pass packages and search paths for packages as parameters. 10 ani în urmă
globstat.pas 88af293155 Fix for Mantis #22160 13 ani în urmă
globtype.pas fe1087d07a Introduce new Delphi compatible switch $IMPORTEDDATA/$G which allows to control locally whether variable locations are loaded indirectly or directly. 11 ani în urmă
hlcg2ll.pas 847adff94d * Load double-precision locations from integer registers directly into cgpara if sizes match and destination has a single location. 11 ani în urmă
hlcgobj.pas d97d3840b9 Use indirect reference for the RTL helpers that require RTTI symbols. 9 ani în urmă
htypechk.pas 1744988962 * Modified behavior of CExtended type in overload selection: it is made more compatible to Extended than to Double and Single. Also an Extended parameter selects a CExtended overload (if available) instead of Double. 11 ani în urmă
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 ani în urmă
import.pas bf1c390027 * refactor import library generation 19 ani în urmă
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 ani în urmă
link.pas eddab86312 * pass the -b option to wlib to avoid creating .bak files 11 ani în urmă
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 ani în urmă
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 ani în urmă
msgidx.inc fd2b8dab91 * regenerated msgtxt.inc & msgidx.inc after r32513 9 ani în urmă
msgtxt.inc fd2b8dab91 * regenerated msgtxt.inc & msgidx.inc after r32513 9 ani în urmă
nadd.pas 6d54046300 * output a proper error message in case number+nil is encountered (just like 11 ani în urmă
nbas.pas 9e29fd424d * changed the "laststatement" parameter of internalstatements() from "var" 11 ani în urmă
ncal.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code 11 ani în urmă
ncgcal.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 ani în urmă
ncgcnv.pas c94c356561 Use the indirect symbol to access the exported "emptychar" variable. 10 ani în urmă
ncgcon.pas 8b2cde4a99 * fixed tcgstringconstnode.pass_generate_code for i8086 far data memory models 11 ani în urmă
ncgflw.pas ca91178c5d ncgflw.pas, tcgonnode: 9 ani în urmă
ncginl.pas 214eaebf99 * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models 11 ani în urmă
ncgld.pas fe4f179082 Adjust resourcestrings so they use indirect references as well. 9 ani în urmă
ncgmat.pas 63f0731913 * 16/8-bit alu fix in tcgunaryminusnode.emit_float_sign_change 11 ani în urmă
ncgmem.pas 3699246895 Load the VMT using the indirect symbol if the target supports packages. 11 ani în urmă
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 ani în urmă
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 ani în urmă
ncgobjc.pas 4cf5e36ce7 compiler: 14 ani în urmă
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
ncgrtti.pas 3d2e1b7634 Ensure that no unnecessary symbols are generated for generics. 9 ani în urmă
ncgset.pas 1d4de72aa7 + 8-bit ALU support in tcgcasenode.genlinearcmplist 11 ani în urmă
ncgutil.pas 8df3f8dcd2 Ensure that unneeded initialization/finalization procedures don't leave assembler symbols. 10 ani în urmă
ncgvmt.pas 920997c29b ncgvmt.pas, TVMTWriter: 9 ani în urmă
ncnv.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
ncon.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
nflw.pas ea0b9efd20 + support for simplifying empty try-except statements 11 ani în urmă
ngenutil.pas de6c7af448 Convert WideStrInits and ResStrInits to indirect symbols. 9 ani în urmă
ngtcon.pas 4832682c58 * fixed i8086 far pointer typed constants that are initialized with nil 11 ani în urmă
ninl.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
nld.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
nmat.pas c184d9740c + Implemented target-independent optimization of signed "mod 2**N" as 11 ani în urmă
nmem.pas 02dff17ae0 * taddrnode: fixed getting the address of nested procs in tp mode in i8086 far 11 ani în urmă
nobj.pas 89e9fac562 * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far 11 ani în urmă
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 ani în urmă
node.pas 5e33294782 Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile 11 ani în urmă
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 ani în urmă
nset.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
nstate.pas 790a4fe2d3 * log and id tags removed 20 ani în urmă
nutils.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
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 ani în urmă
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by 11 ani în urmă
objcutil.pas 6a1b314ce8 Convert export options from constants to a set and accordingly adjust all usage locations 11 ani în urmă
ogbase.pas b4a2b51090 Revert revisions 28791, 28794 and 28795. AB_PRIVATE_EXTERN is only available for Mach-o 10 ani în urmă
ogcoff.pas 7cfd7a66cd + create a special 'heap' segment with reserved space equal to heapsize (i.e. 11 ani în urmă
ogelf.pas 7cfd7a66cd + create a special 'heap' segment with reserved space equal to heapsize (i.e. 11 ani în urmă
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 ani în urmă
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 ani în urmă
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 ani în urmă
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 ani în urmă
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 ani în urmă
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 ani în urmă
optcse.pas 99e1bb32a2 + apply cse to more inline nodes 11 ani în urmă
optdead.pas 70088d12a8 * eliminate classes unit from the compiler by copying an array of string based 11 ani în urmă
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 ani în urmă
optdfa.pas c44b5d1043 * take care of tempinitcode when creating def information for tempcreatenodes 11 ani în urmă
options.pas ac6ba043e1 Keep track whether a package was added directly through a requires section (or the command line) or indirectly. 9 ani în urmă
optloop.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 ani în urmă
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 ani în urmă
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 ani în urmă
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 ani în urmă
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 ani în urmă
paramgr.pas d8d35a32c9 - rm bogus ifdef cpu16bitalu from tparamanager.allocparaloc and .freecgpara 11 ani în urmă
parser.pas 1910177cf0 + added heapmax support to the $M directive on i8086-msdos. It is currently 11 ani în urmă
pass_1.pas 9fdd64e94c * indention and new line fixes 11 ani în urmă
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 ani în urmă
pbase.pas c6496f8ec5 Fix for Mantis #26278. 11 ani în urmă
pcp.pas 5aa7e5740b Store the modified PPU files directly inside the PCP and thus get finally rid of the .ppl.ppu files. 9 ani în urmă
pdecl.pas bff8dc3fbf + added parser support for huge pointer declarations 11 ani în urmă
pdecobj.pas 49a9f4c1ea Fix for Mantis #26123. 11 ani în urmă
pdecsub.pas 2df1d5ec58 * don't allow default parameter values for parameter types that don't accept 11 ani în urmă
pdecvar.pas 159a35da4e * check for read/write after a newly declared property (mantis #26011) 11 ani în urmă
pexports.pas e6a181c91d Fix a bug introduced in r28691. The only testsuite failure on Win32 compared to Trunk is test/tstrutils2.pp, but that could be because I branched while that test was broken anyway... 9 ani în urmă
pexpr.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
pgenutil.pas 1bbcc08a8b Fix for Mantis #26176. Don't handle "type helper" as unique. 11 ani în urmă
pinline.pas 5bf3813d6d Load RTTI symbols indirectly for targets that support packages. 11 ani în urmă
pkgutil.pas 0818fe56d2 Correctly handle external functions that are used from other units. 9 ani în urmă
pmodules.pas 4bea75f3bf pmodules.pas, finish_unit: 9 ani în urmă
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 ani în urmă
pparautl.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 ani în urmă
ppc68k.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppc8086.lpi 3cc8ff11e3 + generate the stack segment for i8086 far data memory models from within fpc 11 ani în urmă
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 ani în urmă
ppcarm.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcavr.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 ani în urmă
ppcmips.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcppc.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcppc64.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppcsparc.lpi 9ebf2aa984 * project file updates 13 ani în urmă
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 ani în urmă
ppu.pas fb9c9af4bc Correctly parse the directives DenyPackageUnit and WeakPackageUnit 9 ani în urmă
ppx86_64.lpi e96dc4204e * version update 13 ani în urmă
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 ani în urmă
pstatmnt.pas 270c2d700e * allow the "then" part of an if-statement to be terminated by any endtoken, 11 ani în urmă
psub.pas 8718e66382 psub.pas: 9 ani în urmă
psystem.pas c8130843b2 * fixed 'cannot convert type' error when comparing two voidhugepointers with 11 ani în urmă
ptconst.pas b4a2b51090 Revert revisions 28791, 28794 and 28795. AB_PRIVATE_EXTERN is only available for Mach-o 10 ani în urmă
ptype.pas aca48a4cf2 Fix for Mantis #26288. Types declared inside a generic must have the df_generic flag set. Period. 11 ani în urmă
raatt.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 ani în urmă
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 ani în urmă
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 ani în urmă
rautils.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 ani în urmă
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 ani în urmă
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 ani în urmă
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 ani în urmă
rgobj.pas 246caf3526 * never alias/coalesce cpu registers that are not usable by the register 11 ani în urmă
scandir.pas fb9c9af4bc Correctly parse the directives DenyPackageUnit and WeakPackageUnit 9 ani în urmă
scanner.pas dc17b55505 * switch to asmmode_i8086_intel instead of asmmode_i386_intel on i8086 when tp 11 ani în urmă
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 ani în urmă
switches.pas fe1087d07a Introduce new Delphi compatible switch $IMPORTEDDATA/$G which allows to control locally whether variable locations are loaded indirectly or directly. 11 ani în urmă
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 ani în urmă
symconst.pas bd4536cf95 Use a constant for the suffix for indirect symbols. 11 ani în urmă
symcreat.pas 256f2fcf69 * fixed finish_copied_procdef() in case newstruct is nil after support for 11 ani în urmă
symdef.pas 5e33294782 Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile 11 ani în urmă
symnot.pas 790a4fe2d3 * log and id tags removed 20 ani în urmă
symsym.pas 5e33294782 Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile 11 ani în urmă
symtable.pas 6f15aef215 To correctly generate the import library for a package we need to resolve the dangling external symbols of all units. For this each unit now stores which symbols it exported from another unit and it also stores all global and external assembler symbols it has (maybe this can be streamlined later on, but for now this works). 10 ani în urmă
symtype.pas aa961cbe38 Have the compiler generate indirect symbols for RTTI symbols. 11 ani în urmă
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 ani în urmă
systems.inc 19ba1b43a1 Add possibility to use GNU assembler gas on naitve AIX 11 ani în urmă
systems.pas d4279fac24 Correctly handle export/import generation depending on whether we're compiling for a system that needs indirect imports or not. 9 ani în urmă
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 ani în urmă
tokens.pas bff8dc3fbf + added parser support for huge pointer declarations 11 ani în urmă
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 ani în urmă
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 ani în urmă
widestr.pas 9fb4db7a2f * add support for Latin-2 character sets (ISO & IBM) 11 ani în urmă
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 ani în urmă
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 ani în urmă
wpoinfo.pas 5e33294782 Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile 11 ani în urmă

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