fpc/compiler
florian 87bdf13f9f + first draft for dfa
git-svn-id: trunk@7282 -
2007-05-05 20:50:09 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm * better insert of pc relative data 2007-03-24 18:35:53 +00:00
html
i386 + Add peoplehole optimization to optimize "smallset+[x]" and "smallset-[x]". 2007-04-29 10:32:18 +00:00
ia64
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips
msg * do not allow passing properties as var parameters (mantis #8777) 2007-05-03 14:08:03 +00:00
powerpc * r0 is also volatile 2007-05-04 16:52:26 +00:00
powerpc64 * do not use R13 as available register because it is reserved for tls on ppc64/linux 2007-05-04 21:51:04 +00:00
ppcgen + support to use r0 for ppc/ppc64 when compiling the compiler with 2007-05-04 14:52:05 +00:00
sparc * simplified and fixed a_load_reg_reg() 2007-04-17 13:35:42 +00:00
systems * don't use generic section rule for .stab and .stabstr 2007-04-29 09:48:59 +00:00
utils * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +00:00
vis
x86 * Fix replace spilling of shld/shrd. 2007-05-03 20:56:09 +00:00
x86_64 * fixed x86-64 compilation 2007-03-21 12:26:06 +00:00
aasmbase.pas * comment about sec_fpc extended to cover current meaning 2007-03-17 22:10:02 +00:00
aasmdata.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
aasmsym.pas * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
aasmtai.pas * secrel32 relocation support required by dwarf2 under windows 2007-04-25 09:06:36 +00:00
aggas.pas * secrel32 relocation support required by dwarf2 under windows 2007-04-25 09:06:36 +00:00
aopt.pas * arm cond. instruction support 2006-11-14 22:37:22 +00:00
aoptbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptcs.pas
aoptda.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptobj.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
assemble.pas * secrel32 relocation support required by dwarf2 under windows 2007-04-25 09:06:36 +00:00
browcol.pas * reinstate code dealing with browser switches 2007-01-23 05:53:30 +00:00
bsdcompile
catch.pas
cclasses.pas * explicitly use shortstring for TFPHashList 2007-02-02 18:58:29 +00:00
cfidwarf.pas
cfileutils.pas * fixed win32 and go32v2 compilation 2007-02-22 07:31:19 +00:00
cg64f32.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
cgbase.pas * refactor gen_alloc_symtable so it depends on varsym type and not 2006-11-05 21:53:40 +00:00
cgobj.pas * fixed register and operation sizes of a_load_ref_reg_unaligned() 2007-04-17 13:35:16 +00:00
cgutils.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
charset.pas
cmsgs.pas
comphook.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compiler.pas * set starttime earlier so time stamps don't get messed up 2007-01-27 13:45:49 +00:00
compinnr.inc
comprsrc.pas * write resource object file to unit output directory 2007-05-05 19:04:43 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
crefs.pas + new unit to handle references 2007-01-23 05:40:26 +00:00
cresstr.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
cstreams.pas * TCFileStream.Seek should return the new position 2007-03-24 10:38:36 +00:00
cutils.pas * prefer a loadsize of 4 over 8 bytes for packed loads on 64 bit, 2007-03-06 15:51:41 +00:00
dbgbase.pas + added generation of debugging infos of parast and localst for methods 2007-03-30 21:34:55 +00:00
dbgdwarf.pas * secrel32 relocation support required by dwarf2 under windows 2007-04-25 09:06:36 +00:00
dbgstabs.pas * stabs info for this if in register 2007-04-17 23:09:51 +00:00
defcmp.pas * cleaned up set conversion 2007-02-25 16:29:39 +00:00
defutil.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
export.pas
finput.pas * fixed -o for sharedlibrary 2007-01-15 17:21:38 +00:00
fmodule.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
gendef.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
globals.pas * fix range check error 2007-02-25 17:51:04 +00:00
globtype.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
htypechk.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas
link.pas * -Xg generates a separate file with the debug info sections 2007-02-24 15:06:31 +00:00
make_old.cmd
Makefile * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +00:00
Makefile.fpc + eDSP instructions for arm 2007-02-11 15:10:27 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * do not allow passing properties as var parameters (mantis #8777) 2007-05-03 14:08:03 +00:00
msgtxt.inc * do not allow passing properties as var parameters (mantis #8777) 2007-05-03 14:08:03 +00:00
nadd.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
nbas.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
ncal.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
ncgadd.pas * several packed array and varset related ies on sparc fixed 2007-03-17 09:16:48 +00:00
ncgbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcal.pas + support for refcounted records returned by functions in 2 registers 2007-05-03 15:05:44 +00:00
ncgcnv.pas * fixed x86 vector mmloads and use scalar loads in ncgcnv 2007-01-14 13:36:26 +00:00
ncgcon.pas * tried to restore old set behaviour for big endian targets 2007-03-03 17:52:55 +00:00
ncgflw.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
ncginl.pas * compiler handled round/trunc for x86 2007-03-13 20:23:24 +00:00
ncgld.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * be more carefull with unaligned load optimization 2007-02-07 17:43:56 +00:00
ncgopt.pas
ncgrtti.pas * handle rtti for sets with a size of 1 and 2 properly, resolves #8660 2007-04-17 20:34:58 +00:00
ncgset.pas * properly align case target labels 2007-02-10 18:42:25 +00:00
ncgutil.pas * properly release open array value parameters on x86-64 or if they contain automated types, resolves #8664 2007-04-13 19:20:56 +00:00
ncnv.pas * changed *string_to_*chararray helpers from functions into procedures 2007-03-18 12:20:01 +00:00
ncon.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
nflw.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
ninl.pas * don't warn about uninitialised open array out parameters when 2007-03-17 21:57:45 +00:00
nld.pas * fixed compile error when assigning to a widestring property which 2007-05-04 13:15:11 +00:00
nmat.pas * do not convert input of unaryminusnode to sint if the original is currency; fixes tfloattostr for 64 bit platforms which use int64 as currency type 2007-01-21 22:09:32 +00:00
nmem.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +00:00
nobj.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
node.pas + first draft for dfa 2007-05-05 20:50:09 +00:00
nopt.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
nset.pas * slightly improved previous in checking patch 2007-03-16 22:31:51 +00:00
nstate.pas
nutils.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
ogbase.pas * Internal linker now correctly links to gcc import libraries. It fixes win32 IDE with debugger support. 2007-05-05 19:21:30 +00:00
ogcoff.pas * Internal linker now correctly links to gcc import libraries. It fixes win32 IDE with debugger support. 2007-05-05 19:21:30 +00:00
ogelf.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
oglx.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ogmap.pas
optbase.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
optcse.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
optdfa.pas + first draft for dfa 2007-05-05 20:50:09 +00:00
options.pas * WinCE compilation fixed 2007-03-20 10:09:54 +00:00
opttail.pas * don't do tail recursion optimization on types requiring init/final code 2007-01-17 22:02:42 +00:00
optunrol.pas
optutils.pas + first draft for dfa 2007-05-05 20:50:09 +00:00
owar.pas
owbase.pas * do not use F field to get TObjectReader FileName as it is freed inside openfile method 2007-05-03 23:55:55 +00:00
parabase.pas
paramgr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * Remove consoleio feature from gba & nds as well. 2007-02-17 16:42:04 +00:00
pass_1.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
pass_2.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
pbase.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecl.pas * fixed #8156 2007-01-21 16:15:19 +00:00
pdecobj.pas * properly inherit interface types, resolves #6690 2007-04-14 20:37:47 +00:00
pdecsub.pas * forbid file types as function results 2007-04-28 18:32:03 +00:00
pdecvar.pas * do not require exactly the same range type for indexed properties 2007-05-04 14:21:39 +00:00
pexports.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
pexpr.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
pinline.pas * don't generate pointer checks for newly initialized by new pointers, resolves #8757 2007-04-24 20:19:25 +00:00
pmodules.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
pp.lpi * more improvements 2006-11-12 22:32:26 +00:00
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
ppc68k.lpi * small m68k-linux fixes 2006-11-19 21:51:20 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * initial copy from i386 2006-11-15 20:33:43 +00:00
ppcppc.lpi + powerpc lazarus project file 2007-03-03 14:53:15 +00:00
ppcsparc.lpi + sparc lazarus project file 2007-04-05 10:22:24 +00:00
ppheap.pas
ppu.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
procinfo.pas
pstatmnt.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
psub.pas * OS/2 compilation fixes (not completely finished yet) 2007-03-20 00:49:20 +00:00
psystem.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
ptconst.pas * fixed rangecheck define typo 2007-03-13 14:49:03 +00:00
ptype.pas * forbid anonymous generic specializations 2007-02-24 10:06:53 +00:00
raatt.pas * merged some code which was ifdefed separately for POWERPC and POWERPC64 code but is equal 2007-02-08 22:52:11 +00:00
rabase.pas
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
README
regvars.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
rgbase.pas
rgobj.pas * fix IE with -sr and EXTDEBUG 2006-11-07 22:43:34 +00:00
scandir.pas * savefpuexceptions directive renamed to safefpuexceptions 2007-03-28 18:05:40 +00:00
scanner.pas - Put gpc mode between ifdefs. The only thing it does it disable all 2007-02-16 23:13:28 +00:00
script.pas * more file handling from shortstring to tcmdstr 2007-02-21 21:54:54 +00:00
switches.pas * don't give a warning for {$u-} (means "Pentium-safe fdiv off", is only 2007-01-24 19:49:16 +00:00
symbase.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symconst.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
symdef.pas * don't use inc/dec on a property with a write method 2007-05-02 17:31:02 +00:00
symnot.pas
symsym.pas * fix incorrect generation of huge static arrays on 64 bit systems; however, GAS only supports 2^31-1 sized ones 2007-02-08 22:11:27 +00:00
symtable.pas * unified ies 2007-03-03 16:03:20 +00:00
symtype.pas * fixed debug info for pass-by-reference parameters in dwarf by 2007-02-18 22:49:47 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas * made arm-wince default target for arm cross compilers hosted on windows 2007-03-31 20:56:16 +00:00
tgobj.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas * align Comment behaviour with Msg2Comment 2007-03-25 00:21:12 +00:00
version.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
widestr.pas

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