fpc/compiler
2008-11-15 22:13:59 +00:00
..
alpha
arm + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
avr * continued to play with avr 2008-08-15 13:52:54 +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 * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +00:00
powerpc * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
powerpc64 * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ppcgen + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
sparc * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
systems + missing includes of fpcdefs.inc added 2008-10-18 14:07:42 +00:00
utils * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
vis
x86 * fixes taking the address of an assembler block defined label 2008-11-09 21:14:45 +00:00
x86_64 * fixes assembling of mov ax,<mem16> 2008-11-09 10:24:59 +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 + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +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 * Fixed compiler cycling with enabled range and overflow checking. 2008-07-29 21:11:03 +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 * split cpu64bit compiler define into 2008-02-13 20:44:00 +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 * 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
compinnr.inc + ror/rol functions 2008-07-27 17:12:32 +00:00
comprsrc.pas * Improved finding of resource compiler during cross-compilation. 2008-04-21 11:13:13 +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 * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
dbgstabs.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
defcmp.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +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 * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
fpccrc.pas
fpcdefs.inc + propagate FPC_ARMEL if FPC_OARM isn't defined 2008-10-18 14:08:18 +00:00
fppu.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
gendef.pas
globals.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
globtype.pas * refactor the forward type declaration handling, remove 2008-11-09 22:07:36 +00:00
htypechk.pas * refactor overload collection in tcallcandidates. separate 2008-11-12 22:38:38 +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 * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +00:00
msgtxt.inc * changed "Mixing signed expressions and longwords gives a 64bit result" 2008-11-13 19:49:46 +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 * refactor overload collection in tcallcandidates. separate 2008-11-12 22:38:38 +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 * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +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 * fixes taking the address of an assembler block defined label 2008-11-09 21:14:45 +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 * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
ncgset.pas * Fixed 'mixed signed/unsigned' and pointer conversion warnings. 2008-07-23 09:36:07 +00:00
ncgutil.pas * always specify an explicit alignment for tgobj.gettemp (so e.g. 2008-11-08 22:20:47 +00:00
ncnv.pas * only make the target of a type conversion not regable after checking 2008-11-09 10:24:23 +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 + some missing docompare() overrides 2008-10-19 16:50:43 +00:00
nobj.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +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 * Fixed compiler cycling with enabled range and overflow checking. 2008-07-29 21:11:03 +00:00
ogelf.pas * Fixed compiler cycling with enabled range and overflow checking. 2008-07-29 21:11:03 +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
optdfa.pas + first full implementation of induction variable strength reduction 2008-09-18 18:49:09 +00:00
options.pas * fix range check error in options handling, resolves #12365 2008-10-14 17:06:55 +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
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 * split tvisibility from tsymoptions 2008-11-11 09:05:39 +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 * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
pinline.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
pmodules.pas * remove obsolete unchain_overloads 2008-11-12 22:42:19 +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
ppcavr.lpi * continued work on avr-embedded 2008-08-14 14:23:25 +00:00
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +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 * remove obsolete unchain_overloads 2008-11-12 22:42:19 +00:00
psystem.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
ptconst.pas + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +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
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 * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
symdef.pas * current_objectdef is now always valid when parsing is within the 2008-11-12 18:54:39 +00:00
symnot.pas
symsym.pas * remove obsolete unchain_overloads 2008-11-12 22:42:19 +00:00
symtable.pas * remove obsolete unchain_overloads 2008-11-12 22:42:19 +00:00
symtype.pas * split tvisibility from tsymoptions 2008-11-11 09:05:39 +00:00
symutil.pas
systems.pas + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +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

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