fpc/compiler
Jonas Maebe 0af39c77d9 * counterpart of r12844 for storing elements to a bitpacked array:
do not access any data after the array in that case either
  * adapted tparray7 so it checks this on unix platforms

git-svn-id: trunk@12851 -
2009-03-01 15:38:37 +00:00
..
alpha
arm + optimization of sequential ands 2009-02-27 12:59:08 +00:00
avr * less code commented 2009-02-25 19:41:30 +00:00
html
i386 + commented why wrappers for cdecl'd methods use subl/call/subl/ret instead of subl/jmp 2009-02-28 20:37:01 +00:00
ia64
m68k * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
mips * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
msg * add reference to the bug tracker rather than just an e-mail address 2009-02-28 23:13:36 +00:00
powerpc * fixed ppc/ppc64 compilation after r12719 2009-02-09 09:47:02 +00:00
powerpc64 * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ppcgen * fixed ppc/ppc64 compilation after r12719 2009-02-09 09:47:02 +00:00
sparc * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
systems * prefix for import libraries now configurable rather than hardcoded, plus fixed issue with name of OS/2 import libraries 2009-02-09 00:01:15 +00:00
utils * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
vis
x86 * fixed assembler tables for sse4 instructions, resolves #13186 2009-02-24 20:07:11 +00:00
x86_64 * fixed assembler tables for sse4 instructions, resolves #13186 2009-02-24 20:07:11 +00:00
aasmbase.pas + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
aasmdata.pas + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
aasmsym.pas
aasmtai.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
aggas.pas * mark produced object files as "does not require executable stack" by 2008-12-12 16:26:25 +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 * Fixed level 2 comment warnings. 2008-07-23 10:08:48 +00:00
aoptobj.pas * fixed wrongly fix of r11444 in r12049 2008-11-12 20:55:06 +00:00
assemble.pas * moved adding of '-mfpu=softvfp' for arm/softfloat to overridden 2008-10-02 21:52:47 +00:00
browcol.pas
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 * fixed range check error 2008-09-21 18:52:13 +00:00
cfidwarf.pas * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
cfileutl.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
cg64f32.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
cgbase.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
cgobj.pas * counterpart of r12844 for storing elements to a bitpacked array: 2009-03-01 15:38:37 +00:00
cgutils.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +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 + ror/rol functions 2008-07-27 17:12: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 * fixed constant evaluation check for negvalue+posvalue (mantis #11216) 2008-04-26 21:22:08 +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 * Fixed warnings about hiding inherited method. 2008-07-23 11:51:19 +00:00
cresstr.pas
cstreams.pas
cutils.pas * Removed unused local vars. 2009-03-01 11:44:15 +00:00
dbgbase.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
dbgdwarf.pas * now range check error also fixed for 64 bit targets 2009-02-07 23:03:29 +00:00
dbgstabs.pas * store path information for source files in stabs debug info 2009-02-27 20:05:44 +00:00
defcmp.pas * reverted r12690 and r12691 2009-02-06 02:56:13 +00:00
defutil.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +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 * prefix for import libraries now configurable rather than hardcoded, plus fixed issue with name of OS/2 import libraries 2009-02-09 00:01:15 +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 * set stacksize in the main program, it makes no sense to set it in fpcdefs.inc and parse it a zillion times 2009-02-01 18:29:58 +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
globals.pas * Initialize controllertype field to eliminate warning. 2009-03-01 11:46:16 +00:00
globtype.pas + feature softfpu introduced 2009-01-26 17:24:24 +00:00
htypechk.pas * accept overloaded operators that return any shortstring type when needing 2009-01-24 15:12:19 +00:00
impdef.pas
import.pas
link.pas * don't warn that a unit won't be smartlinked in case no .a file is 2008-10-10 14:11:00 +00:00
Makefile * replaced PATHSEP by / for instruction and register table generation 2009-02-24 19:57:40 +00:00
Makefile.fpc * replaced PATHSEP by / for instruction and register table generation 2009-02-24 19:57:40 +00:00
MPWMake
msgidx.inc * add reference to the bug tracker rather than just an e-mail address 2009-02-28 23:13:36 +00:00
msgtxt.inc * add reference to the bug tracker rather than just an e-mail address 2009-02-28 23:13:36 +00:00
nadd.pas * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +00:00
nbas.pas * fix writing of goto node to ppu 2008-09-03 20:46:04 +00:00
ncal.pas * fixed calling inherited class methods from a regular method (mantis 2009-02-27 17:05:41 +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 * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +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 * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgflw.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncginl.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgld.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +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 * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgopt.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgrtti.pas + write proper rtti for large sets, resolves #12788 2008-12-16 17:18:16 +00:00
ncgset.pas * Fixed 'mixed signed/unsigned' and pointer conversion warnings. 2008-07-23 09:36:07 +00:00
ncgutil.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncnv.pas * fixed bug #5800 2009-02-09 00:35:09 +00:00
ncon.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
nflw.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +00:00
ninl.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
nld.pas * typos fixed 2008-07-11 19:03:16 +00:00
nmat.pas * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +00:00
nmem.pas * ignore vmtloadaddrnodes created in dead strip removed code 2008-12-14 18:56:02 +00:00
nobj.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
node.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
nopt.pas
nset.pas * fix writing of goto node to ppu 2008-09-03 20:46:04 +00:00
nstate.pas
nutils.pas * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
ogbase.pas * Replace ? and @ in external names only if the external is imported from DLL on Windows. 2009-03-01 12:24:53 +00:00
ogcoff.pas * Fixed writing debug link for external symbols file. Bug #13041. 2009-02-05 11:44:52 +00:00
ogelf.pas * changed the supported targets for assembler writers to a set, and 2009-01-28 15:12:43 +00:00
oglx.pas
ogmap.pas * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 2008-07-28 20:29:25 +00:00
optbase.pas * set successor properly for for-nodes 2008-09-18 18:33:43 +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 + Wp<Controllertype> support for arm and avr 2009-02-02 20:16:25 +00:00
optloop.pas * compilation fixed 2008-11-12 20:42:21 +00:00
opttail.pas
optutils.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +00:00
optvirt.pas * write empty section if no info about devirtualisable classes 2008-12-12 12:14:45 +00:00
owar.pas * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 2008-07-28 20:29:25 +00:00
owbase.pas * Use unsigned integers for sizes and positions to break 2GB limit in tdynamicarray, object writer, internal linker, coff and PE headers. 2008-07-28 20:29:25 +00:00
parabase.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
paramgr.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
parser.pas * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
pass_1.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
pass_2.pas * first try to fix #10863 (don't do SSL in case left is already handled in an assignment node) 2008-04-19 09:23:45 +00:00
pbase.pas
pdecl.pas * refactor the forward type declaration handling, remove 2008-11-09 22:07:36 +00:00
pdecobj.pas * accept only valid guid as iid for com and dispinterfaces, resolves #12030; I'am not sure though if this isn't a feature used by people already 2008-12-17 22:09:21 +00:00
pdecsub.pas * Replace ? and @ in external names only if the external is imported from DLL on Windows. 2009-03-01 12:24:53 +00:00
pdecvar.pas * fixed parsing of "var x: <type> absolute <value>;" on 64 bit platforms 2009-02-08 09:00:49 +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 * small indention fix 2008-12-12 21:47:44 +00:00
pinline.pas * refactor is_visible_for_object 2008-11-17 21:41:40 +00:00
pmodules.pas + Wp<Controllertype> support for arm and avr 2009-02-02 20:16:25 +00:00
pp.lpi * version got updated 2009-01-23 13:26:33 +00:00
pp.pas * replaced invalid {$STACKSIZE } directive with {$MINSTACKSIZE } 2009-02-06 20:04:11 +00:00
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * convert int64 properly to c-bools, resolves #12614 2008-11-16 13:27:59 +00:00
ppcavr.lpi * continued work on avr-embedded 2008-08-14 14:23:25 +00:00
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ppx86_64.lpi
procinfo.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
pstatmnt.pas * always create a temp for MacPas objects in with-expressions (mantis 2009-02-19 22:43:59 +00:00
psub.pas * Removed unused local vars. 2009-03-01 11:44:15 +00:00
psystem.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
ptconst.pas * fixed parsing of typed constant bitpacked arrays where the element's 2009-03-01 13:13:04 +00:00
ptype.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
raatt.pas * undo accidently committed changes from r11398 2008-07-18 15:33:48 +00:00
rabase.pas
rasm.pas
rautils.pas * avoid internal error in case of an illegal assembler operand 2009-01-26 14:26:26 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
regvars.pas * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
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 * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
scanner.pas * refactor the forward type declaration handling, remove 2008-11-09 22:07:36 +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 * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
symbase.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
symconst.pas + write proper rtti for large sets, resolves #12788 2008-12-16 17:18:16 +00:00
symdef.pas * set maximum alignment of shortstrings to 2 in MacPas mode 2009-02-16 18:57:26 +00:00
symnot.pas
symsym.pas + write/read alignment to ppu for explicit parameter locations 2009-02-21 22:59:58 +00:00
symtable.pas * refactor is_visible_for_object 2008-11-17 21:41:40 +00:00
symtype.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
symutil.pas
systems.pas * prefix for import libraries now configurable rather than hardcoded, plus fixed issue with name of OS/2 import libraries 2009-02-09 00:01:15 +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 + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
verbose.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
version.pas
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 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
wpoinfo.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

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