fpc/compiler
2015-02-09 22:52:06 +00:00
..
aarch64 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
alpha - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
arm + Missing part of internal ARM assembler, Mantis #26588. I'm not setting it as default for arm-wince yet, because testing reveals several points in generic code that need adjustments. 2015-01-30 22:45:05 +00:00
avr - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
generic - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
html
i386 * EMX should be treated the same way as OS/2 with regard to cdecl (the same C compiler is used) 2015-02-09 22:52:06 +00:00
i8086 * modified patch of Paul W to replace leave by mov/pop, resolves #26455 2015-02-05 20:51:12 +00:00
ia64 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
jvm - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
m68k m68k: implemented some missing bits of FPU cgpara handling, functions with float arguments seem to work much better now 2015-02-08 10:26:47 +00:00
mips - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
msg * update of german message files by Karl-Michael Schindler, resolves #27342 2015-02-01 16:24:23 +00:00
powerpc - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
powerpc64 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ppcgen - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
sparc - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
systems Remove complicated code to try to support older GNU linker versions, before 2.21 2015-02-08 07:28:49 +00:00
utils - disable inlining of routines that contain a call to a C-style varargs 2015-01-30 19:31:22 +00:00
vis - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
x86 + support section smartlinking with nasm 2015-02-08 12:33:50 +00:00
x86_64 * modified patch of Paul W to replace leave by mov/pop, resolves #26455 2015-02-05 20:51:12 +00:00
aasmbase.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
aasmdata.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
aasmsym.pas
aasmtai.pas m68k: basic 68881 FPU register save/restore support. probably still needs some work here and there. 2015-02-07 22:13:07 +00:00
aggas.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
agjasmin.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
asmutils.pas
assemble.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
blockutl.pas + support for calling a method via a block: we capture the method as a 2014-07-18 09:15:35 +00:00
browcol.pas
bsdcompile
catch.pas
ccharset.pas
cclasses.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
cfidwarf.pas
cfileutl.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
cg64f32.pas
cgbase.pas + added tcgsize2str function 2014-04-03 16:50:50 +00:00
cghlcpu.pas
cgobj.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
cgutils.pas * calc_divconst_magic_unsigned: explicitly limit the shift amount to number of bits of target platform. This happens implicitly only on x86, on other 32-bit targets shifting by more than 31 bits calculates as zero. 2014-06-16 17:05:01 +00:00
cmsgs.pas
comphook.pas
compiler.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
compinnr.inc - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
comprsrc.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas
cstreams.pas
cutils.pas
cwindirs.pp
dbgbase.pas * don't generate debug info for class fields in generic types 2014-06-10 19:05:10 +00:00
dbgdwarf.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
dbgstabs.pas - reverted partial commit of merge 2015-01-21 23:24:37 +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 + support for calling a method via a block: we capture the method as a 2014-07-18 09:15:35 +00:00
defutil.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
dirparse.pas
elfbase.pas
export.pas
expunix.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
finput.pas * don't hard-code size of linebuf entries 2014-05-15 09:08:05 +00:00
fmodule.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
fpccrc.pas
fpcdefs.inc * m68k: Transform 32-bit div/mod nodes into helper calls during pass 1. This is consistent with the way other targets do it, and results in pretty much nicer code. 2014-06-28 13:28:01 +00:00
fppu.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
gendef.pas
globals.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
globstat.pas
globtype.pas + optimization setting level4 2015-02-08 11:24:30 +00:00
hlcg2ll.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
hlcgobj.pas * don't directly add something to ref.index in get_bit_reg_ref_sref, as it 2015-01-30 19:31:18 +00:00
htypechk.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
impdef.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
import.pas
ldscript.pas
link.pas
macho.pas
machoutils.pas
Makefile - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
Makefile.fpc - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
MPWMake
msgidx.inc * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
msgtxt.inc * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
nadd.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
nbas.pas * remove statements with only a nothing node when they are the only children of a block 2015-02-04 21:19:40 +00:00
ncal.pas * clean usercode_entry flag from outer block when copying a subroutine node tree for inlining, enables sometimes better inlining 2015-02-04 21:18:04 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
ncgcnv.pas * give an internal error in second_int_to_bool() if left.expectloc was not 2015-01-30 19:31:31 +00:00
ncgcon.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ncgflw.pas * handle the result of FPC_CATCHES via the high level code generator (which makes it i8086 far pointer safe) 2014-04-02 14:25:19 +00:00
ncginl.pas * fixed length(ansistring/widestring/dynarray) in i8086 far data memory models 2014-04-27 02:26:35 +00:00
ncgld.pas Fix for Mantis #26177. Use the correct value for the method data when using a method pointer of a type or record helper. 2014-07-05 08:54:10 +00:00
ncgmat.pas * fixed tcgshlshrnode.pass_generate_code for 64 bit targets 2015-01-30 19:31:15 +00:00
ncgmem.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ncgset.pas + 8-bit ALU support in tcgcasenode.genlinearcmplist 2014-04-26 12:41:58 +00:00
ncgutil.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ncgvmt.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
ncnv.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
ncon.pas
nflw.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ngenutil.pas * align compiler generated constants according to constant aligment settings 2015-02-08 11:23:01 +00:00
ngtcon.pas * read array initializations in generic subroutines without fixed limits, resolves #25602 2015-02-01 17:09:00 +00:00
ninl.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
nld.pas
nmat.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
nmem.pas - reverted partial commit of merge 2015-01-21 23:24:37 +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 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
objcdef.pas + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 2014-07-18 09:15:22 +00:00
objcgutl.pas
objcutil.pas + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 2014-07-18 09:15:22 +00:00
ogbase.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ogcoff.pas + Missing part of internal ARM assembler, Mantis #26588. I'm not setting it as default for arm-wince yet, because testing reveals several points in generic code that need adjustments. 2015-01-30 22:45:05 +00:00
ogelf.pas + ELF linker: support writing DT_PREINIT_ARRAY/DT_INIT_ARRAY/DT_FINI_ARRAY dynamic tags. Still misses a lot of sanity checks, and does not sort entries. 2015-01-26 20:34:16 +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 * eliminate classes unit from the compiler by copying an array of string based 2014-03-30 12:03:10 +00:00
optdeadstore.pas
optdfa.pas * handle raise nodes in dfa on jvm, resolves #27416 2015-02-07 18:11:02 +00:00
options.pas * really set alignment as intended when -Os is passed 2015-02-08 11:22:17 +00:00
optloop.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
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 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
parser.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pass_1.pas
pass_2.pas
pbase.pas Fix for Mantis #26278. 2014-06-13 21:36:55 +00:00
pdecl.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
pdecobj.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pdecsub.pas * better error message if a procedure declaration is closed by a colon, resolves #27388 2015-02-01 15:27:20 +00:00
pdecvar.pas * check for read/write after a newly declared property (mantis #26011) 2014-06-15 10:59:47 +00:00
pexports.pas
pexpr.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pgenutil.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pinline.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pmodules.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
pp.lpi + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 2014-07-18 09:15:22 +00:00
pp.pas
pparautl.pas + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 2014-07-18 09:15:22 +00:00
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 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ppx86_64.lpi
procinfo.pas * Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do). 2014-04-02 13:14:06 +00:00
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 * do not warn about internally generated parameters, resolves #25914 2015-02-06 20:44:24 +00:00
psystem.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ptconst.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
ptype.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
raatt.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
rabase.pas
rasm.pas * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 2014-04-05 09:43:13 +00:00
rautils.pas m68k: basic 68881 FPU register save/restore support. probably still needs some work here and there. 2015-02-07 22:13:07 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
scandir.pas + added error message in case the HUGEPOINTERNORMALIZATION directive is used 2014-07-04 17:16:58 +00:00
scanner.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
script.pas
switches.pas + added the $F switch to the turbo and macSwitchTable, as that takes precedence 2014-04-13 15:14:43 +00:00
symbase.pas
symconst.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
symcreat.pas + support for calling a method via a block: we capture the method as a 2014-07-18 09:15:35 +00:00
symdef.pas Fix for Mantis #27348. Applied patch by Do-wan Kim plus comments for the reason. 2015-01-30 13:49:25 +00:00
symnot.pas
symsym.pas * limit initialization to register variables which really need to be initialized 2015-01-27 21:51:29 +00:00
symtable.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
symtype.pas * support for raising the visibility of inherited properties on the JVM 2014-06-12 11:08:44 +00:00
symutil.pas
systems.inc - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
systems.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
tgobj.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
tokens.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
verbose.pas
version.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
widestr.pas
wpo.pas
wpobase.pas * changed tcallnode.fforcedprocname from shortstring into tsymstr, 2014-05-10 12:47:25 +00:00
wpoinfo.pas * call "message" rather than "cgmessage" when throwing fatal errors, because 2014-07-18 09:09:21 +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