fpc/compiler
2008-10-02 21:53:45 +00:00
..
alpha
arm * forgot inherited call in previous commit for non-darwin 2008-10-02 21:53:45 +00:00
avr * continued to play with avr 2008-08-15 13:52:54 +00:00
html
i386 * reduced register pressure when indexing arrays with regvars (regvar 2008-09-14 16:11:22 +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 * give warning if a routine in the interface of a non-interface-only 2008-09-04 18:15:26 +00:00
powerpc * rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now) 2008-09-13 16:29:42 +00:00
powerpc64 * rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now) 2008-09-13 16:29:42 +00:00
ppcgen * fixed compilation with -dEXTDEBUG after adding ROL/ROR internal opcodes 2008-09-13 20:37:43 +00:00
sparc + ror/rol functions 2008-07-27 17:12:32 +00:00
systems * disabled pic default for arm/darwin (pic isn't supported yet for arm) 2008-10-02 21:32:53 +00:00
utils * when cross compiling, fallback to fpc when no cross compiler is found 2008-09-27 10:06:56 +00:00
vis
x86 * disabled jump tables for darwin/x86_64 for now since they don't work 2008-08-02 12:23:34 +00:00
x86_64 * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +00:00
aasmbase.pas
aasmdata.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
aasmsym.pas
aasmtai.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
aggas.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
aopt.pas * Fixed warnings about hiding inherited method. 2008-07-23 11:51:19 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas * Fixed level 2 comment warnings. 2008-07-23 10:08:48 +00:00
aoptobj.pas * Added function result for unimplemented methods to prevent warnings. 2008-07-23 11:47:03 +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
cgbase.pas + ror/rol functions 2008-07-27 17:12:32 +00:00
cgobj.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
cgutils.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
cmsgs.pas * optimize fixpath, findfile to not require temp ansistrings 2007-11-19 22:24:52 +00:00
comphook.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
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 * support overriding debuginfo for classrefdefs 2008-07-05 14:25:23 +00:00
dbgdwarf.pas * Suppressed "Values in enumeration types have to be ascending" note. 2008-07-23 12:55:31 +00:00
dbgstabs.pas * fixed memory leaks 2008-09-13 12:20:23 +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 * support -Xg under linux 2008-01-20 12:12:15 +00:00
fmodule.pas * give warning if a routine in the interface of a non-interface-only 2008-09-04 18:15:26 +00:00
fpccrc.pas * Add -Xg to help pages 2008-01-17 01:20:37 +00:00
fpcdefs.inc - removed obsolete USECMOV define 2008-08-24 12:46:42 +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 - removed global "resolving_forward" variable (was no longer used) 2008-09-13 12:28:55 +00:00
globtype.pas + first full implementation of induction variable strength reduction 2008-09-18 18:49:09 +00:00
htypechk.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
impdef.pas
import.pas
link.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
Makefile * when cross compiling, fallback to fpc when no cross compiler is found 2008-09-27 10:06:56 +00:00
Makefile.fpc * fix armeb compiler cleaning 2008-09-21 21:02:51 +00:00
MPWMake
msgidx.inc * give warning if a routine in the interface of a non-interface-only 2008-09-04 18:15:26 +00:00
msgtxt.inc * give warning if a routine in the interface of a non-interface-only 2008-09-04 18:15:26 +00:00
nadd.pas * fixed wrongly written system.$unicodetype type definition 2008-09-14 15:22:32 +00:00
nbas.pas * fix writing of goto node to ppu 2008-09-03 20:46:04 +00:00
ncal.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgadd.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
ncgbas.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgcal.pas * Removed/ifdefed/commented unused local variables. 2008-07-20 23:00:31 +00:00
ncgcnv.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgcon.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgflw.pas * safecall is only supposed to do anything for Windows targets. Removed 2008-08-16 14:46:20 +00:00
ncginl.pas * don't waste a register for inc/dec(<pointer>,const); 2008-09-21 17:42:53 +00:00
ncgld.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgmat.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgmem.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +00:00
ncgopt.pas
ncgrtti.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ncgset.pas * Fixed 'mixed signed/unsigned' and pointer conversion warnings. 2008-07-23 09:36:07 +00:00
ncgutil.pas * improved firstcomplex() in case one of the two nodes does not need any 2008-09-29 14:37:17 +00:00
ncnv.pas * fixed constant char to unicodestring conversion 2008-09-14 17:19:20 +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 * make result of not(constant) (with constant type <= sinttype) 2008-03-07 16:33:15 +00:00
nmem.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +00:00
nobj.pas * method definitions in "child" interfaces also hide those in "parent" 2008-08-16 20:08:25 +00:00
node.pas * don't waste a register for inc/dec(<pointer>,const); 2008-09-21 17:42:53 +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 Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ogbase.pas * Fixed hang while linking in some cases. 2008-08-03 21:19:33 +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 wince building after unicodestring changes 2008-09-27 12:05:35 +00:00
optloop.pas + strength reduction for array accesses inside for loops 2008-09-26 18:23:31 +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 * Removed abstract modifier for some optional (not needed for every CPU target) methods in tcg and tparamanager classes. These methods throw internal error if not overrode. 2008-07-23 12:49:53 +00:00
parser.pas * germanism fixed (aktexceptblock -> current_exceptblock) 2008-07-19 17:06:16 +00:00
pass_1.pas
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 * moved the forwardchecksyms back to symbase (but the main functionality 2008-09-13 19:59:21 +00:00
pdecobj.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
pdecsub.pas * force static; being repeated in the procedure body, this avoids trouble as in #12242 2008-09-28 18:45:37 +00:00
pdecvar.pas * use p.resultdef (representing a property array range) before freeing p 2008-09-07 13:31:39 +00:00
pexports.pas * export names aren't mangled under OS/2 either (follow-up 2008-04-29 19:08:02 +00:00
pexpr.pas * forbid access to properties in class methods 2008-09-28 20:16:13 +00:00
pinline.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
pmodules.pas * give warning if a routine in the interface of a non-interface-only 2008-09-04 18:15:26 +00:00
pp.lpi
pp.pas * removed comments to defines not used anymore 2008-07-19 17:01:47 +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 Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ppx86_64.lpi + x86_64 units for lazarus 2007-11-24 09:21:25 +00:00
procinfo.pas
pstatmnt.pas * Removed/ifdefed/commented unused local variables. 2008-07-20 23:00:31 +00:00
psub.pas * safecall is only supposed to do anything for Windows targets. Removed 2008-08-16 14:46:20 +00:00
psystem.pas * fix wince building after unicodestring changes 2008-09-27 12:05:35 +00:00
ptconst.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
ptype.pas * fixes compiler crash with out of memory on illegal array declarations 2008-08-03 10:34:41 +00:00
raatt.pas * undo accidently committed changes from r11398 2008-07-18 15:33:48 +00:00
rabase.pas
rasm.pas
rautils.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +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 * Fixed 'mixed signed/unsigned' warnings. 2008-07-23 13:16:46 +00:00
scandir.pas * ignore $region/$endregion directives, resolves #11937 2008-08-23 18:42:14 +00:00
scanner.pas + support for & and % in char constants, resolves #12186 2008-09-20 19:51:29 +00:00
script.pas * fixed handling of directories with spaces for LdSupportsNoResponseFile- 2007-11-24 18:06:01 +00:00
switches.pas
symbase.pas * moved the forwardchecksyms back to symbase (but the main functionality 2008-09-13 19:59:21 +00:00
symconst.pas Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
symdef.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
symnot.pas
symsym.pas - removed global "resolving_forward" variable (was no longer used) 2008-09-13 12:28:55 +00:00
symtable.pas * moved the forwardchecksyms back to symbase (but the main functionality 2008-09-13 19:59:21 +00:00
symtype.pas * Fixed unreachable code warnings. 2008-07-23 11:31:07 +00:00
symutil.pas
systems.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
tgobj.pas * Properly fill treference.alignment when variable is loaded by tcgloadnode. It allows code generator to insert unaligned handling if needed. 2008-04-16 23:01:20 +00:00
tokens.pas + experimental directive, resolves #10833 2008-02-15 19:29:34 +00:00
verbose.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
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