florian 1f4be60927 * fix token order, I should really learn the alphabet hace 14 años
..
alpha 515774b864 * merged armthum branch hace 16 años
arm b8e9fd5c00 * use blx also for ARMv5, since it works on non-T variants and is required hace 14 años
avr ef699b1864 + avr flag and condition handling hace 14 años
html fa0d3d79e0 no message hace 23 años
i386 f328b6d635 + user section type hace 14 años
ia64 5acf377e31 * enable node cse for all cpus as level 2 optimization hace 15 años
m68k b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle hace 15 años
mips b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle hace 15 años
msg f328b6d635 + user section type hace 14 años
powerpc f328b6d635 + user section type hace 14 años
powerpc64 5175a5ee07 * handle LOC_SUBSETREG,LOC_CSUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF in hace 15 años
ppcgen a40fe9c078 * fixed potentially wrong operation size in tgppccasenode.genlinearlist() hace 15 años
sparc b317139006 compiler: fix compilation problems caused by tprocdef._class -> tprocdef.struct rename which was found by make fullcycle hace 15 años
systems 5fc349eda7 * Fixed stacksize for Wii hace 14 años
utils 3c6bb40c52 * Samplecfg now uses fpcmkcfg to create the configuration files hace 14 años
vis b6e4896805 * small typo corrections by Adriaan Van Os (mantis #15652) hace 15 años
x86 f328b6d635 + user section type hace 14 años
x86_64 af020e8ebc * fix assembling of ljmp mem, resolves #18556 hace 14 años
COPYING.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests hace 19 años
Makefile 9604ae2908 * also delete ppcppc64, ppcarm, ppcmips and ppcmipsel in the execlean target hace 14 años
Makefile.fpc 9604ae2908 * also delete ppcppc64, ppcarm, ppcmips and ppcmipsel in the execlean target hace 14 años
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files hace 16 años
aasmbase.pas f328b6d635 + user section type hace 14 años
aasmdata.pas d1ed076618 * changed r16080 so that global debug labels are only created on linux hace 15 años
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files hace 19 años
aasmtai.pas 5abdfb6f7e * aint -> asizeint changes hace 14 años
aggas.pas f328b6d635 + user section type hace 14 años
aopt.pas 666b4e2469 * fixed range errors in label bookkeeping that caused too much memory to be hace 16 años
aoptbase.pas f97730f73f * use labelCanBeSkipped as used by i386 in generic optimizer code too hace 16 años
aoptcs.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis hace 16 años
aoptobj.pas 4be36c4b2b * fixed a number of missing label reference removals when deleting hace 14 años
asmutils.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): hace 16 años
assemble.pas b127fc154a * Fixed spell error revealed by lintian. hace 15 años
browcol.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed hace 15 años
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build hace 25 años
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because hace 16 años
ccharset.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cclasses.pas c072eb5a34 * fixed growing a tbitset when adding an element whose index equals the hace 15 años
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems hace 15 años
cfileutl.pas 5fc94a5076 * don't look for helper executables (assembler, linker, resource compiler, hace 15 años
cg64f32.pas 9bc15a5f61 * renamed a_param_* to a_load_*_cgpara hace 15 años
cgbase.pas fcd3872d88 + introduction of tcgint hace 14 años
cgobj.pas 7f62d5cfb0 * tcg.g_array_rtti_helper: if high-value is a constant, handle it without using a register. hace 14 años
cgutils.pas 4f82149dbd * aint -> asizeint change hace 14 años
cmsgs.pas 1ef53ca590 compiler: remove unused variables (reduce hints) hace 15 años
comphook.pas a8381c8b32 fpc: compiler: hace 15 años
compiler.pas 527dd56b28 + Initial Wii support hace 14 años
compinnr.inc 5dae691c96 * implementation of bit scan intrinsics by Richard Vida, resolves #17592 hace 15 años
comprsrc.pas 3cd29858ba compiler, utils: pass tlb resources to fpcres hace 15 años
constexp.pas 04606982ac * fixed evaluation of "mod" operator for tconstexprint with signed operands hace 16 años
cp1251.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cp437.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cp850.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cp866.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cp8859_1.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
cp8859_5.pas b178b08ba7 Merged revisions 11665-11738 via svnmerge from hace 17 años
crefs.pas 851b00f8e9 * more properties fixed hace 16 años
cresstr.pas b5e7b3e1e7 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): hace 16 años
cstreams.pas 71193c0f2c * fixed bootstrapping with 2.0.4 hace 18 años
cutils.pas a149674a75 Merged revisions 13458-13596 via svnmerge from hace 16 años
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released hace 14 años
dbgbase.pas 915c412ae3 compiler: generate debug info for record methods: hace 15 años
dbgdwarf.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
dbgstabs.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
defcmp.pas 4780278e7b Fix Mantis #11783: hace 14 años
defutil.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into hace 15 años
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works hace 16 años
expunix.pas 617e1b9b10 * handle i386/x86_64 solaris pic as for linux hace 16 años
finput.pas 8dbc728926 * changed InputFileBufSize from 32kb to 32kb+1byte, because the last hace 16 años
fmodule.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places hace 15 años
fpccrc.pas 793fd8fc09 * Add -Xg to help pages hace 18 años
fpcdefs.inc ca76476cfa * avr needs div helper hace 14 años
fppu.pas de51c4734c * fixed searching for the 8-character variant of already compiled hace 15 años
gendef.pas caf0096877 * enabled version and description directive for all windows hace 16 años
globals.pas 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released hace 14 años
globtype.pas fcd3872d88 + introduction of tcgint hace 14 años
htypechk.pas a39733a0a2 compiler: extend enumerator support for records: hace 14 años
impdef.pas f1067607b6 + workaround for non-working dircache on morphos/amiga hace 19 años
import.pas bf1c390027 * refactor import library generation hace 19 años
link.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by hace 15 años
machoutils.pas 28cd8271c9 * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev hace 16 años
msgidx.inc f328b6d635 + user section type hace 14 años
msgtxt.inc f328b6d635 + user section type hace 14 años
nadd.pas 906ca89f4e compiler: hace 15 años
nbas.pas 769eb3f604 * moved the initialisation of the nodetree and tai class reference constants hace 15 años
ncal.pas 48d93dc40e * Fixed handling of "open array of managed type" out-parameters at caller side. Reference count should be decremented only for those array elements which are actually passed to the called procedure; it may be a part of original array if range or slice is used. Concludes work on #18859. hace 14 años
ncgadd.pas e8871f0885 * fixed and simplified tcgaddnode.second_addsmallset: don't modify hace 15 años
ncgbas.pas b127fc154a * Fixed spell error revealed by lintian. hace 15 años
ncgcal.pas 48d93dc40e * Fixed handling of "open array of managed type" out-parameters at caller side. Reference count should be decremented only for those array elements which are actually passed to the called procedure; it may be a part of original array if range or slice is used. Concludes work on #18859. hace 14 años
ncgcnv.pas 97f9157a7a * convert LOC_FLAGS/LOC_JUMP to cbool value in bool_to_bool conversion, hace 15 años
ncgcon.pas 025ec34e4d + "CExtended" type that is the same as "extended", but conforming to the hace 15 años
ncgflw.pas 65ab1e820b * Safecall on linux/i386 now behaves like cdecl plus hidden exception support. hace 15 años
ncginl.pas 04e26bfc85 * corrected version of r16812: code generation is still handled specially hace 14 años
ncgld.pas e4a6221bf3 compiler, rtl: add vtUnicodeString (issue #0018560) hace 14 años
ncgmat.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
ncgmem.pas 3e6ad5f5aa * tcgvecnode, simplified range checking for strings. Removed FPC_*STR_CHECKZERO helpers, and changed FPC_*STR_CHECKRANGE so they accept the original left node. Now strings are checked the same way as dynamic arrays, and the compiler part is considerably simpler. hace 14 años
ncgobjc.pas b084d70ae4 compiler: cleanup - remove unused variables hace 16 años
ncgopt.pas 7d459cf12a * the compiler now explicitly keeps track of the minimally guaranteed hace 16 años
ncgrtti.pas 89dc742de2 compiler: mark operator overloads as operators in rtti (although classes don't have operator overloads now) hace 15 años
ncgset.pas 749e791768 * fixed in-code for big endian systems and smallsets < 4 bytes hace 16 años
ncgutil.pas f328b6d635 + user section type hace 14 años
ncnv.pas eab29db98a * merged tasnode.pass_typecheck() and tisnode.pass_typecheck() into a single hace 14 años
ncon.pas ba700ad2ff * Improvements to Dispatch call handling: hace 15 años
nflw.pas a39733a0a2 compiler: extend enumerator support for records: hace 14 años
ninl.pas e99c4d1950 + support str(<boolean>,...), boolean is an enumeration type hace 14 años
nld.pas dad8313512 compiler: handle dispinterfaces the same way as com interfaces because they are IDispatch descendants: increment/decrement they references in assignments and parameters passing by _AddRef, _Release hace 14 años
nmat.pas a8da9e4bd1 compiler: set result value to dummy function to prevent compiler to generate a hint hace 15 años
nmem.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into hace 15 años
nobj.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places hace 15 años
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code hace 15 años
node.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change hace 15 años
nopt.pas 6b8aed593f * remove registers{int/mmx/fpu} from firstpass hace 18 años
nset.pas 4531e1231b compiler: implement Inc, Dec class operators hace 15 años
nstate.pas 790a4fe2d3 * log and id tags removed hace 20 años
nutils.pas dad8313512 compiler: handle dispinterfaces the same way as com interfaces because they are IDispatch descendants: increment/decrement they references in assignments and parameters passing by _AddRef, _Release hace 14 años
objcdef.pas cec5843f95 * renamed objcdef.addencodedtype to objcaddencodedtype for consistency hace 15 años
objcgutl.pas bcc836f1b0 * put the RTTI for optional protocol methods in the correct section for hace 15 años
objcutil.pas cec5843f95 * renamed objcdef.addencodedtype to objcaddencodedtype for consistency hace 15 años
ogbase.pas f328b6d635 + user section type hace 14 años
ogcoff.pas f328b6d635 + user section type hace 14 años
ogelf.pas f328b6d635 + user section type hace 14 años
oglx.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ogmacho.pas f328b6d635 + user section type hace 14 años
ogmap.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. hace 17 años
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse hace 15 años
optcse.pas 1fef7e4b6c + introduces vo_volatile for variables, the node cse optimizer takes care of it hace 14 años
optdead.pas 1597aac6d2 * first search for gnm and only then for nm hace 17 años
optdfa.pas 9955e6b2bf * dfa fixes by Sergei Gorelkin, resolve #15402 hace 16 años
options.pas 0da9d36116 * fixed internal assembler for x86-64 so that it correctly handles hace 15 años
optloop.pas 092153e7ad * handle unrolling of for ... downto ... correctly, resolves #15668 hace 15 años
opttail.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed hace 15 años
optutils.pas db196d76c2 + strength reduction for array accesses inside for loops hace 17 años
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated hace 15 años
owar.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. hace 17 años
owbase.pas 5e11e697b4 * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. hace 17 años
parabase.pas fcd3872d88 + introduction of tcgint hace 14 años
paramgr.pas 3d3a42b911 * improvement to r16050 for non-fixed stack targets: they never have to use hace 14 años
parser.pas dc5f5c3f63 compiler: use current_structdef instead of current_objectdef in more places hace 15 años
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef hace 15 años
pass_2.pas ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change hace 15 años
pbase.pas 668cd1f3c0 compiler: change check for current in try_consume_unitsym - don't use current_unit in check because specialize code does not replace this variable (fixes bug #0015591) hace 15 años
pdecl.pas ac283bb237 * when checking whether the current class definition finalises an existing hace 14 años
pdecobj.pas 368c215070 compiler: always derive DispInterface from IDispatch, this solve a problem with assigning dispinterface to IUnknown or IDispatch variables hace 14 años
pdecsub.pas a39733a0a2 compiler: extend enumerator support for records: hace 14 años
pdecvar.pas f328b6d635 + user section type hace 14 años
pexports.pas 56bf42de57 compiler: implement record methods and class methods: hace 15 años
pexpr.pas 71cce9716d * Parse 'variant_expression.ident[parameters]' as a parametrized property access, rather than non-parametrized property followed by array subscript. This corresponds to Delphi behavior and fixes Mantis #17127. hace 14 años
pinline.pas 1fcd40ee64 Continue fixing open array handling: hace 14 años
pmodules.pas 0f35da07f1 compiler: call gen_intf_wrappers not only for unit symtables but also for syntables of records and object types because they can contain nested classes (bug #0018610) hace 14 años
pp.lpi 197049c221 * updated to version 9 hace 14 años
pp.pas 6e8a6790d1 + FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL hace 16 años
ppc.cfg 9465a13e71 + Delphi 6 configuration file hace 23 años
ppc.conf add30a428e * Kylix fixes, mostly case names of units hace 24 años
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
ppc68k.lpi ab217ca748 * lpi version increased hace 16 años
ppcarm.lpi ab217ca748 * lpi version increased hace 16 años
ppcavr.lpi 26ce3cef00 * compilation fixes hace 14 años
ppcmipsel.lpi 4fd2aa297a Adds mipsel lazarus project hace 16 años
ppcppc.lpi ab217ca748 * lpi version increased hace 16 años
ppcsparc.lpi ab217ca748 * lpi version increased hace 16 años
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
ppu.pas e4656050a7 + get/putansistring hace 14 años
ppx86_64.lpi ab217ca748 * lpi version increased hace 16 años
procinfo.pas f13f6627c4 * moved use_fixed_stack from cgutils to a method in paramgr so it can hace 15 años
pstatmnt.pas 2222f2c44b * renamed is_class_or_interface_or_dispinterface_or_objc() into hace 15 años
psub.pas cc10ab57ab * create a stub on all targets when the external name changes, resolves #18371 hace 14 años
psystem.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
ptconst.pas 5abdfb6f7e * aint -> asizeint changes hace 14 años
ptype.pas 8e788c6fa5 * further fixes for parsing declarations involving nested types that are hace 14 años
raatt.pas 780e75bfac o patch by Jeppe Johansen to fix mantis #17472: hace 15 años
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist hace 19 años
rautils.pas bbf0e35a51 + Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield hace 14 años
regvars.pas 07bf44517c * Merged XPCom branch into trunk, added support for constref and changed hace 15 años
rescmn.pas 174de3eab1 Merged revisions 9693-10480 via svnmerge from hace 17 años
rgbase.pas 790a4fe2d3 * log and id tags removed hace 20 años
rgobj.pas b127fc154a * Fixed spell error revealed by lintian. hace 15 años
scandir.pas 86d3e41442 compiler: replace MODESWTICH POINTERARITHMETICS with $POINTERMATH directive, disable pointer arithmetic in delphi mode by default (compatible with delphi), enable pointer arithmetic in fpc/objfpc modes as they had it enabled by default before, add has_pointer_math field to tpointerdef to allow pointer arithmetic with such pointer even if pointer math mode is off (delphi compatible) + tests hace 15 años
scanner.pas 86d3e41442 compiler: replace MODESWTICH POINTERARITHMETICS with $POINTERMATH directive, disable pointer arithmetic in delphi mode by default (compatible with delphi), enable pointer arithmetic in fpc/objfpc modes as they had it enabled by default before, add has_pointer_math field to tpointerdef to allow pointer arithmetic with such pointer even if pointer math mode is off (delphi compatible) + tests hace 15 años
script.pas 446e2161ce + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. hace 17 años
switches.pas a8381c8b32 fpc: compiler: hace 15 años
symbase.pas 5a2ccfff52 --WARNING: start build process with FPC 2.2.4; won't work when hace 16 años
symconst.pas f328b6d635 + user section type hace 14 años
symdef.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
symnot.pas 790a4fe2d3 * log and id tags removed hace 20 años
symsym.pas f328b6d635 + user section type hace 14 años
symtable.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
symtype.pas 26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer) hace 14 años
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). hace 18 años
systems.pas 527dd56b28 + Initial Wii support hace 14 años
tgobj.pas 718694d1d6 * always specify an explicit alignment for tgobj.gettemp (so e.g. hace 17 años
tokens.pas 1f4be60927 * fix token order, I should really learn the alphabet hace 14 años
verbose.pas 43846ca8c9 * force always printing absolute paths when using -vb (mantis #15783) hace 15 años
version.pas 8bd552b7b3 * version 2.5.1 hace 16 años
widestr.pas 45d25bbe77 * fixed storing/loading widestring constant nodes into/from ppu files hace 15 años
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 hace 17 años
wpobase.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated hace 15 años
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used hace 16 años

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