pierre 04ebdf8df8 Fix compilation for x86_64 llvm variant 4 лет назад
..
aarch64 e841e95390 * aarch64-darwin supports unaligned memory access, confirmed by testing with clang 12 4 лет назад
arm 814b68fac0 * more fixes for VASM for ARM 4 лет назад
armgen 9bad5180bb Avoid using UXT and SXT instructions on arm version below 6 4 лет назад
avr aec49340a3 * patch by Christo Crause, resolves #38961, fixes the following formatting and spelling problems in the AVR compiler files: 4 лет назад
generic c44095733c * Give access to CPU specific fields of tsettings record 4 лет назад
html fa0d3d79e0 no message 23 лет назад
i386 c02b43fb93 * change fma cpu flag into an fpu flag 4 лет назад
i8086 07a8e6c1d6 + some more change information entries added 4 лет назад
jvm 803779002d * the new constant string arraydefs are also implicit pointers types for JVM 4 лет назад
llvm 04ebdf8df8 Fix compilation for x86_64 llvm variant 4 лет назад
m68k cdc7fec019 m68k: D2 is considered volatile on macosclassic 4 лет назад
mips 75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa 4 лет назад
msg f0b322f4ed Add -TFreeBSD target OS option to -h output for aarch64 compiler ppc64 4 лет назад
powerpc f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 4 лет назад
powerpc64 f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 4 лет назад
ppcgen f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 4 лет назад
riscv c2c7982a22 Fix check that third parameter of ADDI hp1 instruction is a constant 4 лет назад
riscv32 e6e49baed1 Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures 4 лет назад
riscv64 e6e49baed1 Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures 4 лет назад
sparc f1883c4e61 * arm: taicpu uses set instead of boolean to store instruction states 4 лет назад
sparc64 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
sparcgen 75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa 4 лет назад
systems 906d0ba06e sinclairql: make sure the end of bss (hence the bss size) is also aligned to two bytes 4 лет назад
utils bf5f714497 Also check *.pas and *.inc files inside sub-directories in msgused.pl 4 лет назад
wasm32 b527ab694c + implemented twasmtypeconvnode.second_class_to_intf 4 лет назад
x86 c02b43fb93 * change fma cpu flag into an fpu flag 4 лет назад
x86_64 c02b43fb93 * change fma cpu flag into an fpu flag 4 лет назад
xtensa da3eb5c178 Try to fix handle of large stack size in xtensa gen_proc_entry/gen_proc_exit 4 лет назад
z80 0cc91a50c7 Fix z80 compiler failure after change to ConcatConstSymbol in commit #47668 4 лет назад
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 лет назад
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 лет назад
Makefile dd9179043e Fix message about unsupported OS_TARGET for LLVM 4 лет назад
Makefile.fpc dd9179043e Fix message about unsupported OS_TARGET for LLVM 4 лет назад
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 лет назад
aasmbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 лет назад
aasmcnst.pas 940738a3a1 * synchronized with trunk 4 лет назад
aasmdata.pas aefc1be555 * Reverted accidentally committed files. 5 лет назад
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining 5 лет назад
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 лет назад
aasmtai.pas f1d30a5bc6 Add .force_thumb pseudo-directive support forarm reader 4 лет назад
aggas.pas e9b3db0d78 * more fixes to support vasm on arm 4 лет назад
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 лет назад
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 лет назад
aoptda.pas b1dff29cbf * removed unused units 8 лет назад
aoptobj.pas 53effea0f5 + X86: JccMovJmpMov2MovSetcc optimization 4 лет назад
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 лет назад
assemble.pas 8535c758ef + initial support for ARMv2 4 лет назад
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 5 лет назад
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 лет назад
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 лет назад
ccharset.pas cb44d7d4e2 * some cleanup 5 лет назад
cclasses.pas d5a0dd3d25 * prevent a range check error in TFPList.IndexOfItem when searching backwards in 4 лет назад
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 лет назад
cfidwarf.pas ca399f3c71 * don't generate high-level CFI statements when the selected assembler 4 лет назад
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 5 лет назад
cg64f32.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
cgbase.pas 8006900e8e - clean up 4 лет назад
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 лет назад
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 лет назад
cgobj.pas c0d75c1c69 * patch Christo Crause: Use LDS for 8 bit references, resolves #38173 4 лет назад
cgutils.pas 5726428dcc * patch by J. Gareth Moreton: Additional SETcc optimisations, resolves #38767 4 лет назад
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 лет назад
comphook.pas 74eb7b5050 + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook 4 лет назад
compiler.pas 84e36cce0f * fix morphos info unit name after r44454 5 лет назад
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 лет назад
comprsrc.pas f3541984ee * make sure that the resource compiler related globals are reset 5 лет назад
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 лет назад
constexp.pas 0188a558d1 - obsolete defines removed 4 лет назад
cprofile.pas 6612bb4434 * proper naming 5 лет назад
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 лет назад
cresstr.pas 764227193a * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target. 5 лет назад
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 лет назад
cstreams.pas 8369f035bf * use AnsiString for file names to overcome length limitations 4 лет назад
cutils.pas 0188a558d1 - obsolete defines removed 4 лет назад
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. 5 лет назад
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 лет назад
dbgdwarf.pas bae6ca6883 * Dwarf: write variant fields only if the require features are present, resolves #38651 4 лет назад
dbgstabs.pas acf2567bda Second trial to fix commit 48688 4 лет назад
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 лет назад
defcmp.pas aec18c2426 * weight currency->float conversions the same regardless if 4 лет назад
defutil.pas 803779002d * the new constant string arraydefs are also implicit pointers types for JVM 4 лет назад
dirparse.pas 93be88b270 * reverted r47862 4 лет назад
dwarfbase.pas 6817cea33b + missing unit 6 лет назад
elfbase.pas 245b58c249 + support for arm attributes 5 лет назад
entfile.pas f8052134e3 * synchronized with trunk 4 лет назад
export.pas b1dff29cbf * removed unused units 8 лет назад
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 лет назад
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton 6 лет назад
fmodule.pas 5085a04930 - removed the (deflist[i] is tdef) check from the tmodule destructor, since 4 лет назад
fpccrc.pas 1002a7c590 * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used. 5 лет назад
fpcdefs.inc 814b68fac0 * more fixes for VASM for ARM 4 лет назад
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 лет назад
fppu.pas 8e13adad4c * Improve Test_Double_checksum with Test_Double_checksum_write CRC testing code. 4 лет назад
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 лет назад
globals.pas c9b90ccde0 m68k: sinclair ql now requires vlink 0.16h or newer. 4 лет назад
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 лет назад
globtype.pas 1f49e633b6 + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file 4 лет назад
hlcg2ll.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
hlcgobj.pas 780ded903a * synchronized with trunk 4 лет назад
htypechk.pas a7de0b365b Avoid invalid typecast error when using -CR option 4 лет назад
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 b1dff29cbf * removed unused units 8 лет назад
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 лет назад
link.pas 7a0c6ab591 - removed unused leftovers from old t_bsd code 4 лет назад
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 лет назад
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 лет назад
msgidx.inc f0b322f4ed Add -TFreeBSD target OS option to -h output for aarch64 compiler ppc64 4 лет назад
msgtxt.inc f0b322f4ed Add -TFreeBSD target OS option to -h output for aarch64 compiler ppc64 4 лет назад
nadd.pas 83ce289ea4 * last commit fixed, hopefully final fix 4 лет назад
nbas.pas c2ff85ac5b * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194 4 лет назад
ncal.pas c8c6e647be Avoid keeping optimized out node in callcleanupblock.statements or callinitblock.statements 4 лет назад
ncgadd.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
ncgbas.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 4 лет назад
ncgcal.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
ncgcnv.pas d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg 4 лет назад
ncgcon.pas 6d75992674 * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 4 лет назад
ncgflw.pas 940738a3a1 * synchronized with trunk 4 лет назад
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 лет назад
ncginl.pas 316f2429f0 * do not omit location_force_reg on second operand of sar/ro* if 4 лет назад
ncgld.pas cc64d9eb4e * do not swap left/right code generation for assignment nodes if 4 лет назад
ncgmat.pas 74d145bb16 * simplify tcgunaryminusnode.second_integer 4 лет назад
ncgmem.pas 71f5fd320a + insert hlcg.g_ptrtypecast_reg calls in tcgvecnode.update_reference_reg_mul and update_reference_reg_packed 4 лет назад
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 лет назад
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 лет назад
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 лет назад
ncgobjc.pas b1dff29cbf * removed unused units 8 лет назад
ncgopt.pas b1dff29cbf * removed unused units 8 лет назад
ncgrtti.pas cc315e0ac7 * fix tw3930 after r37927 4 лет назад
ncgset.pas c4e8f091ec * generate jumpless code for the IN node for WebAssembly. TODO: this needs to be 4 лет назад
ncgutil.pas 5ca2356638 * take care of po_noreturn in more cases 4 лет назад
ncgvmt.pas 0ab4515e58 * properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385 4 лет назад
ncnv.pas 29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also 4 лет назад
ncon.pas 60c8b71bae * string constants have a size of 0, resolves #38504 4 лет назад
nflw.pas 39896a1b11 Destroy tfornode class loopiteration field if assigned 4 лет назад
ngenutil.pas d0d07dc3bf * naturally align threadvar lists/tables 4 лет назад
ngtcon.pas 0ca1e2fb42 * attempt to fix bitpacked records with qwords in them (tw36156) when cross-compiling to big endian targets from x86. essentially the x86 shifting workarounds in the code already weren't covering all corner cases. 4 лет назад
ninl.pas ca7c775e36 * fix for Mantis #38642: for enumerations with jumps Delphi behaves as follows: 4 лет назад
nld.pas 067b9b2922 * copy and compare the typesym inside type nodes as well 4 лет назад
nmat.pas 272a0e3e26 + apply excess precision also to unary minus nodes 4 лет назад
nmem.pas 8b24d60df7 * removed accidently committed printnode 4 лет назад
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to 5 лет назад
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 лет назад
node.pas a0e96fd551 Fix pos field closing in XML node output after commit 47720 4 лет назад
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 лет назад
nset.pas 940738a3a1 * synchronized with trunk 4 лет назад
nutils.pas e0a1bc6675 + optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b) 4 лет назад
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 лет назад
objcdef.pas b1dff29cbf * removed unused units 8 лет назад
objcgutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 5 лет назад
objcutil.pas b1dff29cbf * removed unused units 8 лет назад
ogbase.pas 9003114a8f + support R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX 4 лет назад
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 лет назад
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 лет назад
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 лет назад
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 лет назад
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 лет назад
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 лет назад
ogomf.pas 75491ae21c * Removed/ifdefed the assigned and unused variables. 4 лет назад
ogrel.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
omfbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 лет назад
optconstprop.pas e350264db1 + propagate constants across call nodes 5 лет назад
optcse.pas 6e4997265c + min/max intrinsics for internal use by the compiler 4 лет назад
optdead.pas b1dff29cbf * removed unused units 8 лет назад
optdeadstore.pas 08817f1aed * fixes to deadstore optimization 4 лет назад
optdfa.pas b4a6c22234 * do not check inlined exit nodes for unset results, resolves #38259 4 лет назад
options.pas c02b43fb93 * change fma cpu flag into an fpu flag 4 лет назад
optloadmodifystore.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
optloop.pas 64c586b86d * Removed/ifdefed lots of unused variables. 4 лет назад
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 лет назад
optutils.pas edfbf2ce30 * correctly handle inlined exits in dfa, resolves #38259 4 лет назад
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 лет назад
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 лет назад
owomflib.pas e49025a086 More -CriotR fixes: 6 лет назад
parabase.pas b777dc21d7 * fix PowerPC compilation 5 лет назад
paramgr.pas 0a4f75ce7a Add explicit zeroing of trttiparaloc record to avoid hash calculation issues 4 лет назад
parser.pas c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed 4 лет назад
pass_1.pas 7721995c71 Make sure nf_usercode_entry get transferred inside firstpass procedure 4 лет назад
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 4 лет назад
pbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
pcp.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 лет назад
pdecl.pas 6230de31bb * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. 4 лет назад
pdecobj.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
pdecsub.pas f9957f30a5 * fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on) 4 лет назад
pdecvar.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the 4 лет назад
pexports.pas d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 4 лет назад
pexpr.pas 2885d3ab56 * fix for Mantis #37426: don't allow an instance function of a type helper to be used on the type instead of a concrete value 4 лет назад
pgentype.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 лет назад
pgenutil.pas e6045673ee Handle NIL entries in deflist after commit 48986 4 лет назад
pinline.pas 091b0fde0c * fixed type of size parameter passed to fpc_getmem() when translating 4 лет назад
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 лет назад
pmodules.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the 4 лет назад
pp.lpi 867786c953 * update version 5 лет назад
pp.pas 39c5f11ec6 * the WASM define renamed WASM32 5 лет назад
pparautl.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the 4 лет назад
ppc68k.lpi 8192bf1b33 * version update 4 лет назад
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 лет назад
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 лет назад
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 5 лет назад
ppcavr.lpi b9d4240a8d + version update 7 лет назад
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target 5 лет назад
ppcmips.lpi 9ebf2aa984 * project file updates 13 лет назад
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el 5 лет назад
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 лет назад
ppcppc.lpi 18a45d94a3 * version update 6 лет назад
ppcppc64.lpi 9ebf2aa984 * project file updates 13 лет назад
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE 4 лет назад
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 лет назад
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 лет назад
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 лет назад
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 лет назад
ppcwasm32.lpi 9257aa8594 + define EXTDEBUG for the wasm32 compiler, when compiled using the lazarus project 4 лет назад
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic 7 лет назад
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 лет назад
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project 5 лет назад
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project 5 лет назад
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 лет назад
ppu.pas 4483343d00 Return -1 if size of file is smaller tham header size in tppufile.readheader method 4 лет назад
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef 5 лет назад
procinfo.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. 5 лет назад
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 лет назад
pstatmnt.pas 940738a3a1 * synchronized with trunk 4 лет назад
psub.pas 940738a3a1 * synchronized with trunk 4 лет назад
psystem.pas 93ecf5f155 * synchronized with trunk 4 лет назад
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 5 лет назад
ptype.pas eb7702bea4 + implement align directive for records, resolves #28927 4 лет назад
raatt.pas 6218254e53 * allow also 8 byte string constants in assembler, resolves #28640 4 лет назад
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 лет назад
rasm.pas 46fe2d486c * forgotten comment 7 лет назад
rautils.pas 1c99c2655e * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475 4 лет назад
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 лет назад
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 лет назад
rgobj.pas 837b433abc * avoid overflow during register allocation 4 лет назад
scandir.pas 64c586b86d * Removed/ifdefed lots of unused variables. 4 лет назад
scanner.pas 77cc2f4ced * decrease macro nesting counter early when expanding empty macro 4 лет назад
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 лет назад
symbase.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the 4 лет назад
symconst.pas 9fa61a6c9f - removed the discardresult proc directive 4 лет назад
symcreat.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the 4 лет назад
symdef.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, 4 лет назад
symsym.pas cc5814dac1 * support arbitrary record regvars on AArch64: it has fairly complete support 4 лет назад
symtable.pas 7343e9c4a2 * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym 4 лет назад
symtype.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, 4 лет назад
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 лет назад
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 7 лет назад
systems.inc 4ab310e0ed + ARM: basic vasm support 4 лет назад
systems.pas f0cc2c38b8 sinclairql: enable weak linking support for the Sinclair QL 4 лет назад
tgobj.pas 4bac65be86 * set the wasm tempgen direction in the parent constructor, together with the other targets 4 лет назад
tokens.pas 9fa61a6c9f - removed the discardresult proc directive 4 лет назад
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm 5 лет назад
verbose.pas 0188a558d1 - obsolete defines removed 4 лет назад
version.pas 1957ea11cb Fix duplicate source_cpu_string after last patch, by using cpuwasm32 instead of wasm32 conditional 4 лет назад
widestr.pas cb44d7d4e2 * some cleanup 5 лет назад
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 b1dff29cbf * removed unused units 8 лет назад

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