fpc/compiler
Jonas Maebe 99a75c56fc * fixed copy-paste error in r15600
* fixed spilling error after r15600 the same register appears twice in an
    instruction (it was spilled once in that case)

git-svn-id: trunk@15601 -
2010-07-18 21:24:52 +00:00
..
alpha
arm * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
avr * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
html
i386 * disallow pusha*/popa* for x86_64 (mantis #14862) 2010-07-10 16:22:46 +00:00
ia64
m68k * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
mips * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
msg * fixed error message when using for-in with Objective-Pascal 1.0 2010-07-10 10:00:19 +00:00
powerpc * don't treat variant records with one element as "records with one element" 2010-06-13 09:57:58 +00:00
powerpc64 * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
ppcgen * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
sparc * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
systems * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
utils
vis
x86 * fixed copy-paste error in r15600 2010-07-18 21:24:52 +00:00
x86_64 * disallow pusha*/popa* for x86_64 (mantis #14862) 2010-07-10 16:22:46 +00:00
aasmbase.pas
aasmdata.pas * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
aasmsym.pas
aasmtai.pas * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
aggas.pas * use 32 bit int->string conversions for non-64 bit constants on 32 bit 2010-07-03 13:06:40 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
asmutils.pas
assemble.pas
browcol.pas
bsdcompile
catch.pas
ccharset.pas
cclasses.pas * ensure that the power-of-2 size of the hash table is always larger than 2010-07-03 18:25:31 +00:00
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas
cgobj.pas * don't treat variant records with one element as "records with one element" 2010-06-13 09:57:58 +00:00
cgutils.pas
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc
comprsrc.pas
constexp.pas
COPYING.txt
cp437.pas
cp850.pas
cp866.pas
cp1251.pas
cp8859_1.pas
cp8859_5.pas
crefs.pas
cresstr.pas
cstreams.pas
cutils.pas
dbgbase.pas
dbgdwarf.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
dbgstabs.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
defcmp.pas * fixed assigning "id" to a protocol instance and using protocol instances 2010-06-19 16:19:13 +00:00
defutil.pas
export.pas
expunix.pas
finput.pas
fmodule.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
fpccrc.pas
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas
globtype.pas + feature switch RESOURCES 2010-06-22 12:37:41 +00:00
htypechk.pas
impdef.pas
import.pas
link.pas
macho.pas
machoutils.pas
Makefile * don't build a native compiler for embedded targets 2010-06-22 12:04:37 +00:00
Makefile.fpc * don't build a native compiler for embedded targets 2010-06-22 12:04:37 +00:00
MPWMake
msgidx.inc + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
msgtxt.inc * fixed error message when using for-in with Objective-Pascal 1.0 2010-07-10 10:00:19 +00:00
nadd.pas
nbas.pas
ncal.pas * allow function results of inlined functions to be regvars 2010-06-29 20:58:08 +00:00
ncgadd.pas
ncgbas.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncgcal.pas * fixed checking validity of temporary parameter location that triggered 2010-06-04 15:20:30 +00:00
ncgcnv.pas
ncgcon.pas
ncgflw.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncginl.pas * fixed range/overflow checking for succ/pred (mantis #16770) 2010-06-22 19:15:08 +00:00
ncgld.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncgmat.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncgmem.pas * fixed ABI compliance for parameter passing and function returning on all 2010-06-03 20:08:50 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas
ncgutil.pas * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
ncnv.pas * reimplemented IS operator, it supports now 2010-06-13 22:04:35 +00:00
ncon.pas
nflw.pas * make sure that exitnodes can be safely typecheckpassed more than once 2010-06-29 16:54:44 +00:00
ninl.pas * fixed range/overflow checking for succ/pred (mantis #16770) 2010-06-22 19:15:08 +00:00
nld.pas * use the correct procdef when taking the address of an overloaded function 2010-07-02 19:30:20 +00:00
nmat.pas
nmem.pas
nobj.pas * report correct location of classes that miss method implementations for 2010-06-11 19:27:22 +00:00
nobjc.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas + support for Objective-Pascal for-in loops ("fast enumerations") 2010-06-20 12:38:45 +00:00
objcdef.pas
objcgutl.pas * put the RTTI for optional protocol methods in the correct section for 2010-06-21 15:07:29 +00:00
objcutil.pas
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas
optbase.pas
optcse.pas * don't try to create cse on void resultdefs, resolves #16488 2010-06-03 16:10:02 +00:00
optdead.pas
optdfa.pas
options.pas
optloop.pas
opttail.pas
optutils.pas
optvirt.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
owar.pas
owbase.pas
parabase.pas + extra sanity checks in TCGPara.ppuwrite() 2010-05-31 20:48:35 +00:00
paramgr.pas * when determining whether a temporary paraloc can be in a LOC_REGISTER, 2010-06-03 18:43:42 +00:00
parser.pas
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
pdecobj.pas + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
pdecsub.pas
pdecvar.pas
pexports.pas
pexpr.pas * fixed calling static TP-style object methods from within other methods 2010-07-18 11:01:12 +00:00
pinline.pas
pmodules.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
pp.lpi
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcavr.lpi
ppcmipsel.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas - removed unnecessary string copy form tppufile.getstring 2010-06-20 12:31:27 +00:00
ppx86_64.lpi
procinfo.pas * propagate pi_has_assembler_block and pi_uses_exceptions flags from inlined 2010-07-08 20:34:17 +00:00
pstatmnt.pas * more small indentation fixes 2010-06-19 16:22:56 +00:00
psub.pas * fixed misplaced bracket in condition test that caused all blocks 2010-07-18 09:46:04 +00:00
psystem.pas
ptconst.pas * use the correct procdef when taking the address of an overloaded function 2010-07-02 19:30:20 +00:00
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * disabled superfluous zeroing of another field 2010-07-05 21:35:47 +00:00
scandir.pas
scanner.pas + support for Objective-Pascal for-in loops ("fast enumerations") 2010-06-20 12:38:45 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas * part of r15476, forgot to commit 2010-06-25 20:37:36 +00:00
symdef.pas * fixed tobjectdef.find_destructor(), it did not search the parent classes 2010-07-15 19:11:14 +00:00
symnot.pas
symsym.pas
symtable.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
symtype.pas
symutil.pas
systems.pas
tgobj.pas
tokens.pas
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
wpoinfo.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 haiku
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
  cpu64bitaddr        The targets use a 64-bit address space (pointers and
                       the default integer type are 64 bit)
  cpu64bitalu         The target cpu has 64-bit registers available (unless
                       cpu64bitaddr is also defined, pointers and default
                       integer type remain 32 bit, but the cpu can perform
                       64 bit calculations directly without needing helpers)
  -----------------------------------------------------------------

  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