fpc/compiler
2008-09-18 19:08:57 +00:00
..
alpha
arm * Fixed compiler cycling with enabled range and overflow checking. 2008-07-29 21:11:03 +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 * target flags for x86_64-freebsd fixed 2008-09-13 15:50:32 +00:00
utils * fixed oo_is_forward flag (from old patch by Dave Strodt) 2008-08-29 07:42:21 +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 * new tf_smartlink_library flag 2007-10-01 16:55:08 +00:00
aasmdata.pas o patch from Sergej Gorelkin to improvement code generation for string literals 2008-08-27 15:16:45 +00:00
aasmsym.pas
aasmtai.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
aggas.pas * Replaced all user defined warnings by TODO comments to reduce compiler noise. 2008-07-23 11:00:03 +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 * set elf flags for soft float on arm 2008-03-25 16:15:15 +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 * fphashlist, update hashcapacity also if capacity is changed 2008-09-03 21:04:53 +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 Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +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 * fixed bootstrapping with 2.0.4 2007-07-18 12:15:55 +00:00
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 * regenerated with changes in r11233 2008-06-15 15:52:25 +00:00
Makefile.fpc * add armeb target to compiler/Makefiles 2008-03-24 17:48:11 +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 * removed superfluous masking of rotation count for rol/ror inlines 2008-09-15 19:37:47 +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 * reduced register pressure when indexing arrays with regvars (regvar 2008-09-14 16:11:22 +00:00
ncgopt.pas * remove registers{int/mmx/fpu} from firstpass 2007-09-26 21:12:01 +00:00
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 * passing by value of variants with stdcall conventions, resolves #10042 2008-08-01 18:03:41 +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 + first full implementation of induction variable strength reduction 2008-09-18 18:49:09 +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 Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14: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 * fix writing of goto node to ppu 2008-09-03 20:46:04 +00:00
nopt.pas * remove registers{int/mmx/fpu} from firstpass 2007-09-26 21:12:01 +00:00
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 * fixed some crashes 2007-09-20 22:28:54 +00:00
optdfa.pas + first full implementation of induction variable strength reduction 2008-09-18 18:49:09 +00:00
options.pas * give an error stating that you have to use the latest released compiler 2008-09-16 21:59:15 +00:00
optloop.pas * variables where the address is taken could have aliases so they aren't invariant 2008-09-18 19:08:57 +00:00
opttail.pas * error message when a goto label is optimized away 2007-10-17 21:52:25 +00:00
optutils.pas * set successor properly for for-nodes 2008-09-18 18:33:43 +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 * store specializations in globalsymtable for units, use localsymtable 2008-07-18 23:30:44 +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 * enable parsing of default properties when used with objects, resolves #10795 2008-05-18 13:27:59 +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 + PIC support for darwin/ppc32 (-Cg works now, no regressions in test 2007-09-26 16:41:32 +00:00
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 * fixed wrongly written system.$unicodetype type definition 2008-09-14 15:22:32 +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 Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +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 * method definitions in "child" interfaces also hide those in "parent" 2008-08-16 20:08:25 +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 + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +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