svenbarth 1aa80f77cb - remove no longer needed global variable allow_array_constructor 8 år sedan
..
aarch64 aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
arm 2ae3ce79bb * ARM: Never use the "BLX label" instruction. Use "BL label" instead. 8 år sedan
avr 39b7f1bffe * do not write assembler optimizer debug output in avr assembler files 8 år sedan
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 0cd70844f1 + take into account the fact that lea doesn't read the segment register of its 8 år sedan
i8086 4e4e5d6d07 + allocate and free the flags register (when necessary), when generating code 8 år sedan
jvm 82b2d22ed6 * keep track of allow_array_constructor as part of the array constructor node 8 år sedan
llvm c16238e8dd * fix for Mantis #31464: add an entry for the WebAssembly CPU (this is already the target name that LLVM uses) 8 år sedan
m68k 6d795df166 m68k: removed silly debug writeln accidentally left in r35671 8 år sedan
mips aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
msg e7fd71db36 + write name of segment/group which is too large 8 år sedan
powerpc a018235811 * fixed powerpc compiler compilation with -dEXTDEBUG 8 år sedan
powerpc64 aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
ppcgen 1342d0792f Fix powerpc cycle for AIX target 8 år sedan
sparc aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
systems 01ebb52ba8 morphos: added tf_needs_smybol_type and tf_needs_symbol_size flags. fixes generated executables to not be falsely recognized as PowerUP but native binaries 8 år sedan
utils d6bf9e03ec Add missing management operator options to ppudump 8 år sedan
x86 aa93259463 + support the lahf,fstsw and fnstsw instructions in 8 år sedan
x86_64 ff1ee6836d + fix RegReadByInstruction for the x86 MOVSD instruction 8 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 år sedan
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 år sedan
Makefile 17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks 8 år sedan
Makefile.fpc dda85c3c49 Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 8 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 8 år sedan
aasmcnst.pas 822d96776b * extend tai_typedconstbuilder with the ability to add an indirect symbol to the same section as the one that's generated for the constant data (at least if it's also rodata) 8 år sedan
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
aasmdef.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 8 år sedan
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
aasmtai.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
aggas.pas 6eee90ad3f Fix section alignment code for GNU assembler for smartlinked objects on aix system 8 år sedan
aopt.pas 7ea0429d40 + added new compiler debug ifdef DEBUG_INSTRUCTIONREGISTERDEPENDENCIES, which 8 år sedan
aoptbase.pas 9b7a8f0da5 + take into account the x86 segment register in TAOptBase.RegInRef 8 år sedan
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 år sedan
aoptobj.pas c096b1fe6b * fixed the debug output, generated by -dDEBUG_INSTRUCTIONREGISTERDEPENDENCIES 8 år sedan
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 9 år sedan
assemble.pas ca11a4baaa * only generate a big obj COFF file if the high bound of the sections is larger than $7fff (it could be that the final count is smaller again as sections that have the same name are combined) 8 år sedan
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 år sedan
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 år sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
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 år sedan
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call 9 år sedan
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 år sedan
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 år sedan
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 år sedan
cgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 år sedan
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
cgobj.pas e79f49a2b4 + mask only the low bits that matter for the const of OP_ROL and OP_ROR in 8 år sedan
cgutils.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
cmsgs.pas aba10cd184 compiler: 14 år sedan
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 år sedan
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 år sedan
compinnr.inc f514657e45 + implemented the sar/shl/shr/rol/ror inline modify-in-place nodes; the actual 8 år sedan
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 år sedan
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 år sedan
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas 4c9903455e - don't apply const_align() to alignments passed to high level typed 9 år sedan
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 år sedan
cutils.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 8 år sedan
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 år sedan
dbgbase.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 år sedan
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 8 år sedan
dbgstabs.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 år sedan
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 år sedan
defcmp.pas bdef19fd79 * indeed allow the conversion of array constructors to dynamic arrays 8 år sedan
defutil.pas 876c0c5fd5 + added helper function are_equal_ints() 8 år sedan
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 år sedan
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 år sedan
entfile.pas bfd95d6bef fix build with generic_cpu defined after r35497 8 år sedan
export.pas adbef4fc84 New export option that enforces the use of the provided export name instead of using the name of the provided symbol. This is necessary to correctly handle overloaded functions, especially if one of them is an internproc one. 9 år sedan
expunix.pas 04f7e47df7 * create stubs for library exports on Unix at at the node tree level instead 8 år sedan
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 år sedan
fmodule.pas d3f69c1753 atari: tos is no longer a define, so use atari to define shortasmprefix 8 år sedan
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 år sedan
fpcdefs.inc d7c8a081a1 + enable using the cg64 ops OP_SHR/OP_SHL/OP_SAR on i386 for implementing the 8 år sedan
fpcp.pas e3d9dbbeef * Removed unused vars. 9 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas 4e1f999b02 * write full path name when ppu crc checks fail/conflict (patch by 8 år sedan
gendef.pas aee5380ae0 * merged trunk up to r20882 13 år sedan
globals.pas 265c8e7bbc + support for specifying ms_abi_default, ms_abi_cdelc, sysv_abi_default, and 8 år sedan
globstat.pas 88af293155 Fix for Mantis #22160 13 år sedan
globtype.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 år sedan
hlcg2ll.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
hlcgobj.pas b86f2d7e3c * only initialize global regvars in unit and main program init code 8 år sedan
htypechk.pas 1aa80f77cb - remove no longer needed global variable allow_array_constructor 8 år sedan
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 år sedan
import.pas bf1c390027 * refactor import library generation 19 år sedan
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with 9 år sedan
macho.pas e243cc77ea macho.pas: 9 år sedan
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 år sedan
msgidx.inc e7fd71db36 + write name of segment/group which is too large 8 år sedan
msgtxt.inc e7fd71db36 + write name of segment/group which is too large 8 år sedan
nadd.pas 546e993c25 * use resultdef for the type of the resulting zero const from the '0*x' and 8 år sedan
nbas.pas ec45a92fb5 * more nodedata printing fixes, similiar to r35477 8 år sedan
ncal.pas 1aa80f77cb - remove no longer needed global variable allow_array_constructor 8 år sedan
ncgadd.pas 6d6a45c034 * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 8 år sedan
ncgbas.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
ncgcal.pas f5f895e2a3 syscalls: unify call reference creation across 4 different CPU archs. less copypasted code, brings x86_64 AROS support up to speed 8 år sedan
ncgcnv.pas 0cf5ef459d + tcgtypeconvnode.second_class_to_intf supports LOC_CONSTANT as well, resolves #31596 8 år sedan
ncgcon.pas 1afab1ab69 * moved the floating point constant range checking code from 8 år sedan
ncgflw.pas 5405a4727a * Removed unused vars. 8 år sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas d8ec0eff8e + implemented inline code generation for 64-bit sar (the SarInt64 intrinsic) on 8 år sedan
ncgld.pas ea3495c20e * compilation with -Oodfa fixed 8 år sedan
ncgmat.pas 0b1a54f924 * on 16-bit CPUs, avoid the unnecessary 32-bit conversion of the right shl/shr 8 år sedan
ncgmem.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 år sedan
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 år sedan
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 år sedan
ncgobjc.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
ncgopt.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
ncgrtti.pas af8e0efe57 * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 8 år sedan
ncgset.pas 95094e9a8f * Removed unused vars. 8 år sedan
ncgutil.pas d149f260fc - remove no longer needed gen_fpc_dummy() 8 år sedan
ncgvmt.pas f517311227 * ensure that the indirect symbols for VMT, RTTI and IID reside in the same sections as the symbols they point to -> reduces the amount of sections for them by half 8 år sedan
ncnv.pas df893b4a30 * implement a type conversion from an array constructor to a dynamic array 8 år sedan
ncon.pas a2bd07bfd6 * fixed compilation of 64-bit cross-compilers on 32 bit platforms 8 år sedan
nflw.pas c6f19b9888 * create_for_in_loop: if there's a choice between iterating an array and a set then prefer the set for backwards compatibility 8 år sedan
ngenutil.pas cadf177a93 * fixed bugs in r33737: that revision was supposed to only move 8 år sedan
ngtcon.pas 5405a4727a * Removed unused vars. 8 år sedan
ninl.pas 987cf2a9cf * fixed a bug in the maxqword check in the Rol/RorQWord(maxqword,x)->maxqword 8 år sedan
nld.pas 8f4ef91efb * tarrayconstructornode: force conversion to set if there's a range node in the tree 8 år sedan
nmat.pas de1e0c405e + optimize '0 shl x' and '0 shr x' to 0 8 år sedan
nmem.pas 0e7a9ad375 * partial fix for Mantis #30831 (partial, because no exception has been encountered yet): when checking whether the left node of a vmtaddrnode is a generic, don't rely on df_generic, but instead use is_generic which checks for a true generic (the other will also be true if it's merely a structured type declared (or specialized) inside another generic) 8 år sedan
nobj.pas 668b198d7c * fix for issue #29936: check if the internal needed types are available 8 år sedan
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 år sedan
node.pas 7911cc8437 - removed some dataconstn remenants 8 år sedan
nopt.pas 82b2d22ed6 * keep track of allow_array_constructor as part of the array constructor node 8 år sedan
nset.pas d5754cf47c * create jmp trees for really big case statements 8 år sedan
nutils.pas b6d05dba9e * mark the sar/shl/shr/rol/ror_assign nodes as having side effects 8 år sedan
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 år sedan
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 år sedan
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 8 år sedan
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 år sedan
ogbase.pas dd9ea88b79 * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 9 år sedan
ogcoff.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 8 år sedan
ogelf.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 år sedan
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 år sedan
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 år sedan
ogomf.pas e7fd71db36 + write name of segment/group which is too large 8 år sedan
omfbase.pas 7ee133162c * use OMF section names, starting with dot for the dwarf debug info for 9 år sedan
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 år sedan
optconstprop.pas 8512f8240e + enable constant propagation across 2-parameter inc()/dec() calls 8 år sedan
optcse.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 år sedan
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 år sedan
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 år sedan
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint 9 år sedan
options.pas af8e0efe57 * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 8 år sedan
optloadmodifystore.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 år sedan
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 år sedan
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 år sedan
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 år sedan
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 år sedan
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 år sedan
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 år sedan
parabase.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 8 år sedan
paramgr.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 8 år sedan
parser.pas 1aa80f77cb - remove no longer needed global variable allow_array_constructor 8 år sedan
pass_1.pas 9fdd64e94c * indention and new line fixes 11 år sedan
pass_2.pas 7911cc8437 - removed some dataconstn remenants 8 år sedan
pbase.pas 5a344ee263 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: 10 år sedan
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 år sedan
pdecl.pas 4c68ea1000 * use pocalls_cdecl and cstylearrayofconst more consistently instead of 8 år sedan
pdecobj.pas 48b149acd4 New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 8 år sedan
pdecsub.pas 8024fcd7ec * if an operator overload in a structured type is invalid print an error only for the declaration and not the implementation as well 8 år sedan
pdecvar.pas 464ecab542 huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 9 år sedan
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 år sedan
pexpr.pas 1aa80f77cb - remove no longer needed global variable allow_array_constructor 8 år sedan
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 år sedan
pgenutil.pas 8024fcd7ec * if an operator overload in a structured type is invalid print an error only for the declaration and not the implementation as well 8 år sedan
pinline.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 år sedan
pkgutil.pas 472b5228fe * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef 8 år sedan
pmodules.pas cc42bb8a7a * generate the package stub for all Windows and NativeNT targets 8 år sedan
pp.lpi ed984e0c76 - removed missing file from project 8 år sedan
pp.pas e12e47c01a * set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517 8 år sedan
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 år sedan
ppc68k.lpi 9ebf2aa984 * project file updates 13 år sedan
ppc8086.lpi 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 år sedan
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 år sedan
ppcarm.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcavr.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 år sedan
ppcmips.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc64.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcsparc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas 15ba9b54c6 Store informations about management operators in ppu files for records. 8 år sedan
ppx86_64.lpi e96dc4204e * version update 13 år sedan
procinfo.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
pstatmnt.pas 48b149acd4 New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 8 år sedan
psub.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 år sedan
psystem.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 år sedan
ptconst.pas 464ecab542 huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention 9 år sedan
ptype.pas 48b149acd4 New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 8 år sedan
raatt.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 år sedan
rautils.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 år sedan
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 år sedan
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 år sedan
rgobj.pas 60e21e4222 * Reverted r34524 - workaround for compiling with -gc. It is not needed anymore since cycle completes with -gc. 8 år sedan
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app 8 år sedan
scanner.pas e87cc28b64 Replaced owner field by fileindex field in tpreprocstack class, in order to display correct include file for scan_e_endif_expected error 8 år sedan
script.pas d2fe24ae20 * fix some more occured->occured 8 år sedan
switches.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 9 år sedan
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 år sedan
symconst.pas af8e0efe57 * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 8 år sedan
symcreat.pas 1a6a8b7c9f + introduce a new potype for the main stub of a package library (which on Windows is simply a DLLMain returning True) 8 år sedan
symdef.pas 5f8135dd84 * tarraydef.setelementdef: don't call size for array constructors as they'll only have one once they're converted to dynamic arrays 8 år sedan
symsym.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution 8 år sedan
symtable.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 8 år sedan
symtype.pas 5426c11611 marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying 8 år sedan
symutil.pas 94d7a7274b * compare floating point default parameter values bytewise instead of as 9 år sedan
syscinfo.pas c7c37f66ed * refactored syscall types for unified naming,first bits of ARM AROS syscall support 8 år sedan
systems.inc 319a397ae8 webassembly: reserve a system id and cpu id slot for the platform 8 år sedan
systems.pas 9fc17dc9e9 Fix FreeBSD cycle starting for release compiler after FPSysCtl interface change 8 år sedan
tgobj.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
tokens.pas 25db29d0a6 * symtable.pas: 8 år sedan
verbose.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 år sedan
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 år sedan
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 år sedan
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 år sedan
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 år sedan
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: 9 år sedan

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