Jonas Maebe 0283670041 * set location.size if we handle a subscript access in 11 years ago
..
aarch64 99de108c68 * renamed all paramanagers to tcpuparamanager so the llvm paramanager can 11 years ago
alpha 99de108c68 * renamed all paramanagers to tcpuparamanager so the llvm paramanager can 11 years ago
arm e9268a0a14 * synchronised with trunk up till r26975 11 years ago
avr e9268a0a14 * synchronised with trunk up till r26975 11 years ago
generic 3017132268 * Remove triple sources 14 years ago
html fa0d3d79e0 no message 23 years ago
i386 e9268a0a14 * synchronised with trunk up till r26975 11 years ago
i8086 81427523ab * pass a list of (pointers to) the paralocs to hlcgobj.a_call/g_call*, as 11 years ago
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 years ago
jvm 81427523ab * pass a list of (pointers to) the paralocs to hlcgobj.a_call/g_call*, as 11 years ago
llvm 0283670041 * set location.size if we handle a subscript access in 11 years ago
m68k e9268a0a14 * synchronised with trunk up till r26975 11 years ago
mips fcbde1d6e9 + hlcg/llvm support for unary minus 11 years ago
msg 6697939903 * replaced some aren't, weren't, can't by are not, were not, cannot 11 years ago
powerpc e9268a0a14 * synchronised with trunk up till r26975 11 years ago
powerpc64 e9268a0a14 * synchronised with trunk up till r26975 11 years ago
ppcgen e9268a0a14 * synchronised with trunk up till r26975 11 years ago
sparc e9268a0a14 * synchronised with trunk up till r26975 11 years ago
systems e9268a0a14 * synchronised with trunk up till r26975 11 years ago
utils 7fdb125356 Added AVR support to fpc and root Makefile. 11 years ago
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 years ago
x86 81427523ab * pass a list of (pointers to) the paralocs to hlcgobj.a_call/g_call*, as 11 years ago
x86_64 41a53ef037 * don't replace some pointer types in paralocs with int64, gives nicer 11 years ago
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 years ago
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 years ago
Makefile 73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used. 11 years ago
Makefile.fpc fd5fa95416 + OPTNEW Makefile parameter: when running a native cycle, this allows to pass a parameter only to the new generated compiler 11 years ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 years ago
aasmbase.pas b82053ef40 * reworked handling of defined/declared symbols in llvm: we now automatically 11 years ago
aasmdata.pas d25330e367 * Removed tasmdata.realname (it is not used anywhere) and changed tasmdata.name to pshortstring. The name string is owned by tmodule and referenced by tasmdata. This removes 80-char limit on tasmdata.name, Mantis #25009. 12 years ago
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 years ago
aasmtai.pas 6dcfd73d21 + support for a_call_name() on the llvm target: 11 years ago
aggas.pas 2227045e23 Replace forbidden chars in more places in the GAS assembler writer. 11 years ago
agjasmin.pas 441b9feffc pass new asm extra opt using -ao option 11 years ago
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 years ago
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 11 years ago
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 years ago
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 years ago
aoptobj.pas 81517fdf70 Rerun peephole optimizers on the whole block 11 years ago
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 12 years ago
assemble.pas 46f8e78d1f + Support GOT/gp-relative constants in GAS and internal assemblers, MIPS and i386. 11 years ago
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 years ago
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 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 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 years ago
cfileutl.pas e87e2f9c30 Print out command line before running it with -vx option 11 years ago
cg64f32.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cgbase.pas 1df3039424 + LLVM temp allocator based on new R_TEMPREGISTER register class. For every 11 years ago
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions 11 years ago
cgobj.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
cgutils.pas 70f9b098e0 no longer define a segment field for m68k 11 years ago
cmsgs.pas aba10cd184 compiler: 13 years ago
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 years ago
compiler.pas 5409d4321e + basic llvm bitcode (textual format) writer: 11 years ago
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 12 years ago
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 years ago
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 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 eb508a18e9 compiler: remove RST writer 11 years ago
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 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 df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 years ago
dbgdwarf.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
dbgstabs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
dbgstabx.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
defcmp.pas c077adf499 Fix for Mantis #25132 11 years ago
defutil.pas 894d400a7b + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 12 years ago
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 years ago
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 years ago
expunix.pas 0960ee2034 * Add missing checks for android target. 12 years ago
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 years ago
fmodule.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): 11 years ago
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 years ago
fpcdefs.inc e9268a0a14 * synchronised with trunk up till r26975 11 years ago
fppu.pas 243e3bbb77 + added i8086 memory model flags to the ppu flags and added a check that prevents the using of units compiled for different memory models 12 years ago
gendef.pas aee5380ae0 * merged trunk up to r20882 13 years ago
globals.pas 6b7ed0234c + new globalsymbolmangleprefix/suffix constant set to '@"\01' resp. '"' 11 years ago
globstat.pas 88af293155 Fix for Mantis #22160 13 years ago
globtype.pas ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3) 11 years ago
hlcg2ll.pas 81427523ab * pass a list of (pointers to) the paralocs to hlcgobj.a_call/g_call*, as 11 years ago
hlcgobj.pas d3c11ca8b3 + support for MMREGISTER -> FPUREGISTER transfers in hlcgobj 11 years ago
htypechk.pas 3e4198ea45 * take care of dyn. arrays in cse 11 years ago
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 years ago
import.pas bf1c390027 * refactor import library generation 19 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 754790f641 Use new static library not supproted message 11 years ago
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 years ago
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 years ago
msgidx.inc 6697939903 * replaced some aren't, weren't, can't by are not, were not, cannot 11 years ago
msgtxt.inc 6697939903 * replaced some aren't, weren't, can't by are not, were not, cannot 11 years ago
nadd.pas 888ecdaee4 * fixed the type conversions of the 'and' operator to be Delphi compatible. Fixes Mantis #25179 11 years ago
nbas.pas 3e4198ea45 * take care of dyn. arrays in cse 11 years ago
ncal.pas df6837fa12 * Fixed cloning of varargs parameters in tcallnode.dogetcopy, resolves #23981. 11 years ago
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code 11 years ago
ncgcal.pas 752b6739a8 * properly handle address and temp registers in return locations 11 years ago
ncgcnv.pas cdfb23bf6c * converted some leftovers in tcgtypeconvnode.second_int_to_int/ 11 years ago
ncgcon.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ncgflw.pas e26ce9e442 * Fix code generation of for-loops. Keeping a copy of to-value in register during pass 2 is basically a hack, because register may be destroyed if an exception is raised and handled in loop body. This went unnoticed because generic setjmp-based exception handling is restoring registers to the state at entry to try block, and Win64 SEH also has some register-preserving features. However, for Win32 SEH it is not true. 11 years ago
ncginl.pas 6e9083aa84 * fixed inc/dec with constant truncating the high parts of the constant on 11 years ago
ncgld.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
ncgmat.pas fcbde1d6e9 + hlcg/llvm support for unary minus 11 years ago
ncgmem.pas 81427523ab * pass a list of (pointers to) the paralocs to hlcgobj.a_call/g_call*, as 11 years ago
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 years ago
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 years ago
ncgobjc.pas 4cf5e36ce7 compiler: 14 years ago
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ncgrtti.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ncgset.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ncgutil.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
ncgvmt.pas 8f6d8b849e * Generate interface wrappers together with data structures of class they belong to, and place everything into single assembler slice (since all wrappers are always referenced by VPTR, attempting to smartlink them is useless). This removes separate iteration pass over symtables and reduces amount of smartlink files. 11 years ago
ncnv.pas 8cc9b64ad7 * don't discard typeconversion nodes that only change the result type when 11 years ago
ncon.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
nflw.pas e5aa0e4316 * set pi_uses_exceptions flag only if the try...finally frame is not an implicit frame 11 years ago
ngenutil.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
ngtcon.pas 672c96a811 * write elements of bitpacked arrays grouped per the number of bits that 11 years ago
ninl.pas ab3f5744e0 * skip dec/inc type checking in unspecialized generic methods, resolves #25603 11 years ago
nld.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 11 years ago
nmat.pas 6e1bf4d040 * properly simplify not(<const. cbool>), resolves #25255 11 years ago
nmem.pas 2908fa9123 + added type parentfpvoidpointertype, which is a void pointer with the same size 11 years ago
nobj.pas d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 12 years ago
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 years ago
node.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken 11 years ago
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 years ago
nset.pas 60a07770f1 Fix cycling after addition of the new case simplification. 11 years ago
nstate.pas 790a4fe2d3 * log and id tags removed 20 years ago
nutils.pas 9d48bc0baf Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. 12 years ago
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). 14 years ago
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by 11 years ago
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 years ago
ogbase.pas 46f8e78d1f + Support GOT/gp-relative constants in GAS and internal assemblers, MIPS and i386. 11 years ago
ogcoff.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ogelf.pas 3c5345cb4e + Write 'non-executable stack' marker to object files also on FreeBSD (verified for version 9.0 for i386). 11 years ago
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 years ago
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 years ago
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 years ago
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 years ago
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 years ago
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 years ago
optcse.pas 25fc10b556 * do not store references to dyn. arrays 11 years ago
optdead.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 years ago
optdfa.pas c44b5d1043 * take care of tempinitcode when creating def information for tempcreatenodes 11 years ago
options.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
optloop.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken 11 years ago
opttail.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 years ago
optvirt.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 11 years ago
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 years ago
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 years ago
parabase.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): 11 years ago
paramgr.pas 9321d9916d * use voidpointer.size instead of sizeof(pint) in tparamanager.push_size in 11 years ago
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 years ago
pass_1.pas 9fdd64e94c * indention and new line fixes 11 years ago
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 years ago
pbase.pas 1c578de28c compiler: 12 years ago
pdecl.pas 79ef05407a compiler: fix error message (was error message about resourcestring for property) 11 years ago
pdecobj.pas ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3) 11 years ago
pdecsub.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
pdecvar.pas 6364cf412d * do not crash on invalid property declaration, resolves #23980 11 years ago
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 years ago
pexpr.pas 9c4505045b * fixed formatting 11 years ago
pgenutil.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
pinline.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
pmodules.pas 009c96a0bd * fixed setting up the global switch for main programs without a "program" 11 years ago
pp.lpi 440a592d68 * project file updated for newer lazarus versions 12 years ago
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 years ago
pparautl.pas 2908fa9123 + added type parentfpvoidpointertype, which is a void pointer with the same size 11 years ago
ppc68k.lpi 9ebf2aa984 * project file updates 13 years ago
ppc8086.lpi 6046edd8f9 + i8086/n8086cnv.pas added to lazarus project 12 years ago
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 years ago
ppcarm.lpi 9ebf2aa984 * project file updates 13 years ago
ppcavr.lpi 9ebf2aa984 * project file updates 13 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 9ebf2aa984 * project file updates 13 years ago
ppcppc64.lpi 9ebf2aa984 * project file updates 13 years ago
ppcsparc.lpi 9ebf2aa984 * project file updates 13 years ago
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 years ago
ppu.pas ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3) 11 years ago
ppx86_64.lpi e96dc4204e * version update 13 years ago
procinfo.pas 5c33644e5c compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865) 12 years ago
pstatmnt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
psub.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
psystem.pas 9743a9122d * moved creation of voidpointertype, so that voidpointertype.size is available 11 years ago
ptconst.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
ptype.pas ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3) 11 years ago
raatt.pas d89b9a4311 Add support in ARM assembler reader for ldr reg, =literal syntax 12 years ago
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 years ago
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 years ago
rautils.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 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 e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 years ago
rgobj.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
scandir.pas 93883d1264 compiler: load binary unicode mappings in cpavailable() call instead of separate loadbinarycp() call 11 years ago
scanner.pas b611882337 * some minor formatting fixes 11 years ago
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 years ago
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 years ago
symconst.pas 1d4a4d0684 + noreturn directive 11 years ago
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 12 years ago
symdef.pas 6b7ed0234c + new globalsymbolmangleprefix/suffix constant set to '@"\01' resp. '"' 11 years ago
symnot.pas 790a4fe2d3 * log and id tags removed 20 years ago
symsym.pas 6b7ed0234c + new globalsymbolmangleprefix/suffix constant set to '@"\01' resp. '"' 11 years ago
symtable.pas cefcb856b6 + code from the old llvm branch to create a "shadow symtable" for records 11 years ago
symtype.pas 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. 11 years ago
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 years ago
systems.inc e9268a0a14 * synchronised with trunk up till r26975 11 years ago
systems.pas e9268a0a14 * synchronised with trunk up till r26975 11 years ago
tgobj.pas 1df3039424 + LLVM temp allocator based on new R_TEMPREGISTER register class. For every 11 years ago
tokens.pas 1d4a4d0684 + noreturn directive 11 years ago
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 years ago
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 years ago
widestr.pas f9c3c598b6 compiler: remove big codepage maps from the compiler executable - they will be loaded from -FM path when needed 11 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 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 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