nickysn 3a58a6261a * link with -nopie on OpenBSD only if PIC code generation is disabled 6 years ago
..
aarch64 d34e0b091b * fixed aarch64 shifterop parsing in inline assembly 6 years ago
arm a277a5f8db * Removed unused local vars. 6 years ago
armgen 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 years ago
avr 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 years ago
html fa0d3d79e0 no message 23 years ago
i386 039aee9568 * i386 PIC: Do not force EBX as a GOT register if tf_section_threadvars is not set. Actually forcing EBX here is a bad idea anyway. 6 years ago
i8086 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
jvm 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
llvm 08791712d7 * also specify the byval alignment at the callee side 6 years ago
m68k 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
mips 07bd4ba517 * let all the case code generation work with tconstexprint instead of aint, 6 years ago
msg bc77aad3d9 * give an error when trying to call through to a C varargs routine with a 6 years ago
powerpc c7834af354 * track va_uses_float_reg also for varargs functions without varargs 6 years ago
powerpc64 973741c919 Fix tmoddiv4.pp test failure with -O1 option for powerpc64 as suggested by Jonas 6 years ago
ppcgen 07bd4ba517 * let all the case code generation work with tconstexprint instead of aint, 6 years ago
riscv 07bd4ba517 * let all the case code generation work with tconstexprint instead of aint, 6 years ago
riscv32 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
riscv64 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
sparc 9c3f5db022 * split create_paraloc_info_intern for sparc32 and sparc64 8 years ago
sparc64 4686f61002 * keep track of the temp position separately from the offset in references, 7 years ago
sparcgen 62cef8eb2b * initialize function result for variadic functions (fixup for r41420) 6 years ago
systems 3a58a6261a * link with -nopie on OpenBSD only if PIC code generation is disabled 6 years ago
utils b0535d8d0f * ppudump: Fixed a warning regarding text clipping. 6 years ago
x86 a04e4971fc * i386: Do not request GOT for every function call. GOT is requested only for external calls in thlcgcpu.a_call_name(). Local calls are always PC relative. 6 years ago
x86_64 07bd4ba517 * let all the case code generation work with tconstexprint instead of aint, 6 years ago
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 years ago
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 years ago
Makefile 57ee0dd00a Fix fullcycle/fullinstall by adding missing armgen directory -Fu option if PPC_TARGET is armeb 6 years ago
Makefile.fpc 57ee0dd00a Fix fullcycle/fullinstall by adding missing armgen directory -Fu option if PPC_TARGET is armeb 6 years ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 years ago
aasmbase.pas 29558a74cd + support exporting labels from asm blocks in intel syntax asm blocks via the 7 years ago
aasmcnst.pas 4d03f3a65e * fixed LLVM memory leaks 6 years ago
aasmdata.pas 800ce23499 * fixed some issues to get correct values of section_count, works better than before but it is still not perfect for unknown reasons 6 years ago
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 years ago
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 years ago
aasmtai.pas d4e059bd41 Fix bug report #35065 using provided patch by J. Gareth Moreton 6 years ago
aggas.pas 9f16c34329 + initial work for tls-based threadvar support on arm-linux 6 years ago
aopt.pas 94d7a02fae * modified patch by Gareth Moreton to pool TmpUsedRegs in the assembler optimizers, resolves #34679 6 years ago
aoptbase.pas 7f286eb54e + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) 8 years ago
aoptda.pas b1dff29cbf * removed unused units 8 years ago
aoptobj.pas 94d7a02fae * modified patch by Gareth Moreton to pool TmpUsedRegs in the assembler optimizers, resolves #34679 6 years ago
aoptutils.pas 0e546d47ca Fix 3 operand version of MatchOpType 6 years ago
assemble.pas a092da723a + new fields for more precise control of alignment 6 years ago
blockutl.pas acf02ab64b * when creating wrappers, add a prefix to parameter names to prevent them 6 years ago
browcol.pas c6bb85eae9 * support for compiling the objects unit methods that expect local procedure/ 6 years ago
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 years ago
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 years ago
cclasses.pas 9f88cae771 * Removed inline, since inherited is not supported. 6 years ago
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 years ago
cfileutl.pas 29bcef2825 Fix compilation (with -st option) of compiler for macos OS target 6 years ago
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 years ago
cgbase.pas 597a23d278 + tls support for x86_64-linux (not yet enabled by default) 6 years ago
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 years ago
cgobj.pas d99d1f1f30 * let the ARM code generator use the generic tcg.a_load_ref_cgpara() instead 6 years ago
cgutils.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
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 years ago
compiler.pas 576a50f690 * print used unit scopes 7 years ago
compinnr.pas 122d0d36d6 + volatile() expression that marks an expression as volatile 6 years ago
comprsrc.pas e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin 7 years ago
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 years ago
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 years ago
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cresstr.pas 800ce23499 * fixed some issues to get correct values of section_count, works better than before but it is still not perfect for unknown reasons 6 years ago
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 7 years ago
cstreams.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
cutils.pas 8fba43609d + Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined. 6 years ago
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 years ago
dbgbase.pas ecda183153 * revert r37968: it does more harm than good 7 years ago
dbgcodeview.pas 600b460ecd + added new debug output option -godwarfomflinnum for generating line number 7 years ago
dbgdwarf.pas ad269dedd4 * If ds_dwarf_cpp (C++ emulation) is enabled, add DW_AT_linkage_name attribute for methods. 6 years ago
dbgstabs.pas 0b246f3dbd * converted Boolean8 to an internal type, and mapped Boolean to the 6 years ago
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 years ago
defcmp.pas 925531b99c * constrained generics are also compatible with formaldefs, resolves #34893 6 years ago
defutil.pas 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 years ago
elfbase.pas b34ab6b279 * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 7 years ago
entfile.pas e49025a086 More -CriotR fixes: 6 years ago
export.pas b1dff29cbf * removed unused units 8 years ago
expunix.pas b1dff29cbf * removed unused units 8 years ago
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 9 years ago
fmodule.pas b1dff29cbf * removed unused units 8 years ago
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 years ago
fpcdefs.inc 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
fpcp.pas b1dff29cbf * removed unused units 8 years ago
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 years ago
fppu.pas 083781bf0c * keep track if the unit was found by using a default namespace as prefix 7 years ago
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 years ago
globals.pas dee1056546 * fixed wrong change of jumpalignmax from 10 to 16 in previous commit 6 years ago
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 years ago
globtype.pas 2109612fa3 - disable cs_opt_use_load_modify_store because for llvm because it is 6 years ago
hlcg2ll.pas f78e2072a1 * fix for r41416: 64 bit values on 32 bit platforms can of course also be 6 years ago
hlcgobj.pas 1abea6451c * fixed thlcgobj.g_rangecheck() for cpuhighleveltarget when targetting a 6 years ago
htypechk.pas 50ab607676 + customint torddef type to create arbitraty bit-width integers 6 years ago
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 years ago
import.pas b1dff29cbf * removed unused units 8 years ago
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 years ago
link.pas 7e630686e0 * do not use a wildcard while deleting smartlinked objects after linking stage in a script, conflicts with script filename quoting on Unix at least 7 years ago
macho.pas e243cc77ea macho.pas: 9 years ago
machoutils.pas 5f1933eecf * Addition to r40225: Forgot to remove inline in the implementation. 6 years ago
msgidx.inc bc77aad3d9 * give an error when trying to call through to a C varargs routine with a 6 years ago
msgtxt.inc bc77aad3d9 * give an error when trying to call through to a C varargs routine with a 6 years ago
nadd.pas 7af95cbf06 * LLVM does not support 128 bits arithmetic on 32 bit platforms, which we 6 years ago
nbas.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
ncal.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
ncgadd.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgbas.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgcal.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgcnv.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgcon.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgflw.pas dee1056546 * fixed wrong change of jumpalignmax from 10 to 16 in previous commit 6 years ago
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 years ago
ncginl.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgld.pas 9c3e9e80a3 * fixed type correctness of and simplified the threadvar loading size 6 years ago
ncgmat.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgmem.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 years ago
ncgnstld.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
ncgnstmm.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
ncgobjc.pas b1dff29cbf * removed unused units 8 years ago
ncgopt.pas b1dff29cbf * removed unused units 8 years ago
ncgrtti.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
ncgset.pas eb71a30933 * fix false possitive tconstexprint range errors after r41441 (mantis #35144) 6 years ago
ncgutil.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
ncgvmt.pas 190716ac0e * move getrecorddef and gettabledef from TVMTWritter to symdef as they might be used from the RTTI as well 7 years ago
ncnv.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
ncon.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
nflw.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
ngenutil.pas f754978540 * handle constructor function results that have been migrated to the 6 years ago
ngtcon.pas 97b40dc16d * fixed dynamic array constants for llvm 6 years ago
ninl.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
nld.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
nmat.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
nmem.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
nobj.pas 7b313a2c15 * stop searching for methods to implement interfaces in parent classes after 6 years ago
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
node.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
nopt.pas 3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 7 years ago
nset.pas 7f5c2fa3aa * (modified) patch by Gareth Moreton: Speed improvement in case blocks, resolves #0034762 6 years ago
nutils.pas e24449bcfd * if sub nodes of a commutative node contain conditionally executed nodes, these sub nodes might not be swapped 6 years ago
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 years ago
objcdef.pas b1dff29cbf * removed unused units 8 years ago
objcgutl.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
objcutil.pas b1dff29cbf * removed unused units 8 years ago
ogbase.pas 4357caaad8 * Removed unused local vars. 6 years ago
ogcoff.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 years ago
ogelf.pas b34ab6b279 * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 7 years ago
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
ogmacho.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 years ago
ogmap.pas b1dff29cbf * removed unused units 8 years ago
ognlm.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 years ago
ogomf.pas 22ea2bd624 Avoid warnings with -O4 option 6 years ago
omfbase.pas e49025a086 More -CriotR fixes: 6 years ago
optbase.pas 04fd1a6397 Complement commit 40104, by changing type of executionweight in toptinfo record and adapt pass_2 code 6 years ago
optconstprop.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
optcse.pas a7cb99f012 * when transforming the structure of a node tree involving full boolean 6 years ago
optdead.pas b1dff29cbf * removed unused units 8 years ago
optdeadstore.pas b1dff29cbf * removed unused units 8 years ago
optdfa.pas 34d11046e0 * wrapcomplexinlinepara takes care of function results which need different temp. handling, resolves #34438 6 years ago
options.pas 13ce27cc1d * fixed the default external assembler for llvm when using -s 6 years ago
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version 8 years ago
optloop.pas 21d785e41b * do not unroll loops if the counter variable is accessed outside the current scope 7 years ago
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 years ago
optutils.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
optvirt.pas b1dff29cbf * removed unused units 8 years ago
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 years ago
owomflib.pas e49025a086 More -CriotR fixes: 6 years ago
parabase.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: 6 years ago
paramgr.pas 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
parser.pas e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin 7 years ago
pass_1.pas b1dff29cbf * removed unused units 8 years ago
pass_2.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
pbase.pas 8bc0b604db * a symbol might be specified using a partial namespace path as long as the missing part is a namespace symbol, 7 years ago
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 years ago
pdecl.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
pdecobj.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
pdecsub.pas 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
pdecvar.pas a277a5f8db * Removed unused local vars. 6 years ago
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 years ago
pexpr.pas aba3f8f162 * fixed over-eager rejection of tobjecttype.fieldname expression after r40785 6 years ago
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 years ago
pgenutil.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
pinline.pas 76c45b1a72 * fix for Mantis #34333: improve error output for incorrect calls to Copy() 6 years ago
pkgutil.pas 9eb5f07538 * check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?) 7 years ago
pmodules.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
pp.lpi ed984e0c76 - removed missing file from project 8 years ago
pp.pas ceb38833f2 Added RiscV32/64 target, from a cleaned up version of branches/laksen/riscv/trunk. 7 years ago
pparautl.pas 51e68eb302 * fixed several places where the interface crc could change: 6 years ago
ppc68k.lpi 9ebf2aa984 * project file updates 13 years ago
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 years ago
ppcarm.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 years ago
ppcavr.lpi b9d4240a8d + version update 7 years ago
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 years ago
ppcmips.lpi 9ebf2aa984 * project file updates 13 years ago
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 years ago
ppcppc.lpi 18a45d94a3 * version update 6 years ago
ppcppc64.lpi 9ebf2aa984 * project file updates 13 years ago
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 years ago
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 years ago
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 years ago
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 years ago
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic 7 years ago
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 years ago
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 years ago
ppu.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
procdefutil.pas b1ee29c836 * fix for Mantis #30205: (adjusted) patch by Do-wan Kim to only use the default calling convention for exception handlers 6 years ago
procinfo.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
pstatmnt.pas 51e68eb302 * fixed several places where the interface crc could change: 6 years ago
psub.pas e5c2d13671 * Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present. 6 years ago
psystem.pas 170ec00348 - removed withnode (was no longer used since a very long time) 6 years ago
ptconst.pas b1dff29cbf * removed unused units 8 years ago
ptype.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
raatt.pas eeadf618b8 + abi tag for i386 6 years ago
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 years ago
rasm.pas 46fe2d486c * forgotten comment 7 years ago
rautils.pas 51e68eb302 * fixed several places where the interface crc could change: 6 years ago
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 years ago
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 years ago
rgobj.pas a277a5f8db * Removed unused local vars. 6 years ago
scandir.pas 3c69f9a066 + basic infrastructure to generate code for floating point exception 7 years ago
scanner.pas ba22fe74c7 * don't corrupt the assembler reader mode on i386 and i8086 if the syntax 6 years ago
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 years ago
symbase.pas 70ae0a2dc9 + add a comment to the destructor of tsymtable so that others (and maybe me a well) will hopefully see that the destructor of that class is not completely trivial! 7 years ago
symconst.pas 8b9e90dc7a * keep track of whether a routine has a C-style variadic parameter in the 6 years ago
symcreat.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
symdef.pas c1e93bd2c2 + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 6 years ago
symsym.pas c1e93bd2c2 + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 6 years ago
symtable.pas c1e93bd2c2 + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 6 years ago
symtype.pas c1e93bd2c2 + compiler/symdef.pas: Add missing call to tderef.reset methods in all tdef constructors. 6 years ago
symutil.pas 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 7 years ago
systems.inc 2f7fe0e737 haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake 6 years ago
systems.pas 9ce876e2ae haiku: move i386 also to internal sysinit 6 years ago
tgobj.pas 51502874af * emit temp lifetime information for llvm 6 years ago
tokens.pas 503ea604f3 + nolinline modifier to specify that a routine must never be inlined 6 years ago
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
version.pas a34d4e715c Merged riscv_new branch 6 years ago
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 years ago
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 years ago
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 years ago
wpoinfo.pas b1dff29cbf * removed unused units 8 years ago

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