fpc/compiler
2013-05-31 17:13:38 +00:00
..
aarch64
alpha
arm + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
avr
generic
html
i386 * register id of (e)flags changed, so it doesn't overlap with dr0 2013-05-30 16:40:59 +00:00
i8086 * fixed an opsize bug in ti8086addnode.second_add64bit, which caused 32-bit instructions to be emitted 2013-05-31 17:13:38 +00:00
ia64
jvm
m68k
mips * MIPS: fixed passing CPU type specified with -CpXXX switch to assembler 2013-05-30 15:02:40 +00:00
msg
powerpc
powerpc64
ppcgen
sparc
systems try to do VLink support semi-properly, so cross compilation is possible 2013-05-31 13:04:44 +00:00
utils Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 2013-05-29 08:19:02 +00:00
vis
x86 + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
x86_64 * register id of (e)flags changed, so it doesn't overlap with dr0 2013-05-30 16:40:59 +00:00
aasmbase.pas * indention fixes 2013-05-03 20:41:55 +00:00
aasmdata.pas
aasmsym.pas
aasmtai.pas * detabbed 2013-05-04 19:39:12 +00:00
aggas.pas
agjasmin.pas * initialise dollarsign field of jasmin tasminfo 2012-10-21 17:56:16 +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
cfidwarf.pas
cfileutl.pas make a warning a note, so it compiles with -Sew 2013-05-30 19:04:14 +00:00
cg64f32.pas * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 2013-05-19 18:44:54 +00:00
cgbase.pas
cghlcpu.pas
cgobj.pas - don't allocate/deallocate the fpu registers in tcg.[de]allocallcpuregisters on the i8086 2013-05-15 08:24:07 +00:00
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 Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 2013-05-29 08:19:02 +00:00
defutil.pas + far pointer support in defutil.def_cgsize 2013-05-22 12:30:34 +00:00
elfbase.pas
export.pas
expunix.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc + the ES register made volatile on i8086 as per the 16-bit x86 calling conventions 2013-05-07 14:27:21 +00:00
fppu.pas
gendef.pas
globals.pas * MIPS: fixed passing CPU type specified with -CpXXX switch to assembler 2013-05-30 15:02:40 +00:00
globstat.pas
globtype.pas + far pointer support in tpointerconstnode 2013-05-24 12:41:53 +00:00
hlcg2ll.pas - removed no longer necessary thlcg2ll.initialize_regvars override and 2013-05-31 12:21:53 +00:00
hlcgobj.pas + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
htypechk.pas
impdef.pas
import.pas
ldscript.pas
link.pas
macho.pas
machoutils.pas
Makefile + enable jump optimizer for i8086 2013-05-01 13:54:13 +00:00
Makefile.fpc + enable jump optimizer for i8086 2013-05-01 13:54:13 +00:00
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 + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
ncgbas.pas
ncgcal.pas * fixed the calling of virtual methods on i8086 2013-05-30 16:23:29 +00:00
ncgcnv.pas + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
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 + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +00:00
ncgmat.pas
ncgmem.pas + added support for special versions of near data pointers associated with a x86 segment register. They are supported on all x86 platforms: i8086, i386 and x86_64 2013-05-05 17:22:37 +00:00
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 + support for LOC_(C)MMREGISTER in hlcg 2013-05-31 12:05:14 +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 * check range of enums and booleans in typed constant expressions when 2013-05-14 12:05:00 +00:00
ninl.pas * convert function like used new into a appropriate nodes only in pass_1 so proper error checking can be carried out, resolves #24495 2013-05-31 14:55:49 +00:00
nld.pas
nmat.pas
nmem.pas * formatting 2013-05-24 18:08:05 +00:00
nobj.pas * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 2013-04-19 13:31:27 +00:00
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 * only display and allow ABIs that are actually supported by the current 2013-05-08 14:30:38 +00:00
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 + preparations for returning int64 in ax:bx:cx:dx on i8086 2013-05-14 22:19:17 +00:00
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 + implemented Mem/MemW/MemL[] for i8086 2013-05-31 13:31:45 +00:00
pgenutil.pas Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 2013-05-29 08:19:02 +00:00
pinline.pas * convert function like used new into a appropriate nodes only in pass_1 so proper error checking can be carried out, resolves #24495 2013-05-31 14:55:49 +00:00
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 * project file updates 2012-09-08 21:58:45 +00:00
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas Addendum to 24628: forgot to increase PPU version 2013-05-30 12:21:03 +00:00
ppx86_64.lpi
procinfo.pas
pstatmnt.pas
psub.pas * don't omit stack frame generation when generating gprof information, as 2013-05-30 13:43:51 +00:00
psystem.pas + implemented Mem/MemW/MemL[] for i8086 2013-05-31 13:31:45 +00:00
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 2013-05-04 21:25:36 +00:00
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 Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 2013-05-29 08:19:02 +00:00
symcreat.pas
symdef.pas + implemented Mem/MemW/MemL[] for i8086 2013-05-31 13:31:45 +00:00
symnot.pas
symsym.pas Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs). 2013-05-29 08:19:02 +00:00
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 * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
systems.inc
systems.pas * only display and allow ABIs that are actually supported by the current 2013-05-08 14:30:38 +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