fpc/compiler
florian b77a5016ca * don't destroy r13 when copying data
git-svn-id: trunk@5470 -
2006-11-24 21:55:23 +00:00
..
alpha * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
arm * don't destroy r13 when copying data 2006-11-24 21:55:23 +00:00
html
i386 * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ia64
m68k * several m68k fixes 2006-11-20 22:13:49 +00:00
mips
msg * correct name of set packing directive is PACKSET 2006-11-10 19:56:19 +00:00
powerpc * unified nppcset for ppc32/ppc64 since virtually identical 2006-11-16 18:56:28 +00:00
powerpc64 * unified nppcset for ppc32/ppc64 since virtually identical 2006-11-16 18:56:28 +00:00
ppcgen * fixed case for ppc64 with 64 bit values 2006-11-23 16:18:31 +00:00
sparc * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
systems * fix shared library linking for linux (issue #7849, patch from Dominique Leducq) 2006-11-20 19:24:20 +00:00
utils * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
vis
x86 * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
x86_64 * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aasmbase.pas * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
aasmdata.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
aasmtai.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
aggas.pas * fixed darwin compilation 2006-11-10 17:12:30 +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 * arm cond. instruction support 2006-11-14 22:37:22 +00:00
assemble.pas * enable pipe-assembling again for solaris 2006-11-12 21:43:58 +00:00
browcol.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +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 * tfphashlist.delete needs to rehash after updating all indexes 2006-11-13 21:17:59 +00:00
cfidwarf.pas
cfileutils.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
cg64f32.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +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 typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
cgutils.pas
charset.pas
cmsgs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
comphook.pas * use fileage for retrieving file timestamps 2006-10-31 09:07:23 +00:00
compiler.pas * show only totals for memdebug 2006-11-03 11:24:02 +00:00
compinnr.inc + support for bitsizeof() function 2006-09-09 18:57:49 +00:00
comprsrc.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +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
cp8859_1.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cresstr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
cstreams.pas
cutils.pas * replace can now also insert strings > 255 chars in ansistrings 2006-11-11 10:23:27 +00:00
dbgbase.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
dbgdwarf.pas * fixed range check errors 2006-11-20 13:15:30 +00:00
dbgstabs.pas * section "fpc" was renamed to ".fpc". 2006-11-10 10:33:41 +00:00
defcmp.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
defutil.pas - disabled varsets for big endian targets for now since it breaks sets 2006-11-14 20:47:11 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
fmodule.pas * show only totals for memdebug 2006-11-03 11:24:02 +00:00
fpccrc.pas
fpcdefs.inc * varsets disabled completely for now 2006-11-14 21:43:29 +00:00
fppu.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
gendef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
globals.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
globtype.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
htypechk.pas * properties can be also passed to formal const parameters 2006-11-18 09:09:21 +00:00
impdef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
import.pas
link.pas * fix searching of (g)ar for the arfinishcmd 2006-11-13 22:39:00 +00:00
make_old.cmd
Makefile
Makefile.fpc
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 * correct name of set packing directive is PACKSET 2006-11-10 19:56:19 +00:00
msgtxt.inc * correct name of set packing directive is PACKSET 2006-11-10 19:56:19 +00:00
nadd.pas * varset support fixed 2006-11-08 22:48:44 +00:00
nbas.pas * varset support fixed 2006-11-08 22:48:44 +00:00
ncal.pas * better fix for tw1623 (generates more optimal code) 2006-11-15 14:15:00 +00:00
ncgadd.pas * varset support fixed 2006-11-08 22:48:44 +00:00
ncgbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcal.pas * several m68k fixes 2006-11-20 22:13:49 +00:00
ncgcnv.pas * registers of references aren't reused so we can safe a mov 2006-11-16 22:26:03 +00:00
ncgcon.pas * fixed writing of double constants on WinCE 2006-11-17 22:17:54 +00:00
ncgflw.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncginl.pas * fixed overflow checking for inc/dec on non-x86 2006-11-10 21:14:11 +00:00
ncgld.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
ncgmat.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgmem.pas * give internalerror if trying to take the address of something else 2006-11-16 20:23:55 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgrtti.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
ncgset.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgutil.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
ncnv.pas * (finally) fixed tests/test/trangeob.pp 2006-11-20 22:03:08 +00:00
ncon.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
nflw.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
ninl.pas * create fpc_write* length/frac parameters as s32inttype to match the 2006-11-23 16:40:20 +00:00
nld.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
nmat.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nmem.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
nobj.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
node.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
nopt.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nset.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nstate.pas
nutils.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
ogbase.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
ogcoff.pas * Set procalign alignment for sections of import jumps table. 2006-11-14 17:05:46 +00:00
ogelf.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +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
optcse.pas * remove ttype 2006-10-29 22:19:39 +00:00
options.pas * define FPC_DOUBLE_HILO_SWAPPED for ARM CPU if needed to properly handle doubles in RTL. 2006-11-21 21:24:01 +00:00
opttail.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
optunrol.pas * settings refactored 2006-10-30 18:02:58 +00:00
owar.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
owbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
parabase.pas
paramgr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
pass_1.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
pass_2.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
pbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
pdecl.pas * don't generate vmt for a generic 2006-11-19 22:07:28 +00:00
pdecobj.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
pdecsub.pas * fixed parameter name change message 2006-11-11 18:06:11 +00:00
pdecvar.pas * fixed cs_externally_visible (macpas {$z+}) 2006-11-14 20:38:54 +00:00
pexports.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
pexpr.pas + parsing of type casts with nested types 2006-11-11 20:45:02 +00:00
pinline.pas * always call tobject.create/free in MacPas mode for new/dispose constructs 2006-11-18 13:36:38 +00:00
pmodules.pas * fix arm-wince exception handling. 2006-11-14 16:49:02 +00:00
pp.lpi * more improvements 2006-11-12 22:32:26 +00:00
pp.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppc68k.lpi * small m68k-linux fixes 2006-11-19 21:51:20 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppcarm.lpi * initial copy from i386 2006-11-15 20:33:43 +00:00
ppheap.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
psub.pas * Implemented stackframe optimization for ARM CPU. 2006-11-14 16:18:49 +00:00
psystem.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
ptconst.pas * fixed writing of double constants on WinCE 2006-11-17 22:17:54 +00:00
ptype.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
raatt.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
rabase.pas
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas * fixed writing of double constants on WinCE 2006-11-17 22:17:54 +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 * only add resext if no extension was specified 2006-11-03 08:51:23 +00:00
scanner.pas * storing/restoring of settings when doing a specialization 2006-11-11 21:37:09 +00:00
script.pas + implement pascal inline asm start/halt code for linux/i386 2006-11-02 16:58:41 +00:00
switches.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
symbase.pas * set vs_initialised for typed consts 2006-11-13 07:42:48 +00:00
symconst.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
symdef.pas * don't put classes/interfaces which need to be finalized in regvars 2006-11-17 12:06:20 +00:00
symnot.pas
symsym.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
symtable.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
symtype.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas + windows uses now sysinit units as well 2006-11-02 23:20:35 +00:00
tgobj.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
tokens.pas + store compiler switch changes in generic token streams 2006-10-30 19:54:17 +00:00
verbose.pas * don't open error file twice but close it first if necessary 2006-11-12 16:00:01 +00:00
version.pas
widestr.pas * settings refactored 2006-10-30 18:02:58 +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