fpc/compiler
2006-06-19 14:17:45 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm * made ie unique 2006-05-29 19:50:12 +00:00
html
i386 - reverted previous fix, is wrong 2006-06-07 20:52:45 +00:00
ia64 * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * updates from Karl-Michael Schindler 2006-06-05 13:42:17 +00:00
powerpc + more rlwinm optimizations 2006-06-08 09:48:08 +00:00
powerpc64 * optimized register-register loading of < 64 bit values (removes superfluous code), similar to 3207 for ppc 2006-06-04 17:35:55 +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 * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +00:00
utils + Updated default config file for FPC 2006-06-04 16:32:20 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * fixed compilation 2006-06-17 21:33:08 +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 - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +00:00
aasmdata.pas * properly copy tasmlabels when generating altsymbols 2006-05-31 11:49:37 +00:00
aasmtai.pas * tai_symbol no longer derives from tailineinfo, so line number stabs come after 2006-05-25 20:24:07 +00:00
aggas.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
cclasses.pas * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +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 * another shuffle fix 2006-06-13 07:54:35 +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 * fixed crash with empty codepage 2005-06-07 12:52:01 +00:00
cmsgs.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * fixed some wrong ordering of procdef stabs 2006-05-26 10:21:59 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
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 + define the assembler reader always explicitly 2006-06-17 13:22:30 +00:00
globtype.pas * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +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 * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +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 * fixed error msg (that->this) 2006-05-27 15:24:55 +00:00
nadd.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +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 support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +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 * fixed compilation on non x86 CPUs 2006-05-28 12:02:10 +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 make cycle 2006-06-15 16:46:07 +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 * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
nutils.pas * fixed simplifying 2006-03-04 22:04:53 +00:00
ogbase.pas * internal linker removes imports referenced by unused code. 2006-06-09 20:57:48 +00:00
ogcoff.pas * internal linker removes imports referenced by unused code. 2006-06-09 20:57:48 +00:00
ogelf.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +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 * fixed some small problems in loop unrolling 2005-06-19 21:00:27 +00:00
options.pas * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +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 * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
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 * fixed import by ordinal number for all Windows targets when using external linker. 2006-06-09 20:02:03 +00:00
pdecvar.pas + Fixed nodefault storage specifier and case where stored is explicitly true 2006-06-13 21:41:52 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +00:00
pinline.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pmodules.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +00:00
pp.lpi * locally changed pp.lpi reverted 2006-06-16 20:32:16 +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 * remove $Log 2005-06-07 09:47:55 +00:00
ppheap.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
ppu.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
rgobj.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
scandir.pas * replace * in $R with main source instead of modulename 2006-06-11 12:45:45 +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 Fixed Unix2Amiga path conversions for external asm script 2005-11-24 11:41:59 +00:00
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 * fixed wrong alignment on 64 bit cpus for rtti data for ordinals and enums if the cpu requires proper alignment 2006-06-09 21:01:57 +00:00
symnot.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * fix default parameter compare for widestring 2005-08-30 06:23:31 +00:00
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 * Revert version change 2006-05-30 18:36:32 +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