pierre bd428ce6ad Use getptruint for pointer type const, fixes i8086 ppudump problems 8 anni fa
..
aarch64 a1a14eaaa8 * fix aarch64 building 8 anni fa
arm 09a8cafcd7 Restricted MlaCmp>Mlas optimization to only work in ARM mode. 8 anni fa
avr db09759763 * also integrated the getnextreg() implementation for 8-bit and 16-bit alus from 8 anni fa
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 anni fa
html fa0d3d79e0 no message 23 anni fa
i386 05ecd784f2 * factored out OptPass1LEA and use it for x86-64 as well 8 anni fa
i8086 db09759763 * also integrated the getnextreg() implementation for 8-bit and 16-bit alus from 8 anni fa
jvm 7c9aeda656 * rework InsertInitFinalTable a bit more so that the list of init/fini entries does not need to be generated twice for AVR 8 anni fa
llvm e4dbd24a49 + inline trunc() support for the LLVM backend when using -Oofastmath (because 8 anni fa
m68k e1501c86bf m68k: fix no FPU support 8 anni fa
mips 61af0fb72d * only take into account the location of the parameter at the callee side to 8 anni fa
msg 2126f008f9 m68k: added NetBSD and MacOS to the compiler help output as targets 8 anni fa
powerpc f9c1d0c0db - TPPCMPWAssembler: remove support for 8-Byte alignment again as that shouldn't be necessary anymore with the alignment fixes in i_macos.pas; so it's better we get an internal error again if someone tries to use it 8 anni fa
powerpc64 61af0fb72d * only take into account the location of the parameter at the callee side to 8 anni fa
ppcgen 903548b21a morphos: added legacy GNU AS support for the ancient AS version, which is still bundled as default in the SDK. switches off named sections support in the assembler generator 8 anni fa
sparc 9c3f5db022 * split create_paraloc_info_intern for sparc32 and sparc64 8 anni fa
sparc64 049d7884cd * take advantage of the fact that SRA reg1,x,reg2 sign extends to the upper 32 bit bits of a 64 bit register 8 anni fa
sparcgen bfeb5fef53 + cas* mnemonics for sparc64 8 anni fa
systems fd00920006 m68k-palmos: internal sysinit, and patch target support so it works prc-tools-remix on a modern system 8 anni fa
utils bd428ce6ad Use getptruint for pointer type const, fixes i8086 ppudump problems 8 anni fa
x86 05ecd784f2 * factored out OptPass1LEA and use it for x86-64 as well 8 anni fa
x86_64 05ecd784f2 * factored out OptPass1LEA and use it for x86-64 as well 8 anni fa
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 anni fa
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 anni fa
Makefile 89b3f6c86a Fix the RTL directory for old OSes that use OS_TARGET only for rtlppulogs rule 8 anni fa
Makefile.fpc 89b3f6c86a Fix the RTL directory for old OSes that use OS_TARGET only for rtlppulogs rule 8 anni fa
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 anni fa
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 anni fa
aasmcnst.pas 2ad265505b * properly align unicode- and ansistring constants 8 anni fa
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 anni fa
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 anni fa
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 anni fa
aasmtai.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 anni fa
aggas.pas f37613ddd8 * Use .rodata and .data.rel.ro sections for Android with PIC. 8 anni fa
aopt.pas b1dff29cbf * removed unused units 8 anni fa
aoptbase.pas 7f286eb54e + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) 8 anni fa
aoptda.pas b1dff29cbf * removed unused units 8 anni fa
aoptobj.pas 8315c660f4 * fix JumpTargetOp for sparc64 8 anni fa
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType 8 anni fa
assemble.pas b1dff29cbf * removed unused units 8 anni fa
blockutl.pas b1dff29cbf * removed unused units 8 anni fa
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 anni fa
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 anni fa
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 anni fa
cclasses.pas 5e07957594 + TLinkedList.RemoveAll 8 anni fa
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 anni fa
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 anni fa
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 anni fa
cgbase.pas 5e969d90cb + SPARC64 cpugas unit 8 anni fa
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 anni fa
cgobj.pas c8b351fb67 + added check in GetNextReg(), so it halts with an internal error, if called on 8 anni fa
cgutils.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 anni fa
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 anni fa
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 anni fa
compiler.pas 2095cca98f * ensure that source info is set correctly on Win64 by including i_win for all Windows targets (this is especially important when cross compiling (e.g. Java) as otherwise the utilities won't be found correctly) 8 anni fa
compinnr.pas 0b02dab684 + new Delphi-compatible intrinsic GetTypeKind() which returns the TTypeKind of a type as a constant value (and thus can be optimized away in If- and Case-statements) 8 anni fa
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 anni fa
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 anni fa
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 anni fa
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 anni fa
cresstr.pas b1dff29cbf * removed unused units 8 anni fa
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 anni fa
cutils.pas 4b00414183 + added helper isabspowerof2, which checks whether abs(value) is a power of 2 8 anni fa
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 anni fa
dbgbase.pas b1dff29cbf * removed unused units 8 anni fa
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 8 anni fa
dbgstabs.pas 6f6139609d Add explicit '.set nompis16' at front of stabs debug information to solve bug report 32138 8 anni fa
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 anni fa
defcmp.pas 5971e1327e * fix for Mantis #31756: have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility 8 anni fa
defutil.pas 7e692fac2b + new utility function get_typekind() to retrieve the TTypeKind value of a def 8 anni fa
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 anni fa
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 anni fa
entfile.pas 97241c46b2 Move getptruint/putptruint methods to tentfile class to allow use with ppudump 8 anni fa
export.pas b1dff29cbf * removed unused units 8 anni fa
expunix.pas b1dff29cbf * removed unused units 8 anni fa
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 anni fa
fmodule.pas b1dff29cbf * removed unused units 8 anni fa
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 anni fa
fpcdefs.inc 627f45abac + define cpucg64shiftsupport for i8086, which enables the 64-bit inline sar 8 anni fa
fpcp.pas b1dff29cbf * removed unused units 8 anni fa
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 anni fa
fppu.pas 4e1f999b02 * write full path name when ppu crc checks fail/conflict (patch by 8 anni fa
gendef.pas f281ee339e Add obsolete prefix to cpu_ia64, system_ia64_win64 and system_ia64_embedded, ia64 specfic code has been removed in rev 30836 dated 2015-05-09 8 anni fa
globals.pas 90bd408de4 * fix for Mantis #32355: adjust the meaning of the typehelpers modeswitch for Delphi modes in that it enables the "type helper" syntax as it is in the non-Delphi modes; extending primitive types with record helpers is now always enabled in Delphi modes 8 anni fa
globstat.pas 88af293155 Fix for Mantis #22160 13 anni fa
globtype.pas 90bd408de4 * fix for Mantis #32355: adjust the meaning of the typehelpers modeswitch for Delphi modes in that it enables the "type helper" syntax as it is in the non-Delphi modes; extending primitive types with record helpers is now always enabled in Delphi modes 8 anni fa
hlcg2ll.pas b1dff29cbf * removed unused units 8 anni fa
hlcgobj.pas b948a0738c * unified internalerror 8 anni fa
htypechk.pas 236a9b0aa5 * rework the checks for a helper's extended def to be a class so that it can be more easily extended by other objecttypes 8 anni fa
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 anni fa
import.pas b1dff29cbf * removed unused units 8 anni fa
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 anni fa
link.pas b1dff29cbf * removed unused units 8 anni fa
macho.pas e243cc77ea macho.pas: 9 anni fa
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 anni fa
msgidx.inc 925ffcc744 regenerated compiler messages after r37029 8 anni fa
msgtxt.inc 925ffcc744 regenerated compiler messages after r37029 8 anni fa
nadd.pas b755524c38 made it possible to override the decision from the cgs, if a certain muln needs a helper 8 anni fa
nbas.pas b1dff29cbf * removed unused units 8 anni fa
ncal.pas 239d0704ca + add support for type helpers to also extend interface types 8 anni fa
ncgadd.pas b1dff29cbf * removed unused units 8 anni fa
ncgbas.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 anni fa
ncgcal.pas b1dff29cbf * removed unused units 8 anni fa
ncgcnv.pas 28cfa838b5 + support for the different flag registers of sparc 8 anni fa
ncgcon.pas b1dff29cbf * removed unused units 8 anni fa
ncgflw.pas b1dff29cbf * removed unused units 8 anni fa
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 anni fa
ncginl.pas 8eec29b139 + enable support for a processor specific frac function 8 anni fa
ncgld.pas b1dff29cbf * removed unused units 8 anni fa
ncgmat.pas b1dff29cbf * removed unused units 8 anni fa
ncgmem.pas 8ea9e3d344 * avoid range check errors on avr 8 anni fa
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 anni fa
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 anni fa
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 anni fa
ncgobjc.pas b1dff29cbf * removed unused units 8 anni fa
ncgopt.pas b1dff29cbf * removed unused units 8 anni fa
ncgrtti.pas 50788e8b3b * correctly encapsulate the RTTI data for sets to avoid alignment problems with the new SetSize field (fixes compilation on Sparc and basically every other target that requires proper alignment with 64-bit values dictating an 8-Byte alignment) 8 anni fa
ncgset.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 anni fa
ncgutil.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 anni fa
ncgvmt.pas b1dff29cbf * removed unused units 8 anni fa
ncnv.pas 0351369698 * ttypeconvnode.typecheck_arrayconstructor_to_dynarray: the assignment node of the temp array to the resulting array always needs to exist, so remove the assigned() check 8 anni fa
ncon.pas b1dff29cbf * removed unused units 8 anni fa
nflw.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
ngenutil.pas a301bf75ea * ngenutil.tnodeutils.sym_maybe_initialize: don't use "is" operator, but corresponding is_* functions 8 anni fa
ngtcon.pas 0caccdc238 * fix range check error 8 anni fa
ninl.pas 0b02dab684 + new Delphi-compatible intrinsic GetTypeKind() which returns the TTypeKind of a type as a constant value (and thus can be optimized away in If- and Case-statements) 8 anni fa
nld.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
nmat.pas b41762d1bf + perform the optimization in tmoddivnode.firstoptimize also for div/mod by 8 anni fa
nmem.pas b1dff29cbf * removed unused units 8 anni fa
nobj.pas b1dff29cbf * removed unused units 8 anni fa
nobjc.pas b1dff29cbf * removed unused units 8 anni fa
node.pas 7911cc8437 - removed some dataconstn remenants 8 anni fa
nopt.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
nset.pas b1dff29cbf * removed unused units 8 anni fa
nutils.pas 3d514856a4 * improve node complexity calculations for type nodes 8 anni fa
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 anni fa
objcdef.pas b1dff29cbf * removed unused units 8 anni fa
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 8 anni fa
objcutil.pas b1dff29cbf * removed unused units 8 anni fa
ogbase.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 8 anni fa
ogcoff.pas e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 8 anni fa
ogelf.pas b1dff29cbf * removed unused units 8 anni fa
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 anni fa
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 anni fa
ogmap.pas b1dff29cbf * removed unused units 8 anni fa
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 anni fa
ogomf.pas e7fd71db36 + write name of segment/group which is too large 8 anni fa
omfbase.pas b1dff29cbf * removed unused units 8 anni fa
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 anni fa
optconstprop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
optcse.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
optdead.pas b1dff29cbf * removed unused units 8 anni fa
optdeadstore.pas b1dff29cbf * removed unused units 8 anni fa
optdfa.pas b1dff29cbf * removed unused units 8 anni fa
options.pas fee49a3e40 Disable threading feature for arm-palmos (like it is done for m68k-palmos) 8 anni fa
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version 8 anni fa
optloop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 anni fa
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 anni fa
optvirt.pas b1dff29cbf * removed unused units 8 anni fa
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 anni fa
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 anni fa
owomflib.pas b1dff29cbf * removed unused units 8 anni fa
parabase.pas 9787c5dd82 * fix compilation of LLVM backend (mantis #31794) 8 anni fa
paramgr.pas b948a0738c * unified internalerror 8 anni fa
parser.pas f7fd137787 Accept syscall procedure modifier for arm-palmos 8 anni fa
pass_1.pas b1dff29cbf * removed unused units 8 anni fa
pass_2.pas b1dff29cbf * removed unused units 8 anni fa
pbase.pas b1dff29cbf * removed unused units 8 anni fa
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 anni fa
pdecl.pas 68c5f45593 * also add a generic dummy symbol to the current module's dummy symbols after it had been parsed 8 anni fa
pdecobj.pas 90bd408de4 * fix for Mantis #32355: adjust the meaning of the typehelpers modeswitch for Delphi modes in that it enables the "type helper" syntax as it is in the non-Delphi modes; extending primitive types with record helpers is now always enabled in Delphi modes 8 anni fa
pdecsub.pas efcb10f537 Handle arm-palmos syscall modifier 8 anni fa
pdecvar.pas 8b5524ac3a * ignore is_publishable for properties in interfaces (related to $M+ directive). $M has effect on visibility of default section for classes. Interface has always only public section (fix for problem in tb0631.pp) 8 anni fa
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 anni fa
pexpr.pas 83f5b27e02 * check helpertype instead of the extendeddef to judge whether inherited should be allowed or not 8 anni fa
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 anni fa
pgenutil.pas 06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym() 8 anni fa
pinline.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
pkgutil.pas b1dff29cbf * removed unused units 8 anni fa
pmodules.pas 4c3d8d422a Add _GLOBAL_OFFSET_TABLE_ for sparc64 if -Cg is used 8 anni fa
pp.lpi ed984e0c76 - removed missing file from project 8 anni fa
pp.pas 9fb2652433 List possible CPU in alphabetical order 8 anni fa
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 anni fa
ppc68k.lpi 9ebf2aa984 * project file updates 13 anni fa
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 anni fa
ppcarm.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcavr.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 anni fa
ppcmips.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc64.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 anni fa
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 anni fa
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 anni fa
ppu.pas a6821c63e0 * store the type of the helper that had been encountered during parsing in the objectdef and by extension the PPU 8 anni fa
ppx86_64.lpi e96dc4204e * version update 13 anni fa
procinfo.pas b1dff29cbf * removed unused units 8 anni fa
pstatmnt.pas 37a5716819 * reuse more sparc code for sparc64 8 anni fa
psub.pas dffe423b10 * fix for Mantis #31945: two fixes for nested routines inside generic methods 8 anni fa
psystem.pas 0b02dab684 + new Delphi-compatible intrinsic GetTypeKind() which returns the TTypeKind of a type as a constant value (and thus can be optimized away in If- and Case-statements) 8 anni fa
ptconst.pas b1dff29cbf * removed unused units 8 anni fa
ptype.pas 90bd408de4 * fix for Mantis #32355: adjust the meaning of the typehelpers modeswitch for Delphi modes in that it enables the "type helper" syntax as it is in the non-Delphi modes; extending primitive types with record helpers is now always enabled in Delphi modes 8 anni fa
raatt.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 anni fa
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 anni fa
rasm.pas b1dff29cbf * removed unused units 8 anni fa
rautils.pas 744facb7fc * properly support accepting register parameters of assembler routines in 8 anni fa
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 anni fa
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 anni fa
rgobj.pas 37a5716819 * reuse more sparc code for sparc64 8 anni fa
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app 8 anni fa
scanner.pas 751bde9792 Revert revision 36436 from trunk. Final fix for issue #31675. 8 anni fa
script.pas d2fe24ae20 * fix some more occured->occured 8 anni fa
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 anni fa
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 anni fa
symconst.pas 50788e8b3b * correctly encapsulate the RTTI data for sets to avoid alignment problems with the new SetSize field (fixes compilation on Sparc and basically every other target that requires proper alignment with 64-bit values dictating an 8-Byte alignment) 8 anni fa
symcreat.pas b1dff29cbf * removed unused units 8 anni fa
symdef.pas a6821c63e0 * store the type of the helper that had been encountered during parsing in the objectdef and by extension the PPU 8 anni fa
symsym.pas a37237ca11 * avoid range check errors with absolute symbols for cpus where addresses are bigger than the registers 8 anni fa
symtable.pas 83e4585b0f * correctly handle unit identifiers inside specializations of generic routines 8 anni fa
symtype.pas 97241c46b2 Move getptruint/putptruint methods to tentfile class to allow use with ppudump 8 anni fa
symutil.pas b1dff29cbf * removed unused units 8 anni fa
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 8 anni fa
systems.inc d115b0e8dc m68k: changed the internal name of 68k MacOS from system_m68k_mac to system_m68k_macos, so it's consistent with the PowerPC version. suggestion/request by Sven :) 8 anni fa
systems.pas fd00920006 m68k-palmos: internal sysinit, and patch target support so it works prc-tools-remix on a modern system 8 anni fa
tgobj.pas b1dff29cbf * removed unused units 8 anni fa
tokens.pas 25db29d0a6 * symtable.pas: 8 anni fa
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 anni fa
version.pas e5977d5c52 + support sparc64 as host/source cpu 8 anni fa
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 anni fa
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 anni fa
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 anni fa
wpoinfo.pas b1dff29cbf * removed unused units 8 anni fa

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