fpc/compiler
2014-06-08 14:01:41 +00:00
..
aarch64
alpha
arm arm: an attempt to improve the a_op_const_ref patch in r27881 2014-06-06 20:48:31 +00:00
avr
generic
html
i386 * Using x86-specific capability of shifting with carry flag helps to reduce amount of instructions. 2014-06-08 14:01:41 +00:00
i8086 * ti8086nodeutils.InsertMemorySizes: stack segment creation moved to a separate 2014-06-04 13:44:10 +00:00
ia64
jvm * insert JVM checkcast instructions when a voidpointer is implicitly 2014-05-10 12:47:34 +00:00
m68k m68k: more minor reference usage tweaking, hopefully fixes Mantis 26286 2014-06-06 16:41:40 +00:00
mips * MIPS: re-enable peephole optimizations which got disabled by r27106 and were not restored in r27147. Unfortunately such things are hard to detect reliably in automated way. 2014-06-04 22:34:46 +00:00
msg * Updated header: this file is in cp866 encoding. 2014-05-27 22:45:04 +00:00
powerpc + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
powerpc64 * Moved procedures calculating "magic" numbers for division by constants from powerpc64/cgcpu.pas to cgutils.pas, so they can be reused for all targets. 2014-06-07 00:00:53 +00:00
ppcgen
sparc
systems * changed the default stack size in the i8086 far data memory models to 16 KB 2014-06-01 14:38:54 +00:00
utils
vis
x86 * tcgx86.a_op_const_reg_reg: optimize trivial cases before considering more complex ones. 2014-06-08 00:08:56 +00:00
x86_64 * optimize vmovaps/vmovapd after avx instructions 2014-05-01 19:20:35 +00:00
aasmbase.pas + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
aasmdata.pas
aasmsym.pas
aasmtai.pas
aggas.pas + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
agjasmin.pas
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * when updating registers in RegUsedAfterInstruction, new reg. allocs should be ignored 2014-05-01 19:20:32 +00:00
asmutils.pas
assemble.pas assemble: don't include exec directly, but use GetProcessID to generate the unique file ID, because that maps to exec/FindTask on Amiga anyway 2014-05-04 23:16:52 +00:00
browcol.pas
bsdcompile
catch.pas
ccharset.pas
cclasses.pas
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas
cghlcpu.pas
cgobj.pas - rm the cpu16bitalu and cpu64bitalu ifdefs from tcg.a_load_ref_cgpara as well 2014-04-26 14:33:46 +00:00
cgutils.pas * Moved procedures calculating "magic" numbers for division by constants from powerpc64/cgcpu.pas to cgutils.pas, so they can be reused for all targets. 2014-06-07 00:00:53 +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 Try to avoid problems with generic types for stabs/stabx 2014-04-22 21:28:45 +00:00
dbgdwarf.pas
dbgstabs.pas Do not consider ansi/wide/unicode strings as taggable for stabs 2014-04-22 22:32:14 +00:00
dbgstabx.pas Do not consider ansi/wide/unicode strings as taggable for stabs 2014-04-22 22:32:14 +00:00
defcmp.pas Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
defutil.pas
dirparse.pas
elfbase.pas
export.pas
expunix.pas
finput.pas * don't hard-code size of linebuf entries 2014-05-15 09:08:05 +00:00
fmodule.pas * Moved method check_hints from tmodule to tused_unit and modified it so warning messages are output with position info from associated unitsym. Resolves #25057. 2014-05-15 21:16:36 +00:00
fpccrc.pas
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas
globstat.pas
globtype.pas
hlcg2ll.pas * 16/8-bit alu fix in thlcg2ll.location_force_reg for the 32->64 conversion of LOC_CONSTANT sources 2014-04-25 13:20:18 +00:00
hlcgobj.pas - rm the ifdef cpu16bitalu and cpu64bitalu from thlcgobj.a_load_ref_cgpara, 2014-04-26 13:46:36 +00:00
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 + added support for nested procvars in the i8086 far data memory models 2014-05-22 23:44:09 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
ncgcnv.pas * fixed the global function to nested procvar conversion in the i8086 far data 2014-05-23 20:59:07 +00:00
ncgcon.pas
ncgflw.pas
ncginl.pas * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models 2014-04-27 02:26:35 +00:00
ncgld.pas * fixed the passing of array of const parameters in i8086 far data memory models 2014-05-01 12:46:29 +00:00
ncgmat.pas * 16/8-bit alu fix in tcgunaryminusnode.emit_float_sign_change 2014-04-26 18:58:22 +00:00
ncgmem.pas * do not crash with an internal error if an indexed access is done on a constant pointer node 2014-05-14 17:35:09 +00:00
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas * Write RTTI for function arguments as children of function RTTI, resolves #24540,#25002,#25128 (bugs are basically duplicate, so adding only first of them to the testsuite). 2014-05-16 20:09:32 +00:00
ncgset.pas + 8-bit ALU support in tcgcasenode.genlinearcmplist 2014-04-26 12:41:58 +00:00
ncgutil.pas
ncgvmt.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
ncnv.pas * fixup for r27725: limit change to subn 2014-05-04 11:40:32 +00:00
ncon.pas
nflw.pas + support for simplifying empty try-except statements 2014-05-10 12:47:28 +00:00
ngenutil.pas Fix for Mantis #26271: Don't trash local variables that are used for the Default() intrinsic. 2014-06-06 13:59:52 +00:00
ngtcon.pas
ninl.pas Fix for Mantis #26180. Accept undefineddef as first parameter type of an Assert if it is used inside a generic. 2014-06-06 14:39:27 +00:00
nld.pas
nmat.pas + Implemented target-independent optimization of signed "mod 2**N" as 2014-06-07 22:19:10 +00:00
nmem.pas * taddrnode: fixed getting the address of nested procs in tp mode in i8086 far 2014-05-23 22:38:07 +00:00
nobj.pas * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far 2014-05-03 17:05:50 +00:00
nobjc.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas * better complexity estimation for some inline nodes 2014-04-27 14:28:01 +00:00
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
ogcoff.pas + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
ogelf.pas + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
optbase.pas
optconstprop.pas
optcse.pas + apply cse to more inline nodes 2014-04-27 14:28:17 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas
options.pas * Enabled internal handling of Abs(longint) for all targets. It has been implemented in cross-platform way ages ago (see tcginlinenode.second_abs_long), but not enabled on MIPS,SPARC and m68k. 2014-06-05 10:35:51 +00:00
optloop.pas
opttail.pas
optutils.pas
optvirt.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
owar.pas
owbase.pas
parabase.pas
paramgr.pas - rm bogus ifdef cpu16bitalu from tparamanager.allocparaloc and .freecgpara 2014-04-26 13:37:53 +00:00
parser.pas * changed the default stack size in the i8086 far data memory models to 16 KB 2014-06-01 14:38:54 +00:00
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas Contrary to popular believe the VMT for a generic needs to be at least generated so that check for inherited methods can be done correctly. This does however not mean that the VMT is written to the object file which is handled at a completely different place. Fixes Mantis #26193. 2014-06-06 13:05:39 +00:00
pdecobj.pas Fix for Mantis #26123. 2014-06-06 15:19:45 +00:00
pdecsub.pas Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
pdecvar.pas Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
pexports.pas
pexpr.pas
pgenutil.pas Fix for Mantis #26176. Don't handle "type helper" as unique. 2014-06-06 13:26:21 +00:00
pinline.pas
pmodules.pas * Moved method check_hints from tmodule to tused_unit and modified it so warning messages are output with position info from associated unitsym. Resolves #25057. 2014-05-15 21:16:36 +00:00
pp.lpi
pp.pas
pparautl.pas
ppc68k.lpi
ppc8086.lpi + generate the stack segment for i8086 far data memory models from within fpc 2014-05-27 23:29:50 +00:00
ppcaarch64.lpi
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
ppx86_64.lpi
procinfo.pas
pstatmnt.pas * allow the "then" part of an if-statement to be terminated by any endtoken, 2014-04-30 19:25:06 +00:00
psub.pas * only check for _PROPERTY as a regular token, so that 2014-05-10 16:03:02 +00:00
psystem.pas * removed JVM-specific creation of methodpointertype and 2014-06-01 14:13:36 +00:00
ptconst.pas
ptype.pas Fix for Mantis #26288. Types declared inside a generic must have the df_generic flag set. Period. 2014-06-06 14:22:17 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas
scanner.pas * do not crash with an ie on illegal boolean expressions in conditional compilation directives, resolves #25951 2014-04-27 15:50:37 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas
symcreat.pas
symdef.pas Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
symnot.pas
symsym.pas Read the deref of the fieldvarsym into the correct variable. I wonder how this ever went past the test suite O.o 2014-05-29 16:24:47 +00:00
symtable.pas
symtype.pas
symutil.pas
systems.inc
systems.pas
tgobj.pas
tokens.pas
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
wpoinfo.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00

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