fpc/compiler
nickysn e6a8c058e0 * moved the handling of LIDATA OMF records (which currently only produces a
'LIDATA records are not supported' error) to TOmfObjInput.ReadLeOrLiDataAndFixups

git-svn-id: trunk@39171 -
2018-06-04 14:20:07 +00:00
..
aarch64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
arm * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
avr * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
generic
html
i386 * synchronize get_saved_registers_int and get_volatile_registers_int for all 2018-05-04 16:16:24 +00:00
i8086 Set return value when calling inherited in ti8086inlinenode.pass_typecheck_cpu 2018-05-23 20:43:40 +00:00
jvm * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
llvm * support pasbool8 as type for a record field when a record is passed/ 2018-04-28 16:17:37 +00:00
m68k * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
mips * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
msg * revert r39043 and r39045 which disallow static array constants inside dynamic constants for Delphi modes 2018-05-21 08:13:17 +00:00
powerpc * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
powerpc64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ppcgen * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
sparc
sparc64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
sparcgen * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
systems + generate script code for creating the dwarf exe sections when using the 2018-05-25 15:35:17 +00:00
utils * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
x86 + support ugly constructs like 'DD BYTE PTR 5' in the x86 intel syntax inline 2018-05-29 15:43:08 +00:00
x86_64 * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
aasmbase.pas
aasmcnst.pas Try to avoid inserting all RTTI symbols into executables on targets not supporting smartlinked sections 2018-05-25 20:44:24 +00:00
aasmdata.pas
aasmdef.pas
aasmsym.pas
aasmtai.pas + introduce asd_omf_linnum_line directives; they will be used for writing LINNUM 2018-05-16 17:05:02 +00:00
aggas.pas
aopt.pas
aoptbase.pas
aoptda.pas
aoptobj.pas + TAOptObj.*PeepHoleOpts* check if p is really assigned 2018-03-10 21:53:48 +00:00
aoptutils.pas
assemble.pas + implemented the actual writing of LINNUM OMF records 2018-05-16 17:37:28 +00:00
blockutl.pas
browcol.pas
catch.pas
ccharset.pas
cclasses.pas
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
cghlcpu.pas
cgobj.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
cgutils.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
cmsgs.pas
comphook.pas
compiler.pas * print used unit scopes 2018-05-07 19:48:26 +00:00
compinnr.pas
comprsrc.pas
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas
cscript.pas
cstreams.pas
cutils.pas
cwindirs.pp
dbgbase.pas
dbgcodeview.pas + added new debug output option -godwarfomflinnum for generating line number 2018-05-17 14:38:50 +00:00
dbgdwarf.pas * use DW_OP_reg0..DW_OP_reg31 instead of DW_OP_regx in TDebugInfoDwarf.append_seg_reg 2018-05-28 14:21:53 +00:00
dbgstabs.pas
dbgstabx.pas
defcmp.pas * support for non-ASCII widechar constants (mantis #31605) 2018-04-10 19:24:15 +00:00
defutil.pas + support mmx shifting 2018-02-27 21:40:12 +00:00
dirparse.pas
elfbase.pas
entfile.pas
export.pas
expunix.pas
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc + introduce asd_omf_linnum_line directives; they will be used for writing LINNUM 2018-05-16 17:05:02 +00:00
fpcp.pas
fpkg.pas
fppu.pas * keep track if the unit was found by using a default namespace as prefix 2018-05-05 17:18:39 +00:00
gendef.pas
globals.pas + enable by default the ds_dwarf_omf_linnum debug switch on i8086, since that's 2018-05-17 15:02:34 +00:00
globstat.pas
globtype.pas + added new debug output option -godwarfomflinnum for generating line number 2018-05-17 14:38:50 +00:00
hlcg2ll.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
hlcgobj.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
htypechk.pas * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
impdef.pas
import.pas
ldscript.pas
link.pas
macho.pas
machoutils.pas
Makefile * target classic MacOS builds again 2018-05-31 19:31:36 +00:00
Makefile.fpc * target classic MacOS builds again 2018-05-31 19:31:36 +00:00
MPWMake
msgidx.inc * regenerate msg* files after r39078 2018-05-21 08:14:21 +00:00
msgtxt.inc * regenerate msg* files after r39078 2018-05-21 08:14:21 +00:00
nadd.pas * optimize "dynarr := dynarr + [elem]" to "Insert(elem, dynarr, High(SizeInt))" and "dynarr := [elem] + dynarr" to "Insert(elem, dynarr, 0)" (we need to do this in the typecheck of taddnode as otherwise the array constructor is already converted) 2018-05-25 16:03:56 +00:00
nbas.pas * the temp. locations created by cse were not properly cleanup up, this patch fixes this 2018-03-25 15:55:34 +00:00
ncal.pas * fixed execution order of implicit finalization and class destructors: first 2018-04-08 15:41:00 +00:00
ncgadd.pas
ncgbas.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ncgcal.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
ncgcnv.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ncgcon.pas
ncgflw.pas * moved execution weight calculation into a separate pass, so the info is available already available before the code generation pass if needed 2018-04-08 20:51:27 +00:00
ncghlmat.pas
ncginl.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ncgld.pas * ensure that load nodes only substitute temps in case both references point 2018-04-27 19:18:59 +00:00
ncgmat.pas + support mmx shifting 2018-02-27 21:40:12 +00:00
ncgmem.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ncgnstfl.pas
ncgnstld.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
ncgnstmm.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
ncgobjc.pas
ncgopt.pas
ncgrtti.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
ncgset.pas * moved execution weight calculation into a separate pass, so the info is available already available before the code generation pass if needed 2018-04-08 20:51:27 +00:00
ncgutil.pas - removed the check for pocall_oldfpccall from ncgutil.gen_save_used_regs and 2018-05-06 12:41:40 +00:00
ncgvmt.pas * shorten interface wrapper names if needed, resolves #33069 2018-02-22 21:55:07 +00:00
ncnv.pas * discard type conversions from/to generic defs for llvm as well 2018-04-28 16:17:45 +00:00
ncon.pas * simplify empty-dynamic-string-to-pointer (non-p(wide)char) type conversions 2018-04-02 18:35:00 +00:00
nflw.pas + correctly set var state of addr and frame in raise statements, resolves #33818 2018-06-03 09:31:19 +00:00
ngenutil.pas * fixed execution order of implicit finalization and class destructors: first 2018-04-08 15:41:00 +00:00
ngtcon.pas * revert r39043 and r39045 which disallow static array constants inside dynamic constants for Delphi modes 2018-05-21 08:13:17 +00:00
ninl.pas * don't use a vecnode to convert a dynamic array or an array constructor to a pointer as that will lead to problems with range checking if the array should be empty; fixes run of tarray12 with -Cr 2018-02-27 21:43:21 +00:00
nld.pas * also check for nf_assign_done_in_right flag after typechecking the right side 2018-05-25 15:54:41 +00:00
nmat.pas * fix currency division on non x86 32 bit targets 2018-03-17 22:44:44 +00:00
nmem.pas * i8086 TP7 compatibility fixes, related to obtaining procedure addresses: 2018-04-05 15:09:12 +00:00
nobj.pas
nobjc.pas
node.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
nopt.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
nset.pas - the labtree argument is no longer needed 2018-04-27 21:09:09 +00:00
nutils.pas + calculate loop unrolling using node_count_weighted which takes care of nodes generating no code 2018-04-04 21:39:46 +00:00
objcasm.pas
objcdef.pas
objcgutl.pas
objcutil.pas
ogbase.pas * changed the TObjRelocation.DataOffset and orgsize types to TObjSectionOfs instead of aword 2018-05-22 13:17:35 +00:00
ogcoff.pas
ogelf.pas * elf section alignment, patch by Florian, mantis #32900 2018-02-16 18:01:29 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
ogomf.pas * moved the handling of LIDATA OMF records (which currently only produces a 2018-06-04 14:20:07 +00:00
omfbase.pas + support OMF fixups, determined by thread 2018-05-30 15:49:27 +00:00
optbase.pas * moved execution weight calculation into a separate pass, so the info is available already available before the code generation pass if needed 2018-04-08 20:51:27 +00:00
optconstprop.pas
optcse.pas * the temp. locations created by cse were not properly cleanup up, this patch fixes this 2018-03-25 15:55:34 +00:00
optdead.pas
optdeadstore.pas
optdfa.pas
options.pas * automatically switch to external linking (and show message) when requested to 2018-05-17 16:11:51 +00:00
optloadmodifystore.pas
optloop.pas * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
opttail.pas
optutils.pas * patch by Pierre to fix warnings which prevent cross building 2018-04-09 19:01:02 +00:00
optvirt.pas
owar.pas
owbase.pas
owomflib.pas
parabase.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
paramgr.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
parser.pas
pass_1.pas
pass_2.pas * moved execution weight calculation into a separate pass, so the info is available already available before the code generation pass if needed 2018-04-08 20:51:27 +00:00
pbase.pas * a symbol might be specified using a partial namespace path as long as the missing part is a namespace symbol, 2018-05-05 17:18:45 +00:00
pcp.pas
pdecl.pas
pdecobj.pas
pdecsub.pas * unified def creation for open arrays 2018-03-04 17:59:05 +00:00
pdecvar.pas * unified def creation for open arrays 2018-03-04 17:59:05 +00:00
pexports.pas
pexpr.pas * also pass the pattern with which the potential unit/namespace symbol had been found to try_consume_unitsym*() 2018-05-05 17:18:31 +00:00
pgentype.pas
pgenutil.pas
pinline.pas
pkgutil.pas
pmodules.pas * correctly update the (now unregistered) unit symbol if the unit was found with the help of a default namespace 2018-05-05 17:18:42 +00:00
pp.lpi
pp.pas
pparautl.pas + introduce a new method tparamanager.asm_result_var(), which determines whether 2018-02-15 17:41:07 +00:00
ppc68k.lpi
ppc8086.lpi
ppcaarch64.lpi
ppcarm.lpi * version update 2018-01-31 18:52:18 +00:00
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc64.lpi
ppcsparc.lpi
ppcx64.lpi
ppcx64llvm.lpi
ppheap.pas
ppu.pas * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
procinfo.pas
pstatmnt.pas * also pass the pattern with which the potential unit/namespace symbol had been found to try_consume_unitsym*() 2018-05-05 17:18:31 +00:00
psub.pas * moved execution weight calculation into a separate pass, so the info is available already available before the code generation pass if needed 2018-04-08 20:51:27 +00:00
psystem.pas * unified def creation for open arrays 2018-03-04 17:59:05 +00:00
ptconst.pas
ptype.pas * also pass the pattern with which the potential unit/namespace symbol had been found to try_consume_unitsym*() 2018-05-05 17:18:31 +00:00
raatt.pas * inserted type casts on opr.val again, but depending on the type of opr.val, avoids range check errors 2018-02-25 15:32:38 +00:00
rabase.pas
rasm.pas * forgotten comment 2018-02-06 21:38:51 +00:00
rautils.pas + add support for '[' and ']' parenthesis in addition to '(' and ')' in 2018-04-26 14:13:30 +00:00
README.txt
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas + support {$message info ...}, resolves #30654 2018-02-25 15:50:58 +00:00
scanner.pas + add support for Unicode code point constants > $FFFF; they are converted to a surrogate pair so they are in 2018-05-27 14:06:19 +00:00
switches.pas
symbase.pas
symconst.pas * unified the definition of pushleftright_pocalls on i8086 and i386 2018-05-08 14:27:36 +00:00
symcreat.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
symdef.pas * make procedures and functions, declared in the interface part of a unit in an 2018-04-10 15:37:28 +00:00
symsym.pas * do not unroll loops if the counter variable is accessed outside the current scope 2018-06-03 15:12:48 +00:00
symtable.pas * fixed execution order of implicit finalization and class destructors: first 2018-04-08 15:41:00 +00:00
symtype.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
symutil.pas
syscinfo.pas
systems.inc + started implementing support for generating Microsoft CodeView debug 2018-05-16 15:25:33 +00:00
systems.pas arm-netbsd: added platform define and dummy rtl files so the build passes for this platform. port not functional yet 2018-03-05 15:38:46 +00:00
tgobj.pas Add some more debug information to temp-generation when compiled with -dEXTDEBUG 2018-05-28 22:39:21 +00:00
tokens.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
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