fpc/compiler
2009-01-13 19:50:02 +00:00
..
alpha
arm + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
avr * small avr compilation fixes 2008-11-22 09:51:24 +00:00
html
i386 * fixes assembling of mov ax,<mem16> 2008-11-09 10:24:59 +00:00
ia64
m68k + ror/rol functions 2008-07-27 17:12:32 +00:00
mips * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
msg * added warning to stack checking option 2009-01-08 18:42:24 +00:00
powerpc + 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
powerpc64 * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ppcgen * fixed writing memory references on ppc when there is only an offset 2008-11-22 15:13:16 +00:00
sparc * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
systems * changed default stack sizes that were still 256 KiB into 8 MiB 2009-01-08 17:13:49 +00:00
utils * fix for potential security issue with ~/.fp directory owned by root 2009-01-10 23:42:03 +00:00
vis
x86 * correct handling of constant operands of aad/aam 2008-11-18 16:21:58 +00:00
x86_64 * handle methodpointer function results like records of the same size, resolves #12318 2008-11-15 23:05:36 +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 + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +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
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 * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
bsdcompile
catch.pas Fix handling of ctrl-c/ctrl-break on go32v2: 2008-06-24 17:02:17 +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 + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
cgbase.pas + ror/rol functions 2008-07-27 17:12:32 +00:00
cgobj.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
cgutils.pas * small avr compilation fixes 2008-11-22 09:51: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 * pass parameters to windres using short path names and forward slashes (issue #12645) 2009-01-13 19:50:02 +00:00
constexp.pas * fixed constant evaluation check for negvalue+posvalue (mantis #11216) 2008-04-26 21:22:08 +00:00
COPYING
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 * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
cstreams.pas
cutils.pas - unnecessary type declaration removed 2008-08-03 09:29:22 +00:00
dbgbase.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
dbgdwarf.pas * element type of ansistrings is cchartype, not u8inttype 2008-12-27 22:43:45 +00:00
dbgstabs.pas * changed debuginfo for dynamic arrays in stabs and dwarf2 into a pointer to 2008-12-24 19:59:44 +00:00
defcmp.pas * convert int64 properly to c-bools, resolves #12614 2008-11-16 13:27:59 +00:00
defutil.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
export.pas * factored unix exports handling from t_bsd and t_linux into expunix unit 2008-03-24 16:55:05 +00:00
expunix.pas * exports need pic on x86_64-freebsd 2008-09-13 15:46:33 +00:00
finput.pas
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 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
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 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
globtype.pas * mark produced object files as "does not require executable stack" by 2008-12-12 16:26:25 +00:00
htypechk.pas * disallow passing descendent interfaces to var parameters (mantis #12933) 2009-01-10 19:47:52 +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 * regened makefiles to propagate makefile versions 2008-10-22 17:32:15 +00:00
Makefile.fpc * updated all makefile.fpc versions to 2.2.2 for fppkg compat. 2008-10-22 17:19:13 +00:00
MPWMake
msgidx.inc * added warning to stack checking option 2009-01-08 18:42:24 +00:00
msgtxt.inc * added warning to stack checking option 2009-01-08 18:42:24 +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 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
ncgadd.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
ncgbas.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ncgcal.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
ncgcnv.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ncgcon.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgflw.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ncginl.pas + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
ncgld.pas * formatting fix 2008-12-24 16:17:35 +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 + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
ncgopt.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +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 * generic support for setting islibrary to true for libraries (+ changed 2008-12-17 17:49:16 +00:00
ncnv.pas * fixed generic uint32->float softfpu conversion 2008-11-22 18:05:19 +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 * fix bug #8391 only for arm-wince, because otherwise it breaks other platforms (incl. i386-win32) 2008-10-09 18:37:56 +00:00
ogcoff.pas * Do not write COFF string table into EXE if COFF symbol table is not present. It fixes loading of stripped DLL on Win9x. Bug #12629. 2008-12-12 14:54:14 +00:00
ogelf.pas * mark produced object files as "does not require executable stack" by 2008-12-12 16:26:25 +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 * verify during parameter parsing that -gc and -pg are implemented/ 2008-12-28 15:53:15 +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 * split cpu64bit compiler define into 2008-02-13 20:44:00 +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 + experimental directive, resolves #10833 2008-02-15 19:29:34 +00:00
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 * refactor overload collection in tcallcandidates. separate 2008-11-12 22:38:38 +00:00
pdecvar.pas * Fixed lost default value in case of a property override 2008-11-15 22:13:59 +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 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
pp.lpi
pp.pas + propagate FPC_ARMEL if FPC_OARM isn't defined 2008-10-18 14:08:18 +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 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
ppx86_64.lpi
procinfo.pas
pstatmnt.pas * Removed/ifdefed/commented unused local variables. 2008-07-20 23:00:31 +00:00
psub.pas * forgotten commit of loop strength reduction patch 2008-11-19 11:03:20 +00:00
psystem.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
ptconst.pas * better error messages for invalid floating point and classrefdef 2009-01-09 18:46:10 +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 * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
README + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +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 Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
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 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
symnot.pas
symsym.pas * refactor is_visible_for_object 2008-11-17 21:41:40 +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 + added initial support for the VASM assembler of VBCC fame (http://sun.hasenbraten.de/vbcc/), 2009-01-02 22:05:05 +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