Jonas Maebe a76bbf363d * synchronised with trunk r29513 10 éve
..
aarch64 a76bbf363d * synchronised with trunk r29513 10 éve
alpha a76bbf363d * synchronised with trunk r29513 10 éve
arm a76bbf363d * synchronised with trunk r29513 10 éve
avr a76bbf363d * synchronised with trunk r29513 10 éve
generic a76bbf363d * synchronised with trunk r29513 10 éve
html fa0d3d79e0 no message 23 éve
i386 a76bbf363d * synchronised with trunk r29513 10 éve
i8086 a76bbf363d * synchronised with trunk r29513 10 éve
ia64 a76bbf363d * synchronised with trunk r29513 10 éve
jvm a76bbf363d * synchronised with trunk r29513 10 éve
m68k a76bbf363d * synchronised with trunk r29513 10 éve
mips a76bbf363d * synchronised with trunk r29513 10 éve
msg a76bbf363d * synchronised with trunk r29513 10 éve
powerpc a76bbf363d * synchronised with trunk r29513 10 éve
powerpc64 a76bbf363d * synchronised with trunk r29513 10 éve
ppcgen a76bbf363d * synchronised with trunk r29513 10 éve
sparc a76bbf363d * synchronised with trunk r29513 10 éve
systems a76bbf363d * synchronised with trunk r29513 10 éve
utils a76bbf363d * synchronised with trunk r29513 10 éve
vis a76bbf363d * synchronised with trunk r29513 10 éve
x86 a76bbf363d * synchronised with trunk r29513 10 éve
x86_64 a76bbf363d * synchronised with trunk r29513 10 éve
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 éve
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 éve
Makefile a76bbf363d * synchronised with trunk r29513 10 éve
Makefile.fpc a76bbf363d * synchronised with trunk r29513 10 éve
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 éve
aasmbase.pas a76bbf363d * synchronised with trunk r29513 10 éve
aasmdata.pas a76bbf363d * synchronised with trunk r29513 10 éve
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 éve
aasmtai.pas a76bbf363d * synchronised with trunk r29513 10 éve
aggas.pas a76bbf363d * synchronised with trunk r29513 10 éve
agjasmin.pas a76bbf363d * synchronised with trunk r29513 10 éve
aopt.pas 92fa75838e * honour -Oonopeephole 11 éve
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 12 éve
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 éve
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 éve
aoptobj.pas a76bbf363d * synchronised with trunk r29513 10 éve
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 éve
assemble.pas a76bbf363d * synchronised with trunk r29513 10 éve
blockutl.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 éve
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 éve
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 éve
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 éve
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 éve
cclasses.pas a76bbf363d * synchronised with trunk r29513 10 éve
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 éve
cfileutl.pas a76bbf363d * synchronised with trunk r29513 10 éve
cg64f32.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
cgbase.pas ec6dfb5853 + added tcgsize2str function 11 éve
cghlcpu.pas 8a0caea0c0 + override g_save_registers() and g_restore_registers() with do-nothing versions 11 éve
cgobj.pas a76bbf363d * synchronised with trunk r29513 10 éve
cgutils.pas d6c6c84f76 * calc_divconst_magic_unsigned: explicitly limit the shift amount to number of bits of target platform. This happens implicitly only on x86, on other 32-bit targets shifting by more than 31 bits calculates as zero. 11 éve
cmsgs.pas aba10cd184 compiler: 14 éve
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 éve
compiler.pas a76bbf363d * synchronised with trunk r29513 10 éve
compinnr.inc a76bbf363d * synchronised with trunk r29513 10 éve
comprsrc.pas a76bbf363d * synchronised with trunk r29513 10 éve
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 12 éve
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 éve
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
cresstr.pas eb508a18e9 compiler: remove RST writer 11 éve
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 éve
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 éve
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 éve
dbgdwarf.pas a76bbf363d * synchronised with trunk r29513 10 éve
dbgstabs.pas a76bbf363d * synchronised with trunk r29513 10 éve
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 éve
defcmp.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 éve
defutil.pas a76bbf363d * synchronised with trunk r29513 10 éve
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 éve
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 éve
expunix.pas a76bbf363d * synchronised with trunk r29513 10 éve
finput.pas 5e76203bc3 * don't hard-code size of linebuf entries 11 éve
fmodule.pas a76bbf363d * synchronised with trunk r29513 10 éve
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 éve
fpcdefs.inc 0262514939 * m68k: Transform 32-bit div/mod nodes into helper calls during pass 1. This is consistent with the way other targets do it, and results in pretty much nicer code. 11 éve
fppu.pas a76bbf363d * synchronised with trunk r29513 10 éve
gendef.pas aee5380ae0 * merged trunk up to r20882 13 éve
globals.pas a76bbf363d * synchronised with trunk r29513 10 éve
globstat.pas 88af293155 Fix for Mantis #22160 13 éve
globtype.pas a76bbf363d * synchronised with trunk r29513 10 éve
hlcg2ll.pas a76bbf363d * synchronised with trunk r29513 10 éve
hlcgobj.pas 9758a53fa6 - rm the ifdef cpu16bitalu and cpu64bitalu from thlcgobj.a_load_ref_cgpara, 11 éve
htypechk.pas a76bbf363d * synchronised with trunk r29513 10 éve
impdef.pas a76bbf363d * synchronised with trunk r29513 10 éve
import.pas bf1c390027 * refactor import library generation 19 éve
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
link.pas eddab86312 * pass the -b option to wlib to avoid creating .bak files 11 éve
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 éve
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 éve
msgidx.inc a76bbf363d * synchronised with trunk r29513 10 éve
msgtxt.inc a76bbf363d * synchronised with trunk r29513 10 éve
nadd.pas a76bbf363d * synchronised with trunk r29513 10 éve
nbas.pas 9e29fd424d * changed the "laststatement" parameter of internalstatements() from "var" 11 éve
ncal.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgadd.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
ncgbas.pas 99770d367f * 16-bit and 8-bit ALU fixes in tcgtempdeletenode.pass_generate_code 11 éve
ncgcal.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgcnv.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgcon.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgflw.pas a79a891940 * handle the result of FPC_CATCHES via the high level code generator (which makes it i8086 far pointer safe) 11 éve
ncginl.pas 214eaebf99 * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models 11 éve
ncgld.pas 441e6c6083 Fix for Mantis #26177. Use the correct value for the method data when using a method pointer of a type or record helper. 11 éve
ncgmat.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgmem.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 14 éve
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 éve
ncgobjc.pas 4cf5e36ce7 compiler: 14 éve
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
ncgrtti.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgset.pas 1d4de72aa7 + 8-bit ALU support in tcgcasenode.genlinearcmplist 11 éve
ncgutil.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncgvmt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 éve
ncnv.pas a76bbf363d * synchronised with trunk r29513 10 éve
ncon.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
nflw.pas a76bbf363d * synchronised with trunk r29513 10 éve
ngenutil.pas a76bbf363d * synchronised with trunk r29513 10 éve
ngtcon.pas a76bbf363d * synchronised with trunk r29513 10 éve
ninl.pas a76bbf363d * synchronised with trunk r29513 10 éve
nld.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
nmat.pas a76bbf363d * synchronised with trunk r29513 10 éve
nmem.pas a76bbf363d * synchronised with trunk r29513 10 éve
nobj.pas 89e9fac562 * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far 11 éve
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 éve
node.pas 1366498255 + nf_addr_taken: it marks nodes which address is taken 11 éve
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 éve
nset.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
nstate.pas 790a4fe2d3 * log and id tags removed 20 éve
nutils.pas a76bbf363d * synchronised with trunk r29513 10 éve
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 éve
objcgutl.pas a4c938c042 * changed some random data label names to match the label names outputted by 11 éve
objcutil.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 éve
ogbase.pas a76bbf363d * synchronised with trunk r29513 10 éve
ogcoff.pas a76bbf363d * synchronised with trunk r29513 10 éve
ogelf.pas a76bbf363d * synchronised with trunk r29513 10 éve
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 éve
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 éve
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 éve
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 éve
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 éve
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 éve
optcse.pas 99e1bb32a2 + apply cse to more inline nodes 11 éve
optdead.pas 70088d12a8 * eliminate classes unit from the compiler by copying an array of string based 11 éve
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 éve
optdfa.pas a76bbf363d * synchronised with trunk r29513 10 éve
options.pas a76bbf363d * synchronised with trunk r29513 10 éve
optloop.pas a76bbf363d * synchronised with trunk r29513 10 éve
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 éve
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 éve
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 éve
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 éve
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 éve
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 éve
paramgr.pas a76bbf363d * synchronised with trunk r29513 10 éve
parser.pas a76bbf363d * synchronised with trunk r29513 10 éve
pass_1.pas 9fdd64e94c * indention and new line fixes 12 éve
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 éve
pbase.pas c6496f8ec5 Fix for Mantis #26278. 11 éve
pdecl.pas a76bbf363d * synchronised with trunk r29513 10 éve
pdecobj.pas a76bbf363d * synchronised with trunk r29513 10 éve
pdecsub.pas a76bbf363d * synchronised with trunk r29513 10 éve
pdecvar.pas 159a35da4e * check for read/write after a newly declared property (mantis #26011) 11 éve
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 éve
pexpr.pas a76bbf363d * synchronised with trunk r29513 10 éve
pgenutil.pas a76bbf363d * synchronised with trunk r29513 10 éve
pinline.pas a76bbf363d * synchronised with trunk r29513 10 éve
pmodules.pas a76bbf363d * synchronised with trunk r29513 10 éve
pp.lpi bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 éve
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 éve
pparautl.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 éve
ppc68k.lpi 9ebf2aa984 * project file updates 13 éve
ppc8086.lpi 3cc8ff11e3 + generate the stack segment for i8086 far data memory models from within fpc 11 éve
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 éve
ppcarm.lpi 9ebf2aa984 * project file updates 13 éve
ppcavr.lpi 9ebf2aa984 * project file updates 13 éve
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 éve
ppcmips.lpi 9ebf2aa984 * project file updates 13 éve
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc.lpi 9ebf2aa984 * project file updates 13 éve
ppcppc64.lpi 9ebf2aa984 * project file updates 13 éve
ppcsparc.lpi 9ebf2aa984 * project file updates 13 éve
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 éve
ppu.pas a76bbf363d * synchronised with trunk r29513 10 éve
ppx86_64.lpi e96dc4204e * version update 13 éve
procinfo.pas eeb15fc445 * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 11 éve
pstatmnt.pas 270c2d700e * allow the "then" part of an if-statement to be terminated by any endtoken, 11 éve
psub.pas a76bbf363d * synchronised with trunk r29513 10 éve
psystem.pas a76bbf363d * synchronised with trunk r29513 10 éve
ptconst.pas a76bbf363d * synchronised with trunk r29513 10 éve
ptype.pas a76bbf363d * synchronised with trunk r29513 10 éve
raatt.pas a76bbf363d * synchronised with trunk r29513 10 éve
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 éve
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 éve
rautils.pas a76bbf363d * synchronised with trunk r29513 10 éve
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 éve
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 éve
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 éve
rgobj.pas a76bbf363d * synchronised with trunk r29513 10 éve
scandir.pas 7f9fa145e8 + added error message in case the HUGEPOINTERNORMALIZATION directive is used 11 éve
scanner.pas a76bbf363d * synchronised with trunk r29513 10 éve
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 éve
switches.pas 86b9a0eed1 + added the $F switch to the turbo and macSwitchTable, as that takes precedence 11 éve
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 éve
symconst.pas a76bbf363d * synchronised with trunk r29513 10 éve
symcreat.pas 2bc8afaa63 + support for calling a method via a block: we capture the method as a 11 éve
symdef.pas a76bbf363d * synchronised with trunk r29513 10 éve
symnot.pas 790a4fe2d3 * log and id tags removed 20 éve
symsym.pas a76bbf363d * synchronised with trunk r29513 10 éve
symtable.pas a76bbf363d * synchronised with trunk r29513 10 éve
symtype.pas 2075dc5a53 * support for raising the visibility of inherited properties on the JVM 11 éve
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 éve
systems.inc a76bbf363d * synchronised with trunk r29513 10 éve
systems.pas a76bbf363d * synchronised with trunk r29513 10 éve
tgobj.pas a76bbf363d * synchronised with trunk r29513 10 éve
tokens.pas a76bbf363d * synchronised with trunk r29513 10 éve
verbose.pas a0f0d0de40 * make use of the noreturn directive for internalerror 12 éve
version.pas a76bbf363d * synchronised with trunk r29513 10 éve
widestr.pas 9fb4db7a2f * add support for Latin-2 character sets (ISO & IBM) 11 éve
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 éve
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 éve
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because 11 éve

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