fpc/compiler
marco ac5552cec0 * German msg files from KMS, mantis 14966
git-svn-id: trunk@14009 -
2009-11-02 20:15:14 +00:00
..
alpha * merged armthum branch 2009-10-04 09:03:44 +00:00
arm * merged armthum branch 2009-10-04 09:03:44 +00:00
avr * merged armthum branch 2009-10-04 09:03:44 +00:00
html
i386 * merged armthum branch 2009-10-04 09:03:44 +00:00
ia64
m68k * merged armthum branch 2009-10-04 09:03:44 +00:00
mips
msg * German msg files from KMS, mantis 14966 2009-11-02 20:15:14 +00:00
powerpc * merged armthum branch 2009-10-04 09:03:44 +00:00
powerpc64 * merged armthum branch 2009-10-04 09:03:44 +00:00
ppcgen * fixed powerpc compilation after r13760 2009-09-27 14:01:41 +00:00
sparc * merged armthum branch 2009-10-04 09:03:44 +00:00
systems * merged armthum branch 2009-10-04 09:03:44 +00:00
utils merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
vis
x86 * try to prevent addresses from being PICified multiple times (should fix 2009-10-02 14:13:10 +00:00
x86_64 * merged armthum branch 2009-10-04 09:03:44 +00:00
aasmbase.pas * do not access local data via the GOT on x86_64, because 2009-09-27 13:43:56 +00:00
aasmdata.pas * enabled generation of dwarf frames for non x64 targets when dwarf debug info is requested 2009-03-16 23:43:26 +00:00
aasmsym.pas
aasmtai.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
aggas.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
aopt.pas * more aint() type casts replaced by int64() type casts 2008-11-13 19:44:30 +00:00
aoptbase.pas * use labelCanBeSkipped as used by i386 in generic optimizer code too 2009-02-27 13:03:12 +00:00
aoptcs.pas
aoptda.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
aoptobj.pas * fixed wrongly fix of r11444 in r12049 2008-11-12 20:55:06 +00:00
assemble.pas * Fixed internal assembler writer to handle offset calculations with forward symbols involved. Internal assembler can handle dwarf debug info now. 2009-05-04 11:19:48 +00:00
browcol.pas * fixed warnings and removed unused "Current_moduleIndex" global variable 2009-04-30 15:32:28 +00:00
bsdcompile
catch.pas - disabled installation of SIGINT signal handler for Darwin, because 2009-02-28 18:07:21 +00:00
ccharset.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cclasses.pas * prefetch next items in TLinkedList.clear, removes most l2 cache misses 2009-09-13 15:30:53 +00:00
cfidwarf.pas
cfileutl.pas * made MorphOS build to cycle again: fixed path_absolute() for Amiga and MorphOS, and fixed AllFilesMask for MorphOS 2009-07-30 00:57:06 +00:00
cg64f32.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
cgbase.pas * do not access local data via the GOT on x86_64, because 2009-09-27 13:43:56 +00:00
cgobj.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
cgutils.pas - removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED 2009-08-23 07:51:26 +00:00
cmsgs.pas + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
comphook.pas + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
compiler.pas 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 2008-12-11 17:40:18 +00:00
compinnr.inc + added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable 2009-03-08 18:40:32 +00:00
comprsrc.pas * fixed calling windres: don't create short names with forward slashes for output file name, becaause it fails, if the output file does not yet exist. Short names are only required for parameters that windres pass on to the preprocessor. 2009-01-15 22:35:17 +00:00
constexp.pas o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
COPYING.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
cp437.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cp850.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cp866.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cp1251.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cp8859_1.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
cp8859_5.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
crefs.pas
cresstr.pas * fixed incompatibility of resource strings with the data reordering done by 2009-09-05 14:40:27 +00:00
cstreams.pas
cutils.pas * fixed comment describing pshortstring2pchar 2009-08-17 18:09:43 +00:00
dbgbase.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
dbgdwarf.pas * fixed DWARF info for some methods after r13833: reset the debuginfo for 2009-10-19 20:03:37 +00:00
dbgstabs.pas * fixed stabs debug information for parameters copied into local variables 2009-10-06 13:51:16 +00:00
defcmp.pas + test conversion from class to differently sized enum and to differently 2009-05-16 11:07:09 +00:00
defutil.pas o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
export.pas
expunix.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
finput.pas * changed InputFileBufSize from 32kb to 32kb+1byte, because the last 2009-08-22 20:20:11 +00:00
fmodule.pas 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 2008-12-11 17:40:18 +00:00
fpccrc.pas
fpcdefs.inc - removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED 2009-08-23 07:51:26 +00:00
fppu.pas 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 2008-12-11 17:40:18 +00:00
gendef.pas * enabled version and description directive for all windows 2009-07-25 22:06:37 +00:00
globals.pas * fixed compilation of AVR compiler 2009-06-27 19:31:24 +00:00
globtype.pas * don't emit "include file search paths" for stabs since they don't exist 2009-03-20 18:35:17 +00:00
htypechk.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
impdef.pas
import.pas
link.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
Makefile * allow disabling the wpo cycle with NOWPOCYCLE=1 2009-08-21 14:27:37 +00:00
Makefile.fpc * allow disabling the wpo cycle with NOWPOCYCLE=1 2009-08-21 14:27:37 +00:00
MPWMake
msgidx.inc merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
msgtxt.inc merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
nadd.pas * set addn resultdef when evaluating constant string concatenation 2009-07-22 16:16:11 +00:00
nbas.pas * fix writing of goto node to ppu 2008-09-03 20:46:04 +00:00
ncal.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
ncgadd.pas
ncgbas.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgcal.pas * fixed handling the result value of functions where the result type is 2009-09-12 12:21:34 +00:00
ncgcnv.pas * set size of nil constants casted to method pointers correctly, first part of resolving #10684 2009-02-28 20:01:58 +00:00
ncgcon.pas * fixed (harmless) range error in cross-endian crosscompiling code for 2009-10-01 12:08:30 +00:00
ncgflw.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
ncginl.pas - removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED 2009-08-23 07:51:26 +00:00
ncgld.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
ncgmat.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ncgmem.pas * don't call FPC_CHECKPOINTER for references built from a LOC_CONSTANT 2009-04-24 13:08:39 +00:00
ncgobjc.pas + added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable 2009-03-08 18:40:32 +00:00
ncgopt.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgrtti.pas * always put parameters in left-to-right order in rtti (Delphi-compatible) 2009-09-13 20:56:22 +00:00
ncgset.pas
ncgutil.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
ncnv.pas * only allow implicit conversions from 0 to NIL in Delphi mode, rather than 2009-10-22 19:49:08 +00:00
ncon.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nflw.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
ninl.pas * give a proper error when trying to use val() on a boolean (mantis #14777) 2009-11-01 17:18:40 +00:00
nld.pas * unified ie 2009-08-09 22:22:30 +00:00
nmat.pas * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +00:00
nmem.pas * set the fileinfo of typeconversions created using inserttypeconv*() 2009-08-22 22:11:03 +00:00
nobj.pas rtl: introduce new TObject methods: UnitName, GetHashCode, Equals, ToString added for compatibility with delphi 2009. 2009-11-01 16:22:47 +00:00
nobjc.pas * fixed check for objc-methods passed to selector() 2009-03-09 08:40:55 +00:00
node.pas o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
nopt.pas
nset.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nstate.pas
nutils.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
ogbase.pas * More proper check for executable image size limits. 2009-05-06 18:07:07 +00:00
ogcoff.pas * Replaced some ifdef x86_64 by ifdef cpu64bitaddr, since it is more correct. 2009-05-17 12:43:58 +00:00
ogelf.pas + added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable 2009-03-08 18:40:32 +00:00
oglx.pas
ogmap.pas
optbase.pas * various optimizations by Dave Richards (mantis #12440) 2009-05-27 17:26:50 +00:00
optcse.pas
optdead.pas * first search for gnm and only then for nm 2008-12-12 13:03:27 +00:00
optdfa.pas * set result of ResetDFA, resolves #12757 2008-12-12 21:47:21 +00:00
options.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
optloop.pas * forbid passing derived classes to call by reference parent classes (for objects, this is still allowed), resolves #13135 2009-08-17 21:46:25 +00:00
opttail.pas
optutils.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +00:00
optvirt.pas * removed unnecessary internalerror triggered when reading wpo info for a 2009-08-19 20:25:41 +00:00
owar.pas
owbase.pas
parabase.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
paramgr.pas * fixed handling the result value of functions where the result type is 2009-09-12 12:21:34 +00:00
parser.pas * initialize allow_array_constructor for each compilation run, fixes probably #12283 2009-07-04 15:44:33 +00:00
pass_1.pas * improved code generation by reducing the usage of unneeded temps due to incorrect 2009-09-22 19:24:25 +00:00
pass_2.pas * patch by Sergei Gorelkin: fixes compilation with -dEXTDEBUG 2009-04-25 20:02:08 +00:00
pbase.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
pdecl.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
pdecobj.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
pdecsub.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
pdecvar.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
pexports.pas * fixed invalid type cast in case of errors in a library's export section 2008-11-01 17:08:26 +00:00
pexpr.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
pinline.pas * Copy() with WideChar array or PWideChar parameter should use fpc_unicodestr_copy compilerproc, since fpc_widestr_copy is available only on Windows. Bug #14307. 2009-08-10 13:09:27 +00:00
pmodules.pas * init wpo collectors before parsing the interface of units 2009-05-31 13:37:15 +00:00
pp.lpi merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
pp.pas + FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL 2009-03-17 13:43:24 +00:00
ppc68k.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcavr.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcppc.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcsparc.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppheap.pas
ppu.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
ppx86_64.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
procinfo.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
pstatmnt.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
psub.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
psystem.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
ptconst.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
ptype.pas * fixed position where error message is given about wrong "class of" 2009-08-18 18:04:55 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
scandir.pas * enabled version and description directive for all windows 2009-07-25 22:06:37 +00:00
scanner.pas * make strict string var checking ({$v+}) the default in TP and Delphi modes 2009-10-29 15:52:14 +00:00
script.pas + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. 2009-01-03 14:34:59 +00:00
switches.pas * check validity of calling conventions specified using {$calling x} 2009-03-21 21:21:45 +00:00
symbase.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
symconst.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
symdef.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
symnot.pas
symsym.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
symtable.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
symtype.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
symutil.pas
systems.pas * talignmentinfo must be packed, it is written to the ppu during streaming, further it is member of tsettings which packed too 2009-06-27 11:14:19 +00:00
tgobj.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
tokens.pas merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
verbose.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
version.pas * version 2.5.1 2009-08-13 21:16:05 +00:00
widestr.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
wpo.pas 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 2008-12-11 17:40:18 +00:00
wpobase.pas * give an error message when the specified wpo feedback input file 2009-06-06 12:39:09 +00:00
wpoinfo.pas * do not load wpo info from ppu files when we are not generating 2009-06-06 09:08:08 +00:00

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