fpc/compiler
marco fdb477df1e # revisions: 43566,43567,43568,43586,43629,43823
git-svn-id: branches/fixes_3_2@43941 -
2020-01-14 10:41:39 +00:00
..
aarch64 --- Merging r42809 into '.': 2019-11-09 13:28:55 +00:00
arm Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
avr Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
generic Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
html
i386 --- Merging r43650 into '.': 2019-12-14 16:20:28 +00:00
i8086 * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
jvm --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
llvm * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
m68k Merge commit r43165 2019-11-20 09:49:22 +00:00
mips Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
msg --- Merging r40654 into '.': 2019-11-07 10:04:13 +00:00
powerpc Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
powerpc64 Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
ppcgen # revisions: 39998, requested by Pierre. 2019-05-06 09:41:54 +00:00
sparc Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
sparc64 Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
sparcgen * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
systems -- Zusammenführen von r43696 in ».«: 2019-12-22 21:02:15 +00:00
utils * Merging revisions 43481 from trunk: 2019-12-06 10:55:45 +00:00
x86 -- Aufzeichnung der Informationen für Zusammenführung von r43503 in ».«: 2019-11-17 20:16:02 +00:00
x86_64 Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
aasmbase.pas + support exporting labels from asm blocks in intel syntax asm blocks via the 2017-10-30 16:44:13 +00:00
aasmcnst.pas The Important Ones: 2018-09-26 12:50:46 +00:00
aasmdata.pas The Important Ones: 2018-09-26 12:50:46 +00:00
aasmdef.pas
aasmsym.pas
aasmtai.pas # revisions: 39998, requested by Pierre. 2019-05-06 09:41:54 +00:00
aggas.pas # revisions: 39998, requested by Pierre. 2019-05-06 09:41:54 +00:00
aopt.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptbase.pas + define cpudelayslot: set during compiler compilation for CPUs having branch instructions with delay slot (MIPS, SPARC) 2017-08-20 17:20:38 +00:00
aoptda.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptobj.pas Marge of more trunk fixes into fixes branch. 2018-12-23 22:27:05 +00:00
aoptutils.pas * unified usage of MatchOpType 2017-05-07 16:18:33 +00:00
assemble.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
blockutl.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
browcol.pas
catch.pas
ccharset.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
cclasses.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
cfidwarf.pas
cfileutl.pas --- Merging r43279 into '.': 2019-11-09 10:59:39 +00:00
cg64f32.pas
cgbase.pas -- Zusammenführen von r42272 in ».«: 2019-11-02 18:07:58 +00:00
cghlcpu.pas
cgobj.pas --- Merging r41243 into '.': 2019-04-27 19:21:30 +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 + implemented support for codepage aware compiler messages. It can be enabled 2017-06-08 16:11:33 +00:00
comphook.pas
compiler.pas * print used unit scopes 2018-05-07 19:48:26 +00:00
compinnr.pas + inline support for the x86 'in' and 'out' instructions. Currently only enabled 2018-07-03 17:01:42 +00:00
comprsrc.pas renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin 2017-11-17 11:27:19 +00:00
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas * removed unused units 2017-05-09 19:53:14 +00:00
cscript.pas * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc 2018-01-06 10:17:18 +00:00
cstreams.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
cutils.pas * avoid overflows of execution weight 2018-08-16 20:45:36 +00:00
cwindirs.pp
dbgbase.pas * revert r37968: it does more harm than good 2018-01-15 16:41:22 +00:00
dbgcodeview.pas + added new debug output option -godwarfomflinnum for generating line number 2018-05-17 14:38:50 +00:00
dbgdwarf.pas # revisions: 42037,42038,42039,42087 2019-05-18 22:59:31 +00:00
dbgstabs.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
dbgstabx.pas
defcmp.pas # revisions: 41843,41844,42700 2019-11-05 15:35:13 +00:00
defutil.pas --- Merging r43347 into '.': 2019-11-16 15:18:43 +00:00
dirparse.pas
elfbase.pas * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 2018-06-14 13:01:08 +00:00
entfile.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
export.pas * removed unused units 2017-05-09 19:53:14 +00:00
expunix.pas * removed unused units 2017-05-09 19:53:14 +00:00
finput.pas
fmodule.pas * removed unused units 2017-05-09 19:53:14 +00:00
fpccrc.pas
fpcdefs.inc ------------------------------------------------------------------------ 2019-02-05 07:43:20 +00:00
fpcp.pas * removed unused units 2017-05-09 19:53:14 +00:00
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 Add obsolete prefix to cpu_ia64, system_ia64_win64 and system_ia64_embedded, ia64 specfic code has been removed in rev 30836 dated 2015-05-09 2017-08-04 08:54:34 +00:00
globals.pas # revisions: 41710,41711,41733,41734,41735,41736,41737,41738,41739,41740,41741,41743,41744,41745,41746,41750,41751,41752,41753,41754,41755,41757,41758,41759 2019-05-04 21:45:55 +00:00
globstat.pas # revisions: 40702,40703,40704,40747,40750,40765,41277,41535,41536,41537,41548,41549,41770 2019-11-05 16:08:58 +00:00
globtype.pas Merge of commits 39916, 39925 and 39963 2019-01-10 12:22:58 +00:00
hlcg2ll.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
hlcgobj.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
htypechk.pas --- Merging r40654 into '.': 2019-11-07 10:04:13 +00:00
impdef.pas
import.pas * removed unused units 2017-05-09 19:53:14 +00:00
ldscript.pas
link.pas * merged the OpenBSD 6.5 fixes 2019-06-11 19:18:28 +00:00
macho.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
machoutils.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
Makefile Update all Makefile's to enable x86_64-haiku target 2019-05-28 22:07:11 +00:00
Makefile.fpc Merge of revisions 40277 2018-12-31 15:48:08 +00:00
MPWMake
msgidx.inc --- Merging r40654 into '.': 2019-11-07 10:04:13 +00:00
msgtxt.inc --- Merging r40654 into '.': 2019-11-07 10:04:13 +00:00
nadd.pas Merge of commits 43634 and 43635 for currency problems 2019-12-06 16:20:37 +00:00
nbas.pas --- Merging r39785 into '.': 2018-09-27 13:01:08 +00:00
ncal.pas -- Zusammenführen von r43553 in ».«: 2019-12-01 20:39:37 +00:00
ncgadd.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgbas.pas * keep track of the temp position separately from the offset in references, 2018-04-22 17:03:16 +00:00
ncgcal.pas --- Merging r43650 into '.': 2019-12-14 16:20:28 +00:00
ncgcnv.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ncgcon.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgflw.pas Merge of commits 40142, 40189 and 40347 2018-12-31 16:15:55 +00:00
ncghlmat.pas
ncginl.pas ncginl: another approach to fix the same issue #39184 supposed to address. keep left.resultdef, but try to make the target def always ordinal of an equal size, so it ends up in a data register on m68k 2018-06-07 06:43:02 +00:00
ncgld.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ncgmat.pas + support mmx shifting 2018-02-27 21:40:12 +00:00
ncgmem.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ncgnstfl.pas
ncgnstld.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ncgnstmm.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ncgobjc.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgopt.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgrtti.pas # revisions: 40702,40703,40704,40747,40750,40765,41277,41535,41536,41537,41548,41549,41770 2019-11-05 16:08:58 +00:00
ncgset.pas Merge of revisions 40277 2018-12-31 15:48:08 +00:00
ncgutil.pas --- Merging r43650 into '.': 2019-12-14 16:20:28 +00:00
ncgvmt.pas The Important Ones: 2018-09-26 12:50:46 +00:00
ncnv.pas -- Zusammenführen von r43620 in ».«: 2019-12-01 20:29:52 +00:00
ncon.pas -- Zusammenführen von r43620 in ».«: 2019-12-01 20:29:52 +00:00
nflw.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ngenutil.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
ngtcon.pas --- Merging r43347 into '.': 2019-11-16 15:18:43 +00:00
ninl.pas Merge commit r42337, to fix avr-embedded packages compilation 2019-11-19 22:28:04 +00:00
nld.pas --- Merging r39877 into '.': 2018-11-12 08:36:43 +00:00
nmat.pas --- Merging r43560 into '.': 2019-11-27 19:55:07 +00:00
nmem.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
nobj.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
nobjc.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
node.pas -- Zusammenführen von r43620 in ».«: 2019-12-01 20:29:52 +00:00
nopt.pas * moved nf_typedaddr to addrnodeflags (anf_typedaddr) 2018-04-03 16:41:01 +00:00
nset.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
nutils.pas --- Merging r43347 into '.': 2019-11-16 15:18:43 +00:00
objcasm.pas
objcdef.pas * removed unused units 2017-05-09 19:53:14 +00:00
objcgutl.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
objcutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
ogbase.pas * patch by J. Gareth Moreton to fix 33909 2018-07-01 12:54:30 +00:00
ogcoff.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +00:00
ogelf.pas * The MaybeSwapXXXHeader functions moved from ogelf to the elfbase unit, so they 2018-06-14 13:01:08 +00:00
oglx.pas
ogmacho.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +00:00
ogmap.pas * removed unused units 2017-05-09 19:53:14 +00:00
ognlm.pas * changed type used for section alignment from byte/shortint to longint, so the 2017-10-25 15:47:29 +00:00
ogomf.pas * Merged r40720 2019-01-02 04:27:06 +00:00
omfbase.pas Merge commits 39912, 39914, 40001, 40115, 40132 and 40163 2018-12-10 21:18:24 +00:00
optbase.pas Marge of more trunk fixes into fixes branch. 2018-12-23 22:27:05 +00:00
optconstprop.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
optcse.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
optdead.pas * removed unused units 2017-05-09 19:53:14 +00:00
optdeadstore.pas * removed unused units 2017-05-09 19:53:14 +00:00
optdfa.pas --- Merging r40202 into '.': 2019-01-01 21:59:57 +00:00
options.pas Merge r43598 2019-11-28 17:04:55 +00:00
optloadmodifystore.pas + enabled the load-modify-store optimization for the double argument version 2017-07-21 13:17:18 +00:00
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 * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
optvirt.pas * removed unused units 2017-05-09 19:53:14 +00:00
owar.pas
owbase.pas
owomflib.pas Merge commits 39912, 39914, 40001, 40115, 40132 and 40163 2018-12-10 21:18:24 +00:00
parabase.pas * removed temppos field again from parameter locations: they're not allocated 2018-04-27 19:18:55 +00:00
paramgr.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
parser.pas * Merge r43604 to fix i8086-embedded utils compilation 2019-12-09 12:32:16 +00:00
pass_1.pas * removed unused units 2017-05-09 19:53:14 +00:00
pass_2.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +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 Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
pdecl.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
pdecobj.pas # revisions: 42328,42329 2019-11-05 16:22:23 +00:00
pdecsub.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
pdecvar.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
pexports.pas
pexpr.pas Merge commit r42337, to fix avr-embedded packages compilation 2019-11-19 22:28:04 +00:00
pgentype.pas
pgenutil.pas # revisions: 43566,43567,43568,43586,43629,43823 2020-01-14 10:41:39 +00:00
pinline.pas * move handling of Concat to tinlinenode so that it can be easily extended for dynamic arrays 2017-10-08 10:39:34 +00:00
pkgutil.pas * check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?) 2018-01-14 21:16:37 +00:00
pmodules.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
pp.lpi - removed missing file from project 2017-04-30 20:48:35 +00:00
pp.pas -- Aufzeichnung der Informationen für Zusammenführung von r43005 in ».«: 2019-11-09 22:07:33 +00:00
pparautl.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
ppc68k.lpi
ppc8086.lpi * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ppcaarch64.lpi
ppcarm.lpi * version update 2018-01-31 18:52:18 +00:00
ppcavr.lpi + version update 2018-01-31 18:46:23 +00:00
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc64.lpi + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 2017-05-30 21:17:17 +00:00
ppcsparc.lpi + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 2017-05-30 21:17:17 +00:00
ppcx64.lpi * made lazarus project names more systematic 2017-12-28 14:34:04 +00:00
ppcx64llvm.lpi * made lazarus project names more systematic 2017-12-28 14:34:04 +00:00
ppheap.pas
ppu.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
procdefutil.pas # revisions: 40702,40703,40704,40747,40750,40765,41277,41535,41536,41537,41548,41549,41770 2019-11-05 16:08:58 +00:00
procinfo.pas * rest of the previous accidental partial commit 2019-02-07 19:56:21 +00:00
pstatmnt.pas --- Merging r43347 into '.': 2019-11-16 15:18:43 +00:00
psub.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
psystem.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
ptconst.pas * removed unused units 2017-05-09 19:53:14 +00:00
ptype.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
raatt.pas # revisions: 39998, requested by Pierre. 2019-05-06 09:41:54 +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 * avoid overflows of execution weight 2018-08-16 20:45:36 +00:00
scandir.pas --- Merging r43279 into '.': 2019-11-09 10:59:39 +00:00
scanner.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
switches.pas * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 2018-06-12 19:40:45 +00:00
symbase.pas # revisions: 43566,43567,43568,43586,43629,43823 2020-01-14 10:41:39 +00:00
symconst.pas * Objective-Pascal inferred result type and improved category method searching 2019-08-31 11:43:41 +00:00
symcreat.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
symdef.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
symsym.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
symtable.pas # revisions: 43566,43567,43568,43586,43629,43823 2020-01-14 10:41:39 +00:00
symtype.pas Merge of several commits related to enhancements in PPU writing 2019-11-04 08:50:42 +00:00
symutil.pas --- Merging r42998 into '.': 2019-11-10 16:12:48 +00:00
syscinfo.pas Add arm-palmos target to list supporting po_syscall 2017-09-15 20:25:59 +00:00
systems.inc --- Merging r43650 into '.': 2019-12-14 16:20:28 +00:00
systems.pas -- Aufzeichnung der Informationen für Zusammenführung von r43005 in ».«: 2019-11-09 22:07:33 +00:00
tgobj.pas Merge of commits 39916, 39925 and 39963 2019-01-10 12:22:58 +00:00
tokens.pas + implementation of the vectorcall calling convention by J. Gareth Moreton 2018-02-11 17:50:37 +00:00
verbose.pas + implemented support for codepage aware compiler messages. It can be enabled 2017-06-08 16:11:33 +00:00
version.pas * version to 3.2.0-beta 2018-08-18 15:25:41 +00:00
widestr.pas
wpo.pas
wpobase.pas
wpoinfo.pas * removed unused units 2017-05-09 19:53:14 +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