florian 980c689d37 + Peephole optimizer MovPush2Push 7 år sedan
..
aarch64 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
arm 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
avr 6b5a514148 * based on a patch by Christo Crause: in finalizeavrcode, ignore assembler breq statements taking an absolute value, resolves #32109 7 år sedan
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 73fda1ccb6 * factored out OptPass1Sub 7 år sedan
i8086 980c689d37 + Peephole optimizer MovPush2Push 7 år sedan
jvm d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
llvm 94de872927 * fix compilation for llvm as proposed by Karl-Michael Schindler, resolves #31969 7 år sedan
m68k 64e7c90147 m68k: some quickhacks to support PalmOS reg-relative globals and quick-n-dirty small code PIC. needs some cleanup, but the basic idea will be useful a potential for MacOS and Amiga .library support as well, among others 7 år sedan
mips 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
msg 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
powerpc 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
powerpc64 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
ppcgen ed695624ab Add clang as assembler for powerpc-darwin (powerpc64 is apparently not yet supported for MachO format) 7 år sedan
sparc 9c3f5db022 * split create_paraloc_info_intern for sparc32 and sparc64 8 år sedan
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 år sedan
sparcgen 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
systems ba2327f89b macos: initial cross-linker support, based on the binutils in the Retro68 GNU binutils 7 år sedan
utils d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
x86 f0765421eb + also set the operand size in constants like recordtype (without addressing a 7 år sedan
x86_64 810acd82b2 * patch by J. Gareth Moreton that makes some improvements to the Peephole Optimizer for x86 and x86-64 code, as well as some cleanup with formatting, code syntax consistency, and debug messages. 7 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 år sedan
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 år sedan
Makefile 5bedaf11f4 * fpcmake.inc and Makefiles renerated after last commit 7 år sedan
Makefile.fpc 89b3f6c86a Fix the RTL directory for old OSes that use OS_TARGET only for rtlppulogs rule 8 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas 29558a74cd + support exporting labels from asm blocks in intel syntax asm blocks via the 7 år sedan
aasmcnst.pas 2ad265505b * properly align unicode- and ansistring constants 8 år sedan
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists 8 år sedan
aasmdef.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 8 år sedan
aasmsym.pas a25ebbba3e + added volatility information to all memory references 8 år sedan
aasmtai.pas 44e29debee + introduce tai_const.Createname_near and .Createname_far on i8086 7 år sedan
aggas.pas ac127ac10a palmos: no .rodata section here either 7 år sedan
aopt.pas b1dff29cbf * removed unused units 8 år sedan
aoptbase.pas 7f286eb54e + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) 8 år sedan
aoptda.pas b1dff29cbf * removed unused units 8 år sedan
aoptobj.pas 52510ea933 + TUsedRegs.Dump 7 år sedan
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType 8 år sedan
assemble.pas 2be94d3c78 * fix building on win64 with FPC_SOFT_FPUX80 defined, resolves #32502 7 år sedan
blockutl.pas b1dff29cbf * removed unused units 8 år sedan
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 år sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 12 år sedan
cclasses.pas 5e07957594 + TLinkedList.RemoveAll 8 år sedan
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 år sedan
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 år sedan
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 år sedan
cgbase.pas 5e969d90cb + SPARC64 cpugas unit 8 år sedan
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
cgobj.pas c63981e5b5 Fix msdos failure due to copy/paste error in previous commit 7 år sedan
cgutils.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 år sedan
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 år sedan
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 år sedan
compiler.pas 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 år sedan
compinnr.pas 78e0f6c68b + added an i8086-specific FarAddr() function, similar to Addr(), but always 7 år sedan
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 år sedan
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 år sedan
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas b1dff29cbf * removed unused units 8 år sedan
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 7 år sedan
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 år sedan
cutils.pas 823c77e6cc * avoid overflow error in ispowerof2 for -2^bitsize, the routine does not handle negative values 7 år sedan
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 år sedan
dbgbase.pas ecda183153 * revert r37968: it does more harm than good 7 år sedan
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 8 år sedan
dbgstabs.pas 6f6139609d Add explicit '.set nompis16' at front of stabs debug information to solve bug report 32138 8 år sedan
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 år sedan
defcmp.pas 5971e1327e * fix for Mantis #31756: have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility 8 år sedan
defutil.pas f6a08a2c74 * Patch from Ondrej Pokorny to allow correct nodefault/stored for strings 7 år sedan
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 8 år sedan
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 år sedan
entfile.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
export.pas b1dff29cbf * removed unused units 8 år sedan
expunix.pas b1dff29cbf * removed unused units 8 år sedan
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 år sedan
fmodule.pas b1dff29cbf * removed unused units 8 år sedan
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 år sedan
fpcdefs.inc 2a49627d48 Allow compilation of ppc386 compiler using FPC_SOFT_FPUX80, i.e. soft float 80-bit extended float 8 år sedan
fpcp.pas b1dff29cbf * removed unused units 8 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
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 år sedan
globals.pas f61b074912 * (re)store alignment when doing a $push/$pop 7 år sedan
globstat.pas 88af293155 Fix for Mantis #22160 13 år sedan
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 år sedan
hlcg2ll.pas b1dff29cbf * removed unused units 8 år sedan
hlcgobj.pas 75e03a7e62 * avoid unneeded the generation of un-needed shift instructions thlcgobj.in a_load_subsetreg_reg 8 år sedan
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 år sedan
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 år sedan
import.pas b1dff29cbf * removed unused units 8 år sedan
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
link.pas 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 år sedan
macho.pas e243cc77ea macho.pas: 9 år sedan
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 år sedan
msgidx.inc 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
msgtxt.inc 1b66995754 * factored out check to determine whether a variable can be subscripted in 7 år sedan
nadd.pas 1934285c20 * don't convert "int64(sint32) * cardinal_const" into a 32x32->64 7 år sedan
nbas.pas b1dff29cbf * removed unused units 8 år sedan
ncal.pas 53bef8d202 * fixed calculation of high parameter for arrays with non-integer bounds 7 år sedan
ncgadd.pas b1dff29cbf * removed unused units 8 år sedan
ncgbas.pas e699be78ab Handle simple cases where a record member is passed in a register on AVR, and referenced from inline assembly. 7 år sedan
ncgcal.pas b1dff29cbf * removed unused units 8 år sedan
ncgcnv.pas 28cfa838b5 + support for the different flag registers of sparc 8 år sedan
ncgcon.pas b1dff29cbf * removed unused units 8 år sedan
ncgflw.pas b1dff29cbf * removed unused units 8 år sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas 4752b0ef96 + tinlinenode calls cpu specific routines for unknown inline numbers 7 år sedan
ncgld.pas b1dff29cbf * removed unused units 8 år sedan
ncgmat.pas b1dff29cbf * removed unused units 8 år sedan
ncgmem.pas 6f338bb4b5 + tcgsubscriptnode.pass_generate_code makes use of a_loadmm_reg_intreg to avoid location_force_mem calls 8 år sedan
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 8 år sedan
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 år sedan
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 år sedan
ncgobjc.pas b1dff29cbf * removed unused units 8 år sedan
ncgopt.pas b1dff29cbf * removed unused units 8 år sedan
ncgrtti.pas 0bf71958f2 * ensure that the correct RTTI data is written for "array of const" parameters as well 7 år sedan
ncgset.pas cc44328109 * correctly calc case label distance after r36362, resolves #32115 and #32311 8 år sedan
ncgutil.pas ddba821561 * GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved 8 år sedan
ncgvmt.pas 61d0d8717a Disable 37973 for AIX specific stabx format 7 år sedan
ncnv.pas 0f0bdabb89 * if an absolute typeconversion changes the size, make the source not 7 år sedan
ncon.pas 8cfe7e0a0c * when creating a realconstn, cast the value to the specified type 7 år sedan
nflw.pas a2217cedd5 * evaluate the lower and upper bounds of for-loops in ISO mode using the 7 år sedan
ngenutil.pas c0b0fa9c0b * change the type of the -gt uninitialised result of ansistring functions to 7 år sedan
ngtcon.pas 0caccdc238 * fix range check error 8 år sedan
ninl.pas 916ff0b92c + extend Concat() with support for dynamic arrays 7 år sedan
nld.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
nmat.pas b41762d1bf + perform the optimization in tmoddivnode.firstoptimize also for div/mod by 8 år sedan
nmem.pas 0119e7afb3 * changed the codepointer type in the i8086 small and compact memory models from 7 år sedan
nobj.pas b1dff29cbf * removed unused units 8 år sedan
nobjc.pas b1dff29cbf * removed unused units 8 år sedan
node.pas 7911cc8437 - removed some dataconstn remenants 8 år sedan
nopt.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
nset.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
nutils.pas 3d514856a4 * improve node complexity calculations for type nodes 8 år sedan
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 år sedan
objcdef.pas b1dff29cbf * removed unused units 8 år sedan
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 8 år sedan
objcutil.pas b1dff29cbf * removed unused units 8 år sedan
ogbase.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
ogcoff.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
ogelf.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
ogmap.pas b1dff29cbf * removed unused units 8 år sedan
ognlm.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
ogomf.pas 65c2575883 + added win16stub const array (small dos exe, which prints 'This program 7 år sedan
omfbase.pas 2af5c9d508 * changed type used for section alignment from byte/shortint to longint, so the 7 år sedan
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 år sedan
optconstprop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
optcse.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
optdead.pas b1dff29cbf * removed unused units 8 år sedan
optdeadstore.pas b1dff29cbf * removed unused units 8 år sedan
optdfa.pas b1dff29cbf * removed unused units 8 år sedan
options.pas 75158d02ca m68k: set palmos to use 68000 and no FPU by default 7 år sedan
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version 8 år sedan
optloop.pas efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 år sedan
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 år sedan
optvirt.pas b1dff29cbf * removed unused units 8 år sedan
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 år sedan
owomflib.pas b1dff29cbf * removed unused units 8 år sedan
parabase.pas 9787c5dd82 * fix compilation of LLVM backend (mantis #31794) 8 år sedan
paramgr.pas b948a0738c * unified internalerror 8 år sedan
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 år sedan
pass_1.pas b1dff29cbf * removed unused units 8 år sedan
pass_2.pas b1dff29cbf * removed unused units 8 år sedan
pbase.pas b1dff29cbf * removed unused units 8 år sedan
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 år sedan
pdecl.pas ae087b92d7 * when creating a unique type alias for an object, class or interface, 7 år sedan
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 år sedan
pdecsub.pas 6d072872d0 * fix compilation with 3.0.x and -Oonodedfa enabled after r37887 7 år sedan
pdecvar.pas f6a08a2c74 * Patch from Ondrej Pokorny to allow correct nodefault/stored for strings 7 år sedan
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 år sedan
pexpr.pas 2919d97f91 * support asssigning @class.classmethod to a procvar of object in FPC modes 7 år sedan
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 år sedan
pgenutil.pas 06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym() 8 år sedan
pinline.pas f6a867ef04 * move handling of Concat to tinlinenode so that it can be easily extended for dynamic arrays 8 år sedan
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 år sedan
pmodules.pas 8eb885de91 * better error message if a unit is not found 7 år sedan
pp.lpi ed984e0c76 - removed missing file from project 8 år sedan
pp.pas 9fb2652433 List possible CPU in alphabetical order 8 år sedan
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 år sedan
ppc68k.lpi 9ebf2aa984 * project file updates 13 år sedan
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 år sedan
ppcarm.lpi 2e3a12c69d * version update 7 år sedan
ppcavr.lpi b9d4240a8d + version update 7 år sedan
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 år sedan
ppcmips.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc64.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 år sedan
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 år sedan
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic 7 år sedan
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas b41cb26727 + write selected features in ppu of the system unit and load them further on 7 år sedan
procinfo.pas b1dff29cbf * removed unused units 8 år sedan
pstatmnt.pas 37a5716819 * reuse more sparc code for sparc64 8 år sedan
psub.pas dffe423b10 * fix for Mantis #31945: two fixes for nested routines inside generic methods 8 år sedan
psystem.pas 0119e7afb3 * changed the codepointer type in the i8086 small and compact memory models from 7 år sedan
ptconst.pas b1dff29cbf * removed unused units 8 år sedan
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 år sedan
raatt.pas d591e698ac + added parameter 'hasofs' to ConcatConstSymbol. Will be used to support 'dd xx' 7 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 46fe2d486c * forgotten comment 7 år sedan
rautils.pas b49c09b84c * convert the 'var' parameters of RAUtils.AsmSearchSym to 'out' 7 år sedan
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 år sedan
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 år sedan
rgobj.pas 37a5716819 * reuse more sparc code for sparc64 8 år sedan
scandir.pas f61b074912 * (re)store alignment when doing a $push/$pop 7 år sedan
scanner.pas 5f7d3e16f5 * increase comment nesting level when "(*" is followed by another '*' 7 år sedan
switches.pas f61b074912 * (re)store alignment when doing a $push/$pop 7 år sedan
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 år sedan
symconst.pas 303309b28f + added support for 'external far' variables for i8086 7 år sedan
symcreat.pas d35377fdee * workaround for debug info for interface method wrappers: give them the 7 år sedan
symdef.pas b765d661ce * when registering a def also register the syms and defs of its symtables 8 år sedan
symsym.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
symtable.pas b322339758 + extend tstoredsymtable with method register_children to register all its symbols and defs 8 år sedan
symtype.pas d50848174a + add putboolean and getboolean convenience methods to tentfile 7 år sedan
symutil.pas b1dff29cbf * removed unused units 8 år sedan
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall 8 år sedan
systems.inc ce13d8a698 Fix fullcycle on x86_64-solaris machine by adding system_sparc64_solaris system constant 7 år sedan
systems.pas 901f7ba81c handle system_i386_netbsd for default_target_set 7 år sedan
tgobj.pas b1dff29cbf * removed unused units 8 år sedan
tokens.pas 25db29d0a6 * symtable.pas: 8 år sedan
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 år sedan
version.pas e5977d5c52 + support sparc64 as host/source cpu 8 år sedan
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 år sedan
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 16 år sedan
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 år sedan
wpoinfo.pas b1dff29cbf * removed unused units 8 år sedan

README.txt

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC