fpc/compiler
2013-05-26 09:08:28 +00:00
..
aarch64
alpha
arm
avr
generic
html
i386
i8086 * fixed bug when passing a 'single' floating point type parameter via tcg8086.a_load_ref_cgpara 2013-05-25 13:37:24 +00:00
ia64
jvm
m68k
mips * TCGMIPS.handle_reg_const_reg(): fixed to generate 'real' CPU instructions, so macro processing by assembler is no longer needed. 2013-05-24 03:56:51 +00:00
msg
powerpc
powerpc64
ppcgen
sparc
systems
utils * updated ppudump after the x86 pointer type changes introduced in r24453 2013-05-21 14:46:52 +00:00
vis
x86 * some more i8086 bug fixes in tx86innode.pass_generate_code 2013-05-26 09:08:28 +00:00
x86_64
aasmbase.pas
aasmdata.pas
aasmsym.pas
aasmtai.pas
aggas.pas
agjasmin.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 * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 2013-05-19 18:44:54 +00:00
cgbase.pas
cghlcpu.pas
cgobj.pas
cgutils.pas
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
defutil.pas + far pointer support in defutil.def_cgsize 2013-05-22 12:30:34 +00:00
elfbase.pas
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas
globstat.pas
globtype.pas + far pointer support in tpointerconstnode 2013-05-24 12:41:53 +00:00
hlcg2ll.pas
hlcgobj.pas
htypechk.pas
impdef.pas
import.pas
ldscript.pas
link.pas
macho.pas
machoutils.pas
Makefile
Makefile.fpc
MPWMake
msgidx.inc
msgtxt.inc
nadd.pas
nbas.pas
ncal.pas * fixed a regression, introduced in r24571 2013-05-24 18:25:11 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 2013-05-24 17:16:55 +00:00
ncgflw.pas
ncginl.pas
ncgld.pas * fixed passing a longint to an array of const parameter on i8086 (and other 8/16-bit cpus) 2013-05-25 10:14:39 +00:00
ncgmat.pas
ncgmem.pas
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas * RTTI fix for alignment-sensitive targets: 2013-05-23 16:03:42 +00:00
ncgset.pas
ncgutil.pas * refactored ncgutil.gen_load_cgpara_loc to use cgpara.locations_count 2013-05-19 18:49:21 +00:00
ncgvmt.pas
ncnv.pas
ncon.pas + far pointer support in tpointerconstnode 2013-05-24 12:41:53 +00:00
nflw.pas
ngenutil.pas
ngtcon.pas
ninl.pas + far pointer fixes in the internal compiler handling of ptr(const,const) 2013-05-24 12:42:43 +00:00
nld.pas
nmat.pas
nmem.pas * formatting 2013-05-24 18:08:05 +00:00
nobj.pas
nobjc.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
optbase.pas
optcse.pas
optdead.pas
optdfa.pas
options.pas
optloop.pas
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
parabase.pas + added method TCGPara.locations_count 2013-05-19 18:37:55 +00:00
paramgr.pas
parser.pas
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas Fix for Mantis #24071. 2013-05-24 15:27:27 +00:00
pdecobj.pas
pdecsub.pas
pdecvar.pas
pexports.pas
pexpr.pas
pgenutil.pas
pinline.pas
pmodules.pas
pp.lpi
pp.pas
pparautl.pas
ppc68k.lpi
ppc8086.lpi * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 2013-05-24 17:16: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
ppx86_64.lpi
procinfo.pas
pstatmnt.pas
psub.pas
psystem.pas
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * more fixes for segment register usage 2013-05-24 19:02:09 +00:00
scandir.pas
scanner.pas
script.pas
switches.pas
symbase.pas
symconst.pas * tx86pointertyp moved from unit symdef to symconst, so it can be used by ppudump 2013-05-21 14:18:48 +00:00
symcreat.pas
symdef.pas * set tpointerdef.savesize correctly for far and huge pointers 2013-05-22 11:54:42 +00:00
symnot.pas
symsym.pas
symtable.pas Finally refactor "b_needs_init_final" flag to be a symtable flag which is written to/loaded from the PPU (as discussed in the thread "Status report for "class helpers"" in fpc-devel on 29th January 2011). 2013-05-17 12:15:13 +00:00
symtype.pas
symutil.pas
systems.inc
systems.pas
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