fpc/compiler
2014-04-02 13:14:06 +00:00
..
aarch64 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
alpha * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
arm * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 2014-04-02 13:14:06 +00:00
avr * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 2014-04-02 13:14:06 +00:00
generic * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
html
i386 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
i8086 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
ia64 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
jvm * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
m68k * fixed m68k typo in r27438 2014-04-01 21:48:28 +00:00
mips * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
msg
powerpc * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
powerpc64 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
ppcgen
sparc * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
systems * add 'option quiet' to wlink to suppress its info messages 2014-03-24 18:13:29 +00:00
utils * move fpcsubst to utils/ because it uses classes 2014-03-30 11:45:51 +00:00
vis + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
x86 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
x86_64 * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
aasmbase.pas
aasmdata.pas
aasmsym.pas
aasmtai.pas
aggas.pas * partially merged the mips-embedded branch of Michael Ring: 2014-03-19 21:25:38 +00:00
agjasmin.pas * moved jvm tprocdef name mangling to jvm-specific descendant class 2014-03-30 21:04:29 +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 * eliminate classes unit from the compiler by copying an array of string based 2014-03-30 12:03:10 +00:00
cfidwarf.pas
cfileutl.pas
cg64f32.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
cgbase.pas
cghlcpu.pas
cgobj.pas * moved joinreg64 from cg64f32 to cgobj (joinreg128 is also declared 2014-03-16 11:24:36 +00:00
cgutils.pas * moved jvm-specific tarrayreftype from cgutils to jvm/cpubase 2014-03-16 11:24:21 +00:00
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc
comprsrc.pas
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas
cstreams.pas
cutils.pas
cwindirs.pp
dbgbase.pas
dbgdwarf.pas
dbgstabs.pas
dbgstabx.pas
defcmp.pas * moved x86-specific tpointerdef functionality to architecture-specific 2014-03-30 21:04:36 +00:00
defutil.pas * moved x86-specific tpointerdef functionality to architecture-specific 2014-03-30 21:04:36 +00:00
dirparse.pas
elfbase.pas
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc
fppu.pas * remove stale uses strutils; 2014-03-27 18:18:39 +00:00
gendef.pas
globals.pas * partially merged the mips-embedded branch of Michael Ring: 2014-03-19 21:25:38 +00:00
globstat.pas
globtype.pas Fix mipsel compilation by reinstalling rev27188 commit reverted in 27200 2014-03-28 13:51:47 +00:00
hlcg2ll.pas * avoid internal error if an empty record is assigned to a function result, resolves #25895 2014-03-21 16:31:57 +00:00
hlcgobj.pas + added method reference_reset_base with support for different pointer types to 2014-03-28 00:01:18 +00:00
htypechk.pas * Modified behavior of CExtended type in overload selection: it is made more compatible to Extended than to Double and Single. Also an Extended parameter selects a CExtended overload (if available) instead of Double. 2014-03-30 07:31:58 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas * pass the -b option to wlib to avoid creating .bak files 2014-03-24 17:35:11 +00:00
macho.pas
machoutils.pas
Makefile
Makefile.fpc
MPWMake
msgidx.inc
msgtxt.inc
nadd.pas * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
nbas.pas
ncal.pas * moved amiga/morphos-specific libsym-related field from tprocdef to 2014-04-01 21:41:27 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas * moved ncgutil.maybechangeloadnodereg() to hlcg.maybe_change_load_node_reg() 2014-03-16 11:24:40 +00:00
ncgcnv.pas * fix for the regressions caused by r27417 2014-04-01 19:34:21 +00:00
ncgcon.pas * fixed tcgstringconstnode.pass_generate_code for i8086 far data memory models 2014-03-28 22:34:30 +00:00
ncgflw.pas * moved ncgutil.maybechangeloadnodereg() to hlcg.maybe_change_load_node_reg() 2014-03-16 11:24:40 +00:00
ncginl.pas * fixed tcginlinenode.second_SizeOfTypeOf for i8086 far data memory models by 2014-03-28 00:07:39 +00:00
ncgld.pas * fixed the handling of const resourcestrings in the i8086 far data memory models 2014-03-30 16:30:51 +00:00
ncgmat.pas
ncgmem.pas * moved x86-specific tpointerdef functionality to architecture-specific 2014-03-30 21:04:36 +00:00
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas
ncgutil.pas * i8086 far data memory model fix for except_buf_size 2014-03-30 12:00:20 +00:00
ncgvmt.pas * removed ifdef jvm from ncgvmt 2014-03-16 11:24:44 +00:00
ncnv.pas * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
ncon.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
nflw.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
ngenutil.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
ngtcon.pas
ninl.pas * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
nld.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
nmat.pas
nmem.pas * isolated segment-related functionality of tabsolutevarsym into i386/i8086- 2014-03-30 15:42:53 +00:00
nobj.pas * moved jvm tprocdef name mangling to jvm-specific descendant class 2014-03-30 21:04:29 +00:00
nobjc.pas
node.pas
nopt.pas
nset.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
nstate.pas
nutils.pas
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas
ogcoff.pas * x86_64-win64: fixed handling of RELOC_RELATIVE_1..RELOC_RELATIVE_5 COFF relocations, they were off by 4 bytes, causing failure in tests/test/tcalext.pp. 2014-04-01 16:26:56 +00:00
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
optbase.pas
optconstprop.pas
optcse.pas * do cse on all const. intregable expressions 2014-03-23 20:11:15 +00:00
optdead.pas * eliminate classes unit from the compiler by copying an array of string based 2014-03-30 12:03:10 +00:00
optdeadstore.pas
optdfa.pas
options.pas * partially merged the mips-embedded branch of Michael Ring: 2014-03-19 21:25:38 +00:00
optloop.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
opttail.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
optutils.pas
optvirt.pas + support for nested classes in the WPO devirtualisation and VMT 2014-03-16 19:46:17 +00:00
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas * moved x86-specific tpointerdef functionality to architecture-specific 2014-03-30 21:04:36 +00:00
pdecobj.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
pdecsub.pas * moved amiga/morphos-specific libsym-related field from tprocdef to 2014-04-01 21:41:27 +00:00
pdecvar.pas * isolated segment-related functionality of tabsolutevarsym into i386/i8086- 2014-03-30 15:42:53 +00:00
pexports.pas
pexpr.pas * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
pgenutil.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
pinline.pas
pmodules.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
pp.lpi + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
pp.pas
pparautl.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
ppc68k.lpi
ppc8086.lpi + symx86.pas added to ppc8086.lpi 2014-03-31 09:24:55 +00:00
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * increased ppu version after all symdef changes 2014-04-01 21:41:40 +00:00
ppx86_64.lpi
procinfo.pas * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 2014-04-02 13:14:06 +00:00
pstatmnt.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
psub.pas * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 2014-04-02 13:14:06 +00:00
psystem.pas * moved x86-specific tpointerdef functionality to architecture-specific 2014-03-30 21:04:36 +00:00
ptconst.pas
ptype.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas
scanner.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas * moved po_has_inlininginfo from procoptions to procimploptions so that 2014-03-19 21:53:10 +00:00
symcreat.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
symdef.pas * moved pbestrealtype from symdef to symcpu 2014-04-01 21:41:37 +00:00
symnot.pas
symsym.pas * moved all jvm-specific code from symsym to jvm/symcpu 2014-03-30 16:55:09 +00:00
symtable.pas * instantiate the cpu-specific version of all defs/syms when loading them 2014-03-30 16:55:06 +00:00
symtype.pas
symutil.pas
systems.inc * partially merged the mips-embedded branch of Michael Ring: 2014-03-19 21:25:38 +00:00
systems.pas * partially merged the mips-embedded branch of Michael Ring: 2014-03-19 21:25:38 +00:00
tgobj.pas
tokens.pas
verbose.pas
version.pas
widestr.pas * add support for Latin-2 character sets (ISO & IBM) 2014-03-27 22:48:13 +00:00
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