svenbarth deb86a9e70 * Windows and GNU AS both correctly handle read only sections with relocations, so make use of that 8 年 前
..
aarch64 1b1fe68f92 Fix aarch64 cycle after constant parser simplification change in rev 35229-35230 8 年 前
arm 7e75457a3e Added more Nordic Semi controllers. Created a new unit for NRF52x controllers with a more precise register naming following Nordic SDK conventions. 8 年 前
avr 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 8 年 前
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 年 前
html fa0d3d79e0 no message 23 年 前
i386 f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul 8 年 前
i8086 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 8 年 前
jvm 098d64b631 * don't swap and/or boolean operations, they always need to be evaluated in 8 年 前
llvm 4b9179636b + support for creating and writing LLVM landingpad instructions 8 年 前
m68k 4d41decd5d * since m68k has a working implementation for the register calling convention and it's in fact used as default calling convention it should also be possible to explicitely declare routines as that calling convention 8 年 前
mips 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 8 年 前
msg 668b198d7c * fix for issue #29936: check if the internal needed types are available 8 年 前
powerpc 95cb456951 powerpc: set af_smartlink_sections for vasm 8 年 前
powerpc64 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 8 年 前
ppcgen 1342d0792f Fix powerpc cycle for AIX target 8 年 前
sparc 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can 8 年 前
systems 1c4207642c tabs to spaces indentation fixes. no functional changes 8 年 前
utils bba23f6561 * warnings fixed 8 年 前
x86 52f41a8f67 * fixed i8086 regressions after r35082 8 年 前
x86_64 f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul 8 年 前
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 年 前
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 年 前
Makefile dda85c3c49 Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 8 年 前
Makefile.fpc dda85c3c49 Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 8 年 前
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 年 前
aasmbase.pas a0efde8167 * automatically generate necessary indirect symbols when a new assembler 9 年 前
aasmcnst.pas a0c50336f3 * initialize tguid typed constants by searching for the named fields we need, 8 年 前
aasmdata.pas 729d582822 * move the indirect symbols from al_exports to a new assembler list al_indirectglobals; otherwise compilation would fail horribly if we'd try to compile with a .def file as then the al_exports sections are ignored by the internal linker 8 年 前
aasmdef.pas 729d582822 * move the indirect symbols from al_exports to a new assembler list al_indirectglobals; otherwise compilation would fail horribly if we'd try to compile with a .def file as then the al_exports sections are ignored by the internal linker 8 年 前
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 年 前
aasmtai.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 年 前
aggas.pas deb86a9e70 * Windows and GNU AS both correctly handle read only sections with relocations, so make use of that 8 年 前
aopt.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 9 年 前
aoptbase.pas bc73d0914e * TAOptBase.RegInRef compares using SuperRegistersEqual as TAOptBase.RegInOp does for top_reg already 8 年 前
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 年 前
aoptobj.pas b274599a47 * made some assembler optimizer methods class methods 9 年 前
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 9 年 前
assemble.pas d2fe24ae20 * fix some more occured->occured 8 年 前
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 年 前
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 年 前
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 年 前
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 12 年 前
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call 9 年 前
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 年 前
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 年 前
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 年 前
cgbase.pas c8202061dc * get rid of addr_load_indirect again by having tcgx86 provide an internal implementation of both make_simple_ref() and a_load_ref_reg() so that make_direct_ref() can call the latter (and the latter the former) without fear of inifinite recursive calls due to the symbol; a_load_ref_reg() is additionally declared as "final" as a_load_ref_reg_internal() needs to be overloaded instead (which is the case for tcg8086) 9 年 前
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年 前
cgobj.pas a25ebbba3e + added volatility information to all memory references 8 年 前
cgutils.pas a25ebbba3e + added volatility information to all memory references 8 年 前
cmsgs.pas aba10cd184 compiler: 14 年 前
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 年 前
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年 前
compinnr.inc 9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter 8 年 前
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 年 前
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 年 前
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 年 前
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年 前
cresstr.pas 4c9903455e - don't apply const_align() to alignments passed to high level typed 9 年 前
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 年 前
cutils.pas 62fc960e63 + utility function to reverse the bit pattern of a Word 8 年 前
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 年 前
dbgbase.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 年 前
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 8 年 前
dbgstabs.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 年 前
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年 前
defcmp.pas 5fa181b5d9 * second fix for Mantis #31033: also check for df_specialization instead of is_specialization for parameters to correctly handle nested types that aren't really true specializations themselves 8 年 前
defutil.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 年 前
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 年 前
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 年 前
entfile.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 年 前
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 年 前
expunix.pas 04f7e47df7 * create stubs for library exports on Unix at at the node tree level instead 8 年 前
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 年 前
fmodule.pas db40e1575d + support for handling the tcalo_no_dead_strip flag when targeting LLVM: 8 年 前
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 年 前
fpcdefs.inc 4ee4099fca m68k: introduce a register calling convention, inspired by VBCC. volatile registers are used to pass arguments 8 年 前
fpcp.pas e3d9dbbeef * Removed unused vars. 9 年 前
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 年 前
fppu.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 年 前
gendef.pas aee5380ae0 * merged trunk up to r20882 13 年 前
globals.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 年 前
globstat.pas 88af293155 Fix for Mantis #22160 13 年 前
globtype.pas 29a2c433f7 * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 8 年 前
hlcg2ll.pas a25ebbba3e + added volatility information to all memory references 8 年 前
hlcgobj.pas 1e374df5b8 * correctly calculate the bit mask in thlcgobj.a_load_regconst_subsetreg_intern, resolves #31042 8 年 前
htypechk.pas 7911cc8437 - removed some dataconstn remenants 8 年 前
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 年 前
import.pas bf1c390027 * refactor import library generation 19 年 前
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 年 前
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with 9 年 前
macho.pas e243cc77ea macho.pas: 9 年 前
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 年 前
msgidx.inc 668b198d7c * fix for issue #29936: check if the internal needed types are available 8 年 前
msgtxt.inc 668b198d7c * fix for issue #29936: check if the internal needed types are available 8 年 前
nadd.pas 331bb95c5e * simplify logical operations with constant booleans if the expresions involve no side effects 8 年 前
nbas.pas 82e6e1eb34 + tempinfo flag ti_no_final_regsync which prevents that the final reg. sync. is emitted 8 年 前
ncal.pas 7a57161b6d * in x:=f(..), we only checked for aliasing between x and any parameters of 8 年 前
ncgadd.pas 6d6a45c034 * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 8 年 前
ncgbas.pas a25ebbba3e + added volatility information to all memory references 8 年 前
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 年 前
ncgcnv.pas a25ebbba3e + added volatility information to all memory references 8 年 前
ncgcon.pas 1afab1ab69 * moved the floating point constant range checking code from 8 年 前
ncgflw.pas 5aa32a1bbe * align more jump targets 8 年 前
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年 前
ncginl.pas a25ebbba3e + added volatility information to all memory references 8 年 前
ncgld.pas 1c820e9c8e * similar change as in r34976 for the generic code: don't assume that if 8 年 前
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 年 前
ncgmem.pas a25ebbba3e + added volatility information to all memory references 8 年 前
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 年 前
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 年 前
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 年 前
ncgobjc.pas a25ebbba3e + added volatility information to all memory references 8 年 前
ncgopt.pas a25ebbba3e + added volatility information to all memory references 8 年 前
ncgrtti.pas 1d40e7e159 * correctly encapsulate the location records 8 年 前
ncgset.pas b156744b62 * left has been forced into a register of size uopdef a few statements 9 年 前
ncgutil.pas a1c0d1a1ff * moved exception handling helpers from ncgutil to ncgflw as they are only 8 年 前
ncgvmt.pas d36fe53d85 * factored out the code to create an complete alias for a procdef to 8 年 前
ncnv.pas a2017b2327 * don't keep tc_equal type conversions for LLVM in case the resultdef doesn't 8 年 前
ncon.pas 1afab1ab69 * moved the floating point constant range checking code from 8 年 前
nflw.pas 8471e02e40 * call simplify after typechecking for nodes 8 年 前
ngenutil.pas 29a2c433f7 * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name 8 年 前
ngtcon.pas 7af2663ed1 * fixed writing the VMT field of TP-style objects for typed constants if it 8 年 前
ninl.pas 6d6a45c034 * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 8 年 前
nld.pas a27b07b342 + more restrictions on pred/succ to dec/inc optimization 8 年 前
nmat.pas 1e5883b6d1 Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU 9 年 前
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 年 前
nobj.pas 668b198d7c * fix for issue #29936: check if the internal needed types are available 8 年 前
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 年 前
node.pas 7911cc8437 - removed some dataconstn remenants 8 年 前
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 年 前
nset.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 年 前
nutils.pas 9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter 8 年 前
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 年 前
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 年 前
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 8 年 前
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 年 前
ogbase.pas dd9ea88b79 * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 9 年 前
ogcoff.pas 78e945d471 - removed accidently added debug statement 8 年 前
ogelf.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 年 前
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年 前
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 年 前
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 年 前
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年 前
ogomf.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年 前
omfbase.pas 7ee133162c * use OMF section names, starting with dot for the dwarf debug info for 8 年 前
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 年 前
optconstprop.pas 7911cc8437 - removed some dataconstn remenants 8 年 前
optcse.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年 前
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 年 前
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 年 前
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint 9 年 前
options.pas 9cd707a27a * give an error if -Pxxx is specified to the compiler binary and xxx is not 8 年 前
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 年 前
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年 前
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 年 前
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 年 前
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年 前
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 年 前
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 年 前
parabase.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 8 年 前
paramgr.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) 8 年 前
parser.pas 02d145233d add m68k atari to the list of platforms which support syscalls 8 年 前
pass_1.pas 9fdd64e94c * indention and new line fixes 11 年 前
pass_2.pas 7911cc8437 - removed some dataconstn remenants 8 年 前
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 年 前
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 年 前
pdecl.pas 76f55f2030 * set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol 9 年 前
pdecobj.pas c2fec2e819 * if the objecttype of the forward declaration mismatches use the objecttype previously parsed; fixes access violation of webtbf/tw11970.pp 9 年 前
pdecsub.pas d133f210ca * correct comment, cause forward declarations for generic functions *do* indeed work (cause they use the same mechanism as forward definitions in the interface section) 8 年 前
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 年 前
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 年 前
pexpr.pas 22e579cc74 * fix for Mantis #31107: disallow calling of ordinary record methods using the record's type. 8 年 前
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 年 前
pgenutil.pas d34acf3bc7 * fix for Mantis #31120: check current_genericdef only if the current_procinfo isn't used 8 年 前
pinline.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 年 前
pkgutil.pas 472b5228fe * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef 8 年 前
pmodules.pas 048666a25c * when freeing a procdef that hasn't been registered for writing to the ppu 8 年 前
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年 前
pp.pas 7f3ac8bf51 * increase the maximum stack trace depth, when the compiler is compiled with -dEXTDEBUG 9 年 前
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 年 前
ppc68k.lpi 9ebf2aa984 * project file updates 13 年 前
ppc8086.lpi c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年 前
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 年 前
ppcarm.lpi 9ebf2aa984 * project file updates 13 年 前
ppcavr.lpi 9ebf2aa984 * project file updates 13 年 前
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 年 前
ppcmips.lpi 9ebf2aa984 * project file updates 13 年 前
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 年 前
ppcppc.lpi 9ebf2aa984 * project file updates 13 年 前
ppcppc64.lpi 9ebf2aa984 * project file updates 13 年 前
ppcsparc.lpi 9ebf2aa984 * project file updates 13 年 前
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 年 前
ppu.pas 7911cc8437 - removed some dataconstn remenants 8 年 前
ppx86_64.lpi e96dc4204e * version update 13 年 前
procinfo.pas a25ebbba3e + added volatility information to all memory references 8 年 前
pstatmnt.pas 35f8d5427f Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings. 9 年 前
psub.pas 7013a879c3 - disabled check for existence for texceptaddr/tguid/tjmpbuf in the system 8 年 前
psystem.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 年 前
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 年 前
ptype.pas f8c23c84b6 * have pointerdefs and classrefdefs "inherit" the df_generic and df_specialization flags from the def they point to and set the genericdef accordingly 8 年 前
raatt.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年 前
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 年 前
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 年 前
rautils.pas 5237a4d5e2 m68k: support register pair operands in assembler reader and writer, as used by some instructions (mainly DIVS/DIVU and friends) so we don't have to hack them as three operand instructions 8 年 前
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 年 前
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 年 前
rgobj.pas 4242949453 * write more information into the interference graph 8 年 前
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app 8 年 前
scanner.pas 8c701eaa7b * reset c in dir_include if it will be re-read 8 年 前
script.pas d2fe24ae20 * fix some more occured->occured 8 年 前
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 年 前
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 年 前
symconst.pas fdad2ebb9b + new set type tvisibilities for tvisibility 8 年 前
symcreat.pas d36fe53d85 * factored out the code to create an complete alias for a procdef to 8 年 前
symdef.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 年 前
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 年 前
symtable.pas 969e19ba1a * initialize module id of a symtable always to the id of the current module (at least if there is a current module, which is not the case for the initial macro symtable) 8 年 前
symtype.pas ee466b9a28 * extend tdef.fullownerhierarchyname() with a parameter that skips the inclusion of a procdef's parameter declaration using the new pno_noparams option 8 年 前
symutil.pas 94d7a7274b * compare floating point default parameter values bytewise instead of as 9 年 前
syscinfo.pas c7c37f66ed * refactored syscall types for unified naming,first bits of ARM AROS syscall support 8 年 前
systems.inc 4e51dc2298 m68k: enable named sections for vasm generated objects. have a separate as_m68k_as_aout for a.out objects which doesn't have named sections. amiga and atari gas defaults to a.out, so have it default on these systems. finally enable section smartlinking for amiga and atari, which will be used with vasm assembler 8 年 前
systems.pas ccf6504584 systems_aros, and systems_amigalike as collection for target defines 8 年 前
tgobj.pas a25ebbba3e + added volatility information to all memory references 8 年 前
tokens.pas c7c37f66ed * refactored syscall types for unified naming,first bits of ARM AROS syscall support 8 年 前
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 年 前
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 年 前
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 年 前
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 16 年 前
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 年 前
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: 9 年 前

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