fpc/compiler
2006-05-25 20:16:25 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm * fixed loading of floating point constants 2006-05-25 09:57:07 +00:00
html
i386 * proper fix for problem I tried to solve in r3655 2006-05-24 19:44:16 +00:00
ia64
m68k * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
mips Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
msg * as operator isn't allowed for non com interfaces 2006-05-23 18:52:56 +00:00
powerpc * don't try to reuse registers from left/right, impedes optimal register 2006-05-25 11:31:32 +00:00
powerpc64 * reenabled generation of TOC labels for symbols with a length under a certain threshold (to avoid too long symbols passed to the cg which will get truncated) 2006-05-25 20:16:25 +00:00
ppcgen * allocate dedicated register for a_call_ref() to avoid problems with R0-usage on ppc64. 2006-05-06 21:30:04 +00:00
sparc Merged revisions 3072-3073 via svnmerge from 2006-03-30 06:36:42 +00:00
systems * win imports are only by importname not anymore per procdef 2006-05-21 20:40:18 +00:00
utils * fixed reading of registers in intel assembler mode on x86-64 2006-05-13 09:24:42 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * movq is also a pure move 2006-05-19 23:52:10 +00:00
x86_64 * don't do mul->shl optimizations when compiling with overflow checking 2006-05-18 19:30:44 +00:00
aasmbase.pas * leb128 gets always a 64bit int 2006-03-27 13:42:06 +00:00
aasmdata.pas Merged revisions 3090-3113 via svnmerge from 2006-04-02 00:11:17 +00:00
aasmtai.pas * fixed pe flags x86_64 2006-04-01 20:09:13 +00:00
aggas.pas * fixed .toc section label generation 2006-05-25 20:00:48 +00:00
aopt.pas * fix findlohilabel 2006-04-20 13:59:14 +00:00
aoptbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptcs.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptda.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptobj.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
assemble.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
browcol.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
browlog.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
bsdcompile
catch.pas
cclasses.pas * TFPHashList.Pack now also packs the items 2006-04-05 12:36:17 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cg64f32.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
cgbase.pas + support for register variables which contain records 2006-05-19 15:49:07 +00:00
cgobj.pas * fixed a_param_ref in case the paraloc size is different from the source size 2006-05-24 09:36:41 +00:00
cgutils.pas + support for register variables which contain records 2006-05-19 15:49:07 +00:00
charset.pas
cmsgs.pas
comphook.pas + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file 2006-04-09 11:54:09 +00:00
compiler.pas + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file 2006-04-09 11:54:09 +00:00
compinnr.inc * Internal implementations of get_frame, get_caller_frame and get_caller_addr. 2006-05-14 08:39:19 +00:00
comprsrc.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas * don't put resstrs in multiple .o files. It is too dependent on the linker script 2006-03-31 19:44:33 +00:00
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 Merged revisions 2791-2793,2798-2800,2806-2825,2829-2830,2833,2839,2898 via svnmerge from 2006-03-13 09:29:57 +00:00
dbgbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
dbgdwarf.pas * leb128 gets always a 64bit int 2006-03-27 13:42:06 +00:00
dbgstabs.pas * only write line number once 2006-04-19 13:31:17 +00:00
defcmp.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
defutil.pas + is_automatable 2006-05-01 19:55:25 +00:00
export.pas
finput.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
fmodule.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
fpccrc.pas
fpcdefs.inc * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
fppu.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
gendef.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
globals.pas * fixed broken fpu type setting in 2.1.1 2006-05-19 23:28:55 +00:00
globtype.pas + support for register variables which contain records 2006-05-19 15:49:07 +00:00
htypechk.pas * allow passing single element to open array bug6960 2006-05-23 07:23:45 +00:00
impdef.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
import.pas * remove obsolete generatesmartlib 2006-04-27 06:40:19 +00:00
link.pas * DLL support 2006-05-21 21:07:49 +00:00
make_old.cmd
Makefile + compile the svn revision into the compiler, to do so, a file compiler/revision.inc must exist which is updated then 2006-05-13 15:25:36 +00:00
Makefile.fpc + compile the svn revision into the compiler, to do so, a file compiler/revision.inc must exist which is updated then 2006-05-13 15:25:36 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * as operator isn't allowed for non com interfaces 2006-05-23 18:52:56 +00:00
msgtxt.inc * as operator isn't allowed for non com interfaces 2006-05-23 18:52:56 +00:00
nadd.pas + optimize <string>+'' and ''+<string> 2006-05-14 09:43:53 +00:00
nbas.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncal.pas * properly set regvarability of parameters and local variables of inlined 2006-05-20 23:37:55 +00:00
ncgadd.pas * fixed coding style 2006-04-26 18:13:14 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas + support for register variables which contain records 2006-05-19 15:49:07 +00:00
ncgcnv.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
ncgcon.pas * widestrings aren't ref. counted anymore on windows 2006-05-09 20:54:26 +00:00
ncgflw.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncginl.pas * Internal implementations of get_frame, get_caller_frame and get_caller_addr. 2006-05-14 08:39:19 +00:00
ncgld.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgmat.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgmem.pas * properly set regvarability of parameters and local variables of inlined 2006-05-20 23:37:55 +00:00
ncgopt.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgset.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgutil.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncnv.pas * as operator isn't allowed for non com interfaces 2006-05-23 18:52:56 +00:00
ncon.pas * don't allow stringconst+integer 2006-03-27 07:22:02 +00:00
nflw.pas * rewrite of optimizer options 2006-03-13 09:05:50 +00:00
ninl.pas * Internal implementations of get_frame, get_caller_frame and get_caller_addr. 2006-05-14 08:39:19 +00:00
nld.pas * never remove regvar-ability of parameters passed by reference 2006-05-17 13:38:02 +00:00
nmat.pas * fixed overloading of div operator 2006-05-13 21:37:54 +00:00
nmem.pas * fix IE when subscripting records part of another record regvar 2006-05-21 16:04:14 +00:00
nobj.pas Merged revisions 3090-3113 via svnmerge from 2006-04-02 00:11:17 +00:00
node.pas * moved type conversion of C varargs from tcallnode to 2006-03-17 22:26:48 +00:00
nopt.pas * rewrite of optimizer options 2006-03-13 09:05:50 +00:00
nset.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
nstate.pas
nutils.pas * fixed simplifying 2006-03-04 22:04:53 +00:00
ogbase.pas * DLL support 2006-05-21 21:07:49 +00:00
ogcoff.pas * DLL support 2006-05-21 21:07:49 +00:00
ogelf.pas * fixed and simplified section handling now all sections are 2006-04-03 08:47:20 +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 2791-2793,2798-2800,2806-2825,2829-2830,2833,2839,2898 via svnmerge from 2006-03-13 09:29:57 +00:00
optcse.pas
options.pas * fix setting of internal/external linker 2006-05-21 10:52:23 +00:00
optunrol.pas * aktcputype and aktoptimizecputype was missing in the previous optimization commits 2006-03-13 12:29:56 +00:00
owar.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
owbase.pas * enabled internal linker for winx64 2006-04-01 12:39:15 +00:00
parabase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * interfaces return values need to be passed in parameters 2006-04-12 10:26:10 +00:00
parser.pas Merged revisions 2827,2831,2837,2932-2980 via svnmerge from 2006-03-19 22:12:52 +00:00
pass_1.pas
pass_2.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
pbase.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pdecl.pas * fixed several dispinterface parsing related stuff 2006-04-29 21:39:21 +00:00
pdecobj.pas + parsing of dispinterface properties 2006-04-30 14:29:16 +00:00
pdecsub.pas * Do not use cprefix for cdecl DLL imports in Windows. 2006-05-24 23:53:10 +00:00
pdecvar.pas * handle stored false properly when overriding properties 2006-05-13 20:26:42 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas * Internal implementations of get_frame, get_caller_frame and get_caller_addr. 2006-05-14 08:39:19 +00:00
pinline.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pmodules.pas * define PIC when generating pic 2006-05-13 20:03:40 +00:00
pp.lpi + added palmos support to makes files 2006-02-05 19:22:12 +00:00
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * made win64 ppus usable for win32 and win64 compilers 2006-05-01 16:18:48 +00:00
procinfo.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pstatmnt.pas + variants can be used as case expression 2006-05-14 18:29:49 +00:00
psub.pas * fix importprocname for cdecl 2006-05-23 07:59:36 +00:00
psystem.pas + parsing of variant dispatching 2006-04-30 17:53:53 +00:00
ptconst.pas * widestrings aren't ref. counted anymore on windows 2006-05-09 20:54:26 +00:00
ptype.pas + parse packed set, fixes #6735 2006-05-19 12:31:38 +00:00
raatt.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
rabase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rasm.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rautils.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
README
regvars.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rgbase.pas
rgobj.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
scandir.pas * give an error for {$calling } (i.e., when a procedure directive is 2006-04-12 07:58:25 +00:00
scanner.pas * support goto/label by default in tp/delphi/macpas modes (bug 4893) 2006-03-18 22:25:41 +00:00
script.pas
switches.pas * list supported optimization options in -i 2006-03-13 11:17:56 +00:00
symbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
symconst.pas * never remove regvar-ability of parameters passed by reference 2006-05-17 13:38:02 +00:00
symdef.pas + support for register variables which contain records 2006-05-19 15:49:07 +00:00
symnot.pas
symsym.pas * fixed stabs generation for static class variables 2006-05-21 17:34:30 +00:00
symtable.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
symtype.pas * use shortint for alignments 2006-03-20 08:29:13 +00:00
symutil.pas
systems.pas + tf_winlikewidestring 2006-05-08 18:20:26 +00:00
tgobj.pas * per-parameter alignment set in target specific paramanager now overrides default alignment of parameter locals 2006-04-18 14:32:42 +00:00
tokens.pas + parsing of dispinterface properties 2006-04-30 14:29:16 +00:00
verbose.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
version.pas + compile the svn revision into the compiler, to do so, a file compiler/revision.inc must exist which is updated then 2006-05-13 15:25:36 +00:00
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