fpc/compiler
Jonas Maebe 95da9cb07a * fixed missing propagation of changed parameter type
of first readstr parameter in case it wasn't a string

git-svn-id: trunk@7514 -
2007-05-29 14:21:12 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm - removed several ;; 2007-05-28 15:59:17 +00:00
html
i386 * another check for register types (should fix new failure 2007-05-29 11:12:37 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * Change spill_* routines to return Taicpu instead of Tai to increase 2007-05-12 15:43:16 +00:00
mips
msg * prevent usage of units being compiled with different fpu emulation state 2007-05-28 16:18:35 +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 * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +00:00
sparc * don't destroy source register when performing division of signed 2007-05-23 14:05:27 +00:00
systems - removed several ;; 2007-05-28 15:59:17 +00:00
utils + new program to ease cross RTL compilation tests 2007-05-15 13:41:26 +00:00
vis
x86 * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +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 - removed several ;; 2007-05-28 15:59:17 +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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cclasses.pas - removed several ;; 2007-05-28 15:59:17 +00:00
cfidwarf.pas
cfileutils.pas * force Archvie bit for file to get a difference if a fileexists or not 2007-05-27 10:50:51 +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 - removed several ;; 2007-05-28 15:59:17 +00:00
cgutils.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
charset.pas
cmsgs.pas - removed several ;; 2007-05-28 15:59:17 +00:00
comphook.pas * added status.currentmodulestate 2007-05-24 06:21:31 +00:00
compiler.pas * cleanup current module status 2007-05-23 13:33:53 +00:00
compinnr.inc + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
comprsrc.pas * use linkunitofiles instead of linkotherofiles to prevent path from being stored in ppu 2007-05-27 15:27:08 +00:00
COPYING
cp437.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp850.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp866.pas + added cyrillic code page tables 2007-05-22 19:38:39 +00:00
cp1251.pas + added cyrillic code page tables 2007-05-22 19:38:39 +00:00
cp8859_1.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp8859_5.pas + added cyrillic code page tables 2007-05-22 19:38:39 +00:00
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 * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +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 * do not search variant operators when looking for an overloaded 2007-05-16 13:59:35 +00:00
defutil.pas - removed/disabled all normalset code (except for bootstrapping), since 2007-05-20 11:19:36 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * fixed -o for sharedlibrary 2007-01-15 17:21:38 +00:00
fmodule.pas * cleanup current module status 2007-05-23 13:33:53 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas * prevent usage of units being compiled with different fpu emulation state 2007-05-28 16:18:35 +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 + first basically working (not all node types yet) dfa implementation determining life information 2007-05-06 21:33:39 +00:00
htypechk.pas * prefer overloaded methods in current object over 2007-05-16 08:12:14 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
link.pas * fix Mantis #8760: do not put actually empty sections in executable by internal linker. 2007-05-12 13:32:52 +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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
msgidx.inc * prevent usage of units being compiled with different fpu emulation state 2007-05-28 16:18:35 +00:00
msgtxt.inc * prevent usage of units being compiled with different fpu emulation state 2007-05-28 16:18:35 +00:00
nadd.pas - removed/disabled all normalset code (except for bootstrapping), since 2007-05-20 11:19:36 +00:00
nbas.pas * fixed bug #8919. 2007-05-24 08:15:28 +00:00
ncal.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
ncgadd.pas - removed/disabled all normalset code (except for bootstrapping), since 2007-05-20 11:19:36 +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 * fixed (harmless) range error 2007-05-29 13:04:15 +00:00
ncgflw.pas * no need to synchronise the upper bound of a for-loop after the loop 2007-05-16 12:13:28 +00:00
ncginl.pas * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +00:00
ncgld.pas * fix shortstring:=char 2007-05-10 06:01:42 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * mark invisible high parameters of open arrays/arrays of const 2007-05-29 13:42:49 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
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 * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +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 * fixed missing propagation of changed parameter type 2007-05-29 14:21:12 +00:00
nld.pas * fixed dynarr_property:=nil + test 2007-05-28 13:48:32 +00:00
nmat.pas * handle mod/div between a cardinal/qword and a smaller unsigned variable 2007-05-14 19:24:33 +00:00
nmem.pas * mark invisible high parameters of open arrays/arrays of const 2007-05-29 13:42:49 +00:00
nobj.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +00:00
node.pas * backup commit of more dfa stuff 2007-05-06 10:59: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 * fixed mantis #8887. (please merge to fixes). 2007-05-16 09:04:34 +00:00
ogcoff.pas * fix Mantis #8760: do not put actually empty sections in executable by internal linker. 2007-05-12 13:32:52 +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 * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
optbase.pas + first basically working (not all node types yet) dfa implementation determining life information 2007-05-06 21:33:39 +00:00
optcse.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
optdfa.pas + do life dfa for exit 2007-05-07 20:30:19 +00:00
options.pas + defined FPC_SUPPORTS_UNALIGNED if the compiler supports the 2007-05-25 12:00:55 +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 * settings refactored 2006-10-30 18:02:58 +00:00
optutils.pas + do life dfa for exit 2007-05-07 20:30:19 +00:00
owar.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
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 * cleanup current module status 2007-05-23 13:33:53 +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 * nested procedures are not supported in generic methods 2007-05-16 20:56:00 +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 + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
pinline.pas - removed several ;; 2007-05-28 15:59:17 +00:00
pmodules.pas - removed several ;; 2007-05-28 15:59:17 +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 * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
psub.pas * nested procedures are not supported in generic methods 2007-05-16 20:56:00 +00:00
psystem.pas * cleanup current module status 2007-05-23 13:33:53 +00:00
ptconst.pas - removed a comment which wasn't true anymore 2007-05-25 12:30:14 +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 * allow to load the address of a bitpacked array in assembler code 2007-05-18 11:14:43 +00:00
README
regvars.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
rgbase.pas
rgobj.pas * Change spill_* routines to return Taicpu instead of Tai to increase 2007-05-12 15:43:16 +00:00
scandir.pas * only add .o extension if no extension is provided. fixes 8520 2007-05-16 20:11:09 +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 * mwpascal is also a clearstack_pocall (fixes e.g. calling 2007-05-19 18:10:22 +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 resourcestring assignment in typedconst 2007-05-15 06:52:36 +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 * added status.currentmodulestate 2007-05-24 06:21:31 +00:00
version.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
widestr.pas + added cyrillic code page tables 2007-05-22 19:38:39 +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