fpc/compiler
Jonas Maebe d23c7980aa * properly perform (or not) range/overflow checking when performing constant
propagation into inlined routines, regardless of the range/overflow
    checking state at the caller site

git-svn-id: trunk@43436 -
2019-11-10 12:00:05 +00:00
..
aarch64
arm
armgen
avr * avr: apply LdiOp2Opi optimization also to and and sub 2019-11-01 18:39:18 +00:00
generic
html
i386 * more aggressive LeaCallLeaRet2Jmp 2019-11-02 22:37:31 +00:00
i8086
jvm
llvm
m68k Avoid warnings for m68k compiler 2019-11-05 10:00:48 +00:00
mips * read more types of references properly 2019-11-09 21:58:31 +00:00
msg
powerpc
powerpc64
ppcgen
riscv
riscv32
riscv64
sparc
sparc64
sparcgen
systems * update generic linker script 2019-11-09 16:58:58 +00:00
utils * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
x86 * do not allocate an extra register for some integer operations if not needed 2019-11-07 21:08:08 +00:00
x86_64 * more aggressive LeaCallLeaRet2Jmp 2019-11-02 22:37:31 +00:00
aasmbase.pas
aasmcfi.pas
aasmcnst.pas
aasmdata.pas
aasmdef.pas
aasmsym.pas
aasmtai.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
aggas.pas * do not write section flags/progbits for .data, .rodata .data.norel as the compiler will ignore them anyways and warn about it 2019-11-09 18:28:30 +00:00
aopt.pas
aoptbase.pas * optimize TAOptBase.SuperRegistersEqual 2019-10-30 20:07:27 +00:00
aoptda.pas
aoptobj.pas
aoptutils.pas
assemble.pas
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas
cgexcept.pas
cghlcpu.pas
cgobj.pas * removed accidently committed debug statement 2019-11-07 21:12:47 +00:00
cgutils.pas
cmsgs.pas
comphook.pas
compiler.pas
compinnr.pas + add support for the IsManagedType() intrinsics which reports for a type (or variable) whether it needs initialization/finalization 2019-11-06 23:04:52 +00:00
comprsrc.pas
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas
cscript.pas
cstreams.pas
cutils.pas
cwindirs.pp
dbgbase.pas
dbgcodeview.pas
dbgdwarf.pas
dbgstabs.pas
dbgstabx.pas
defcmp.pas
defutil.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
dirparse.pas
dwarfbase.pas
elfbase.pas
entfile.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
fpcp.pas
fpkg.pas
fppu.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
gendef.pas
globals.pas
globstat.pas
globtype.pas
hlcg2ll.pas
hlcgobj.pas
htypechk.pas
impdef.pas
import.pas
ldscript.pas
link.pas
macho.pas
machoutils.pas
Makefile Remove ALLOW_WARNINGS=1 for m68k compiler 2019-11-05 10:37:19 +00:00
Makefile.fpc Remove ALLOW_WARNINGS=1 for m68k compiler 2019-11-05 10:37:19 +00:00
MPWMake
msgidx.inc
msgtxt.inc
nadd.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
nbas.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
ncal.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas * patch by Christo Crause: reg. allocation information if non-volatile registers 2019-11-04 20:14:46 +00:00
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncghlmat.pas
ncginl.pas
ncgld.pas
ncgmat.pas
ncgmem.pas
ncgnstfl.pas
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas
ncgutil.pas
ncgvmt.pas
ncnv.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
ncon.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
nflw.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
ngenutil.pas
ngtcon.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
ninl.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
nld.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
nmat.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
nmem.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
nobj.pas
nobjc.pas
node.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
nopt.pas
nset.pas
nutils.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
objcasm.pas
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas * fixed default value for progbits 2019-11-09 18:32:36 +00:00
ogcoff.pas
ogelf.pas
oglx.pas
ogmacho.pas
ogmap.pas + add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed 2019-11-02 12:36:26 +00:00
ognlm.pas
ogomf.pas
omfbase.pas
optbase.pas
optconstprop.pas
optcse.pas
optdead.pas
optdeadstore.pas
optdfa.pas
options.pas Avoid warnings for m68k compiler 2019-11-05 10:00:48 +00:00
optloadmodifystore.pas
optloop.pas
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
owomflib.pas
parabase.pas
paramgr.pas
parser.pas
pass_1.pas
pass_2.pas
pbase.pas
pcp.pas
pdecl.pas
pdecobj.pas
pdecsub.pas
pdecvar.pas
pexports.pas
pexpr.pas + add support for the IsManagedType() intrinsics which reports for a type (or variable) whether it needs initialization/finalization 2019-11-06 23:04:52 +00:00
pgentype.pas
pgenutil.pas
pinline.pas
pkgutil.pas
pmodules.pas
pp.lpi
pp.pas
pparautl.pas
ppc68k.lpi
ppc8086.lpi
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcriscv32.lpi
ppcriscv64.lpi
ppcsparc64.lpi
ppcsparc.lpi
ppcx64.lpi
ppcx64llvm.lpi
ppheap.pas
ppu.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
procdefutil.pas
procinfo.pas
psabiehpi.pas
pstatmnt.pas * properly perform (or not) range/overflow checking when performing constant 2019-11-10 12:00:05 +00:00
psub.pas
psystem.pas + add support for the IsManagedType() intrinsics which reports for a type (or variable) whether it needs initialization/finalization 2019-11-06 23:04:52 +00:00
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
rescmn.pas
rgbase.pas
rgobj.pas * do not join register deallocations/allocations as it makes no use and causes later on trouble in 2019-11-03 17:13:59 +00:00
scandir.pas
scanner.pas
switches.pas
symbase.pas
symconst.pas
symcreat.pas
symdef.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
symsym.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
symtable.pas * replaced tentryfile.get/putsmall/normalset() with a common tget/putset 2019-11-06 21:50:19 +00:00
symtype.pas
symutil.pas
syscinfo.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