fpc/compiler
florian 53d60f02b2 * lying around newline fixes
git-svn-id: trunk@13513 -
2009-08-10 18:56:32 +00:00
..
alpha
arm * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
avr * avr stuff, work in progress 2009-07-25 19:31:06 +00:00
html
i386 * lying around newline fixes 2009-08-10 18:56:32 +00:00
ia64
m68k * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
mips * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
msg * update of german error message files by Karl-Michael Schindler 2009-08-09 16:35:09 +00:00
powerpc * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
powerpc64 * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
ppcgen * reverted rest of r13469 because it causes crashes for linux/ppc64 2009-07-29 20:35:51 +00:00
sparc * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
systems * add SIZEOF_HEADERS to the start address of the text section for ARMEL 2009-07-20 09:20:02 +00:00
utils * regenerated using latest fpcmake 2009-08-02 18:40:14 +00:00
vis
x86 * fixed r13469 (PLT entries are not GOT-relative). Not reverting all the 2009-07-28 17:43:17 +00:00
x86_64 * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
aasmbase.pas + added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable 2009-03-08 18:40:32 +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 * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
aggas.pas + section smartlink bss for embedded targets 2009-06-27 15:21:01 +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 + keep track of called virtual methods per unit. -Owoptvtms will now replace 2009-06-06 08:24:36 +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 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 * fixed order of cgloc2str strings 2009-06-29 19:27:51 +00:00
cgobj.pas * lying around newline fixes 2009-08-10 18:56:32 +00:00
cgutils.pas * only x86 and m68k need treference.segment 2009-06-29 21:12:45 +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
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 * always generate a DW_TAG_typedef entry when usng a type (not only for 2009-07-22 19:44:29 +00:00
dbgstabs.pas * made TDebugInfoDwarf3 inherit from TDebugInfoDwarf2 instead of from 2009-06-20 10:45:04 +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 * fixed missing reference counting in case a refcounted type was implicitly 2009-05-25 19:41:14 +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 * enable cross-compiling from x86_64 platforms that support the extended 2009-06-27 12:54:56 +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 * initialize allow_array_constructor for each compilation run, fixes probably #12283 2009-07-04 15:44:33 +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 * regenerated using latest fpcmake 2009-08-02 18:40:14 +00:00
Makefile.fpc * replaced PATHSEP by / for instruction and register table generation 2009-02-24 19:57:40 +00:00
MPWMake
msgidx.inc * corrected the description of the option_only_one_source_support warning: 2009-07-23 13:48:27 +00:00
msgtxt.inc * corrected the description of the option_only_one_source_support warning: 2009-07-23 13:48:27 +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 * enable converting procedure callnodes with only default parameters into 2009-07-17 10:29:56 +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 * part of r13238, forgot to commit 2009-06-06 09:07:07 +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 * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
ncginl.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgld.pas * made internalerror unique 2009-07-22 16:17: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 * 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 + keep track of called virtual methods per unit. -Owoptvtms will now replace 2009-06-06 08:24:36 +00:00
ncgset.pas * Fixed 'mixed signed/unsigned' and pointer conversion warnings. 2008-07-23 09:36:07 +00:00
ncgutil.pas * insert register allocation/deallocation information for the exception 2009-05-06 19:11:54 +00:00
ncnv.pas * enable converting procedure callnodes with only default parameters into 2009-07-17 10:29:56 +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 * give an error when the typeinfo() function is called for an enumeration 2009-03-22 20:54:49 +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 * don't mark classes used in "is"- or "as"-expressions as potentially 2009-05-31 13:52:40 +00:00
nobj.pas * lying around newline fixes 2009-08-10 18:56:32 +00:00
nobjc.pas * fixed check for objc-methods passed to selector() 2009-03-09 08:40:55 +00:00
node.pas * don't mark classes used in "is"- or "as"-expressions as potentially 2009-05-31 13:52:40 +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 * set the node complexity of realconstn to 1 instead of the default (maximum) 2009-03-19 14:20:51 +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 * 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 * 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 * Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304. 2009-08-10 11:32:08 +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 + keep track of called virtual methods per unit. -Owoptvtms will now replace 2009-06-06 08:24:36 +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 * initialize allow_array_constructor for each compilation run, fixes probably #12283 2009-07-04 15:44:33 +00:00
pass_1.pas * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
pass_2.pas * patch by Sergei Gorelkin: fixes compilation with -dEXTDEBUG 2009-04-25 20:02:08 +00:00
pbase.pas
pdecl.pas * refactor the forward type declaration handling, remove 2008-11-09 22:07:36 +00:00
pdecobj.pas * do not allow local type definitions such as string[1] and "file of byte" 2009-07-08 20:21:37 +00:00
pdecsub.pas * show warnings about parameter types in cdecl'ed procedures at proper locations, resolves #14283 2009-08-08 22:28:45 +00:00
pdecvar.pas * access static fields by a absolute sym pointing to the symbol for the space allocation, resolves #14124 2009-08-10 18:46:23 +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 * access static fields by a absolute sym pointing to the symbol for the space allocation, resolves #14124 2009-08-10 18:46:23 +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 * lpi version increased 2009-07-19 18:12:57 +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 * 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
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 * always create a temp for MacPas objects in with-expressions (mantis 2009-02-19 22:43:59 +00:00
psub.pas * reverted rest of r13469 because it causes crashes for linux/ppc64 2009-07-29 20:35:51 +00:00
psystem.pas * Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304. 2009-08-10 11:32:08 +00:00
ptconst.pas * accept const <guid const> = <guid string>; again, resolves #14134 2009-07-12 11:00:07 +00:00
ptype.pas * do not allow local type definitions such as string[1] and "file of byte" 2009-07-08 20:21:37 +00:00
raatt.pas * undo accidently committed changes from r11398 2008-07-18 15:33:48 +00:00
rabase.pas
rasm.pas
rautils.pas * give an error when trying to use the offset of a non-byte-aligned field 2009-04-23 17:27: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 * 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 * enabled version and description directive for all windows 2009-07-25 22:06:37 +00:00
scanner.pas * support {$i *.ext} to include source files with the same base name, but 2009-05-17 14:33:20 +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 * removed any use of pushleftright_pocalls for non-i386 platforms, since 2009-03-15 10:38:40 +00:00
symdef.pas * fixed tw9039{a,b} for 64 bit platforms (qwordvar > int64var) is evaluated 2009-07-15 08:22:00 +00:00
symnot.pas
symsym.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
symtable.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +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 * 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 + "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 * 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