fpc/compiler
nickysn c4dd85a0eb + implemented tcg8086.a_op_reg_ref
git-svn-id: trunk@24474 -
2013-05-08 11:49:39 +00:00
..
aarch64
alpha
arm * arm thumb: do not generate illegal ror instructions 2013-05-04 22:00:17 +00:00
avr
generic
html
i386 + 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
i8086 + implemented tcg8086.a_op_reg_ref 2013-05-08 11:49:39 +00:00
ia64
jvm
m68k
mips * MIPS: rewrote 32-bit code generation methods, reducing code duplication. 2013-05-05 05:55:03 +00:00
msg
powerpc
powerpc64
ppcgen
sparc
systems * only pass --gc-sections to the linker if smart linking is enabled 2013-05-07 20:28:54 +00:00
utils compiler: remove dummy ado_none from tarraydefoption. It is probably a leftover from time when tarraydefoptions was not present, comment options 2013-05-07 06:51:32 +00:00
vis
x86 + the ES register made volatile on i8086 as per the 16-bit x86 calling conventions 2013-05-07 14:27:21 +00:00
x86_64 * Win64 SEH: Fixed handling control flow statements also in 'except' and 'on' parts of try..except statements. 2013-05-01 01:47:01 +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
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
cghlcpu.pas
cgobj.pas
cgutils.pas * tlocation.value reverted back to longint on non 64-bit archs. This fixes the tset5.pp and tset5a.pp regressions on powerpc and probably other 32-bit platforms. 2013-04-28 17:52:06 +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 + 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
defutil.pas
elfbase.pas
export.pas
expunix.pas
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
globstat.pas
globtype.pas
hlcg2ll.pas
hlcgobj.pas + generate thumb_func directives for thumb as well 2013-04-29 18:23:01 +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
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncginl.pas
ncgld.pas
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 compiler: 2013-05-08 05:47:48 +00:00
ncgset.pas
ncgutil.pas + generate thumb_func directives for thumb as well 2013-04-29 18:23:01 +00:00
ncgvmt.pas
ncnv.pas
ncon.pas
nflw.pas * fix parameter order for compilerproc created by raise nodes 2013-04-28 16:34:28 +00:00
ngenutil.pas
ngtcon.pas
ninl.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
nld.pas
nmat.pas
nmem.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
nobj.pas
nobjc.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas + calculate node complexity for addrnodes and labelnodes 2013-04-28 16:36:10 +00:00
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
ogcoff.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
ogelf.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 2013-04-28 20:29:49 +00:00
optbase.pas
optcse.pas
optdead.pas
optdfa.pas
options.pas
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 + 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
pdecobj.pas
pdecsub.pas
pdecvar.pas
pexports.pas
pexpr.pas
pgenutil.pas
pinline.pas
pmodules.pas + introduce tf_no_objectfiles_when_smartlinking so object file generation on i8086-msdos can be turned off 2013-04-30 19:11:55 +00:00
pp.lpi
pp.pas
pparautl.pas
ppc68k.lpi
ppc8086.lpi + enable jump optimizer for i8086 2013-05-01 13:54:13 +00:00
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi * jvm lazarus project file properly named 2013-04-28 08:39:20 +00:00
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas
ppx86_64.lpi
procinfo.pas
pstatmnt.pas
psub.pas * typo fixed 2013-05-04 19:37:34 +00:00
psystem.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
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
scandir.pas
scanner.pas
script.pas
switches.pas
symbase.pas
symconst.pas compiler: remove dummy ado_none from tarraydefoption. It is probably a leftover from time when tarraydefoptions was not present, comment options 2013-05-07 06:51:32 +00:00
symcreat.pas
symdef.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
symnot.pas
symsym.pas
symtable.pas
symtype.pas
symutil.pas
systems.inc
systems.pas + introduce tf_no_objectfiles_when_smartlinking so object file generation on i8086-msdos can be turned off 2013-04-30 19:11:55 +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