fpc/compiler
Jonas Maebe c44d79f3ba * fix the value of the frame pointer for Thumb-2 after r14317
(patch by Jeppe Johansen, mantis #18025)

git-svn-id: trunk@16416 -
2010-11-24 10:07:49 +00:00
..
alpha
arm * fix the value of the frame pointer for Thumb-2 after r14317 2010-11-24 10:07:49 +00:00
avr
html
i386
ia64
m68k
mips
msg o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
powerpc
powerpc64 * another compilation failure due to cleanup of changes to r16272 2010-10-31 18:37:49 +00:00
ppcgen
sparc
systems
utils
vis
x86 * don't overwrite register variables when evaluating <=/>= expressions with 2010-11-22 12:58:08 +00:00
x86_64 * fixed optimized division of signed values by constant power of 2 if the 2010-11-05 15:32:07 +00:00
aasmbase.pas
aasmdata.pas
aasmsym.pas
aasmtai.pas
aggas.pas
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
asmutils.pas
assemble.pas
browcol.pas
bsdcompile
catch.pas
ccharset.pas
cclasses.pas
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas
cgobj.pas
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 o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
dbgstabs.pas
defcmp.pas
defutil.pas * defutil.pas: added UnicodeString to automatable types, fixes compilation of webtbs/tw2649.pp after r16360. However it requires RTL support similar to one for AnsiString to be complete. 2010-11-21 18:10:11 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc
fppu.pas * fixed searching for the 8-character variant of already compiled 2010-11-12 12:10:41 +00:00
gendef.pas
globals.pas
globtype.pas
htypechk.pas * patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480 2010-11-01 20:24:01 +00:00
impdef.pas
import.pas
link.pas
macho.pas
machoutils.pas
Makefile
Makefile.fpc
MPWMake
msgidx.inc o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
msgtxt.inc o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
nadd.pas
nbas.pas
ncal.pas * defutil.pas: added UnicodeString to automatable types, fixes compilation of webtbs/tw2649.pp after r16360. However it requires RTL support similar to one for AnsiString to be complete. 2010-11-21 18:10:11 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncginl.pas
ncgld.pas
ncgmat.pas
ncgmem.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas
ncgutil.pas
ncnv.pas * patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480 2010-11-01 20:24:01 +00:00
ncon.pas * Improvements to Dispatch call handling: 2010-11-18 16:17:50 +00:00
nflw.pas * ugly indention fixed 2010-11-06 20:00:21 +00:00
ninl.pas * don't convert second argument of inc/dec to sinttype when inc/dec are compiled with r+ or q+, fixes code generation for inc(<int64>,<int64>); on 32 bit targets 2010-11-01 21:30:14 +00:00
nld.pas
nmat.pas
nmem.pas
nobj.pas
nobjc.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas * only ordinals and enums can be bitpacked -> don't give an error when 2010-11-08 21:23:55 +00:00
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas
optbase.pas
optcse.pas
optdead.pas
optdfa.pas
options.pas o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
optloop.pas
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas * avoid hint about uninitialized variable for compiler generated label jump buffer in macpas mode, resolves #17842 2010-11-06 20:21:06 +00:00
pdecobj.pas compiler: reset section type to regular fields section after the "public", "protected", ... and other section visibility keywords 2010-11-04 15:12:17 +00:00
pdecsub.pas * add the C-prefix to the exported name of routines that are automatically 2010-11-22 14:30:42 +00:00
pdecvar.pas * Improvements to Dispatch call handling: 2010-11-18 16:17:50 +00:00
pexports.pas
pexpr.pas
pinline.pas + support extra parameter for initialize() that indicates how many elements 2010-11-23 15:14:40 +00:00
pmodules.pas
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
ppx86_64.lpi
procinfo.pas
pstatmnt.pas
psub.pas
psystem.pas
ptconst.pas
ptype.pas compiler: fix search of outer class type inside inner type declarations (bug #0017945) 2010-11-17 05:51:54 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas
scanner.pas
script.pas
switches.pas
symbase.pas
symconst.pas
symdef.pas * Type Word maps to variant type varword, not varqword (probably a typo). 2010-11-18 07:24:37 +00:00
symnot.pas
symsym.pas
symtable.pas compiler: set moduleid for record symtables and descendants (fixes bug #0017950) 2010-11-17 02:40:41 +00:00
symtype.pas
symutil.pas
systems.pas o patch by Graeme Geldenhuys 2010-11-01 20:41:56 +00:00
tgobj.pas
tokens.pas
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas
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