fpc/compiler
2006-03-11 14:30:02 +00:00
..
alpha * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
arm + support for passing parameters via pre-allocated stack space on i386 2006-03-10 19:59:44 +00:00
html
i386 * ignore po_interrupt for i386-darwin since it messes up stack alignment 2006-03-11 14:30:02 +00:00
ia64
m68k + fixed m68k for latest changes 2006-03-10 14:23:08 +00:00
mips
msg * first part of x86-64 assembler 2006-03-09 22:05:16 +00:00
powerpc * don't explicitly us NR_F0 in concatcopy but ask a register from 2006-03-11 14:13:47 +00:00
powerpc64 + support for passing parameters via pre-allocated stack space on i386 2006-03-10 19:59:44 +00:00
sparc + support for passing parameters via pre-allocated stack space on i386 2006-03-10 19:59:44 +00:00
systems * first part of x86-64 assembler 2006-03-09 22:05:16 +00:00
utils + i386-darwin support (use fpcmake from after 12 February 2006) 2006-03-09 15:26:49 +00:00
vis
x86 * ignore po_interrupt for i386-darwin since it messes up stack alignment 2006-03-11 14:30:02 +00:00
x86_64 + support for passing parameters via pre-allocated stack space on i386 2006-03-10 20:01:16 +00:00
aasmbase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
aasmtai.pas * fixed ppc compilation 2006-03-05 22:06:44 +00:00
aggas.pas * fix section flags for stabs 2006-03-10 18:35:17 +00:00
aopt.pas * fixed ppc compilation 2006-03-05 22:06:44 +00:00
aoptbase.pas * fixed ppc compilation 2006-03-05 22:06:44 +00:00
aoptcs.pas
aoptda.pas
aoptobj.pas * fixed ppc compilation 2006-03-05 22:06:44 +00:00
assemble.pas * fix section flags for stabs 2006-03-10 18:35:17 +00:00
browcol.pas
browlog.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
bsdcompile
catch.pas
cclasses.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
cg64f32.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
cgbase.pas * handling of address registers in references fixed 2006-02-01 22:45:14 +00:00
cgobj.pas * fixed a_param_ref for large parameters 2006-03-11 13:54:20 +00:00
cgutils.pas * turned {$ifdef cputargethasfixedstack} into "if use_fixed_stack" 2006-03-10 23:44:04 +00:00
charset.pas
cmsgs.pas
comphook.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
compiler.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
compinnr.inc
comprsrc.pas * link_allways -> link_always (forgot to commit as well :) 2006-02-15 16:51:05 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas
cstreams.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
cutils.pas * compile fixes 2006-03-10 09:39:08 +00:00
dbgbase.pas + dwarf: objectdef 2006-02-04 16:08:51 +00:00
dbgdwarf.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
dbgstabs.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
defcmp.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
defutil.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
dwarf.pas * use alt_dbgframe for call frame info labels 2006-01-25 21:48:27 +00:00
export.pas
finput.pas
fmodule.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
fpccrc.pas * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
fpcdefs.inc Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
fppu.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
gendef.pas
globals.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
globtype.pas * link_allways -> link_always (forgot to commit) 2006-02-15 16:49:24 +00:00
htypechk.pas * fixed bug #4737 (check for potential range errors in for-loop 2006-02-09 17:39:22 +00:00
impdef.pas
import.pas * fix dll linking 2006-02-07 06:55:47 +00:00
link.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
make_old.cmd
Makefile + i386-darwin support (use fpcmake from after 12 February 2006) 2006-03-09 15:26:49 +00:00
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * first part of x86-64 assembler 2006-03-09 22:05:16 +00:00
msgtxt.inc * first part of x86-64 assembler 2006-03-09 22:05:16 +00:00
nadd.pas + added ability for (mainly 32bit) code generators to directly handle 2006-03-04 15:09:09 +00:00
nbas.pas * optimized register allocation for tempnodes 2006-01-08 12:53:43 +00:00
ncal.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
ncgadd.pas
ncgbas.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ncgcal.pas * turned {$ifdef cputargethasfixedstack} into "if use_fixed_stack" 2006-03-10 23:44:04 +00:00
ncgcnv.pas * split tstringtype for stringdef and stringconstnode 2006-01-13 17:20:27 +00:00
ncgcon.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ncgflw.pas * procedures which use goto/label revert to the older and less 2006-01-05 23:45:00 +00:00
ncginl.pas * split tstringtype for stringdef and stringconstnode 2006-01-13 17:20:27 +00:00
ncgld.pas * moved the indirect symbol stuff from nppcld to cgobj and ncgld, since 2006-03-09 18:27:11 +00:00
ncgmat.pas
ncgmem.pas * fixed bug in r2738 2006-03-04 21:37:19 +00:00
ncgopt.pas
ncgset.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ncgutil.pas * fixed argc/argv/envp catching for darwin/x86 (not really nice, but 2006-03-10 23:45:37 +00:00
ncnv.pas + some simplify support for ttypeconvnode 2006-03-05 21:38:05 +00:00
ncon.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
nflw.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
ninl.pas * fixed handling of wrong invocations of slice + improved error reporting 2006-02-16 20:27:31 +00:00
nld.pas * string constants passed to array of const should be passed as ansistrings 2006-02-11 22:25:14 +00:00
nmat.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
nmem.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
nobj.pas * fix alignments in vmt, remove all explicit 16 and 32 bit values 2006-02-11 20:46:28 +00:00
node.pas * support @inherited <method> to get the methodpointer 2006-02-11 22:49:00 +00:00
nopt.pas * optimize multiple concats for ansi/widestring 2006-02-20 10:58:28 +00:00
nset.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
nstate.pas
nutils.pas * fixed simplifying 2006-03-04 22:04:53 +00:00
ogbase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
ogcoff.pas * fix section flags for stabs 2006-03-10 18:35:17 +00:00
ogelf.pas * compile fixes 2006-03-10 09:39:08 +00:00
oglx.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ogmap.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
optcse.pas
options.pas * fixed argc/argv/envp catching for darwin/x86 (not really nice, but 2006-03-10 23:45:37 +00:00
optunrol.pas
owar.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
owbase.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
parabase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * turned {$ifdef cputargethasfixedstack} into "if use_fixed_stack" 2006-03-10 23:44:04 +00:00
parser.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
pass_1.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
pass_2.pas
pbase.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pdecl.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
pdecobj.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
pdecsub.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
pdecvar.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
pexports.pas * exports info handling refactored, -E will be passed to ld if necessary 2005-12-10 22:00:33 +00:00
pexpr.pas * committed wrong file in r2614 (ncal.pas instead of pexpr.pas) 2006-02-17 09:05:03 +00:00
pinline.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pmodules.pas * fixed argc/argv/envp catching for darwin/x86 (not really nice, but 2006-03-10 23:45:37 +00:00
pp.lpi + added palmos support to makes files 2006-02-05 19:22:12 +00:00
pp.pas * compilation for arm target fixed 2006-02-02 17:26:18 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
procinfo.pas + support for passing parameters via pre-allocated stack space on i386 2006-03-10 19:59:44 +00:00
pstatmnt.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
psub.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
psystem.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
ptconst.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ptype.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
raatt.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
rabase.pas
rasm.pas
rautils.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas + translate register variable locations, enables register variable debug info, with SSA it requires to be extended maintaining location list 2006-02-02 21:27:23 +00:00
scandir.pas * link_allways -> link_always 2006-02-15 14:36:30 +00:00
scanner.pas * more dup id fixes 2006-02-07 07:58:37 +00:00
script.pas Fixed Unix2Amiga path conversions for external asm script 2005-11-24 11:41:59 +00:00
switches.pas
symbase.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
symconst.pas + warn if a static variable is read but not assigned (tw4781*) 2006-02-07 21:23:02 +00:00
symdef.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
symnot.pas
symsym.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
symtable.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
symtype.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
symutil.pas
systems.pas * first part of x86-64 assembler 2006-03-09 22:05:16 +00:00
tgobj.pas
tokens.pas + Add m_property mode switch to allow per mode recognition of 2006-02-14 17:11:18 +00:00
verbose.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
version.pas
widestr.pas * donewidestring has var instead of out parameter 2006-02-12 15:02:46 +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
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
  cpu64bit            The target is a 64-bit processor
  -----------------------------------------------------------------

  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