fpc/compiler
2015-04-11 11:36:01 +00:00
..
aarch64 + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
alpha + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
arm * don't give an internalerror when trying to prefetch a regvar or even 2015-04-08 20:35:13 +00:00
avr * fixes several issues with parameter handling on avr 2015-04-11 11:13:20 +00:00
generic - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
html
i386 * synchronised with trunk till r30240 2015-03-15 19:44:58 +00:00
i8086 + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ia64 - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
jvm + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
llvm * fixed -Oodfa warnings 2015-04-08 19:08:39 +00:00
m68k + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
mips + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
msg + implemented aasmcpu.process_ea for i8086 2015-04-08 12:54:09 +00:00
powerpc + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
powerpc64 + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ppcgen * don't give an internalerror when trying to prefetch a regvar or even 2015-04-08 20:35:13 +00:00
sparc + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
systems * get memory sizes on avr-embedded from controller info records 2015-03-29 21:41:52 +00:00
utils * unified typing and ppu reading/writing of setdef fields regarding aint/asizeint 2015-04-11 11:36:01 +00:00
vis + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
x86 * i8086 binary writer fixes for asm codes 0320..0322 2015-04-09 23:10:47 +00:00
x86_64 + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
aasmbase.pas + tasmlabel.createstatic() constructor for creating static data labels 2015-03-27 21:25:40 +00:00
aasmcnst.pas * fixed alignment of widestring on win64 after llvm branch merge (should use 2015-04-08 19:08:43 +00:00
aasmdata.pas + tasmlabel.createstatic() constructor for creating static data labels 2015-03-27 21:25:40 +00:00
aasmsym.pas
aasmtai.pas + support aitconst_farptr in tai_const.size 2015-04-05 23:33:41 +00:00
aggas.pas Added aitconst_gs for AVR pointer references to Flash. 2015-04-04 10:29:11 +00:00
agjasmin.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
aopt.pas * moved comment so it is recognized by lazarus as a method description 2015-04-05 19:08:00 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * IsJumpToLabel checks number of operands 2015-04-05 19:24:22 +00:00
assemble.pas * create normal object files, instead of using the internal "ar" writer in TInternalAssembler.writetreesmart in case the af_needar flag is set on an internal assembler 2015-04-09 14:50:22 +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 + support 8 locations in splitparaloc64 2015-04-10 20:32:22 +00:00
cgbase.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
cghlcpu.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
cgobj.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
cgutils.pas Avoid line longer than 255 characters, to be able to edit inside FP IDE 2015-03-10 07:56:18 +00:00
cmsgs.pas
comphook.pas + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 2015-03-29 19:05:19 +00:00
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 + ELF/ppc64le resource support 2015-03-14 18:36:32 +00:00
constexp.pas
COPYING.txt
cpid.pas
crefs.pas
cresstr.pas * changed emit_ansistring_const() and emit_unicodestring_const() into 2015-03-27 21:25:53 +00:00
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 * renamed getdatalabel() to getglobaldatalabel 2015-03-27 21:25:34 +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 * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
finput.pas * return false, if tdosinputfile.fileopen cannot open a file for reading 2015-02-22 15:52:54 +00:00
fmodule.pas * synchronised with trunk till r30345 2015-03-28 12:28:15 +00:00
fpccrc.pas
fpcdefs.inc * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
fppu.pas + commented directive for easier enabling 2015-02-23 22:11:26 +00:00
gendef.pas
globals.pas * synchronised with trunk till r30240 2015-03-15 19:44:58 +00:00
globstat.pas
globtype.pas + optimization setting level4 2015-02-08 11:24:30 +00:00
hlcg2ll.pas * synchronised with trunk till r30240 2015-03-15 19:44:58 +00:00
hlcgobj.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +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 * prepend "+" to each file name to be added to the library by wlib. This 2015-03-23 01:19:19 +00:00
macho.pas
machoutils.pas
Makefile Makefile regenerated after previous commit: Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall 2015-03-11 22:03:52 +00:00
Makefile.fpc Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall 2015-03-11 21:57:47 +00:00
MPWMake
msgidx.inc + implemented aasmcpu.process_ea for i8086 2015-04-08 12:54:09 +00:00
msgtxt.inc + implemented aasmcpu.process_ea for i8086 2015-04-08 12:54:09 +00:00
nadd.pas * do not warn about disjunct ranges for internally created cmp nodes 2015-03-21 22:56:30 +00:00
nbas.pas * Improved handling of registers used in assembler blocks. Assembler nodes no longer have lists of used registers attached to them. Instead, each specified register creates an allocation/deallocation pair and an additional tai_regalloc.markused item directly in the asmlist. This way, register lists are no longer limited to integer registers, and parsing no longer depends on paramanager to know which registers are volatile. 2015-02-25 21:53:15 +00:00
ncal.pas * keep track of the reason why a loadparentfpnode has been created: to 2015-02-23 22:53:59 +00:00
ncgadd.pas * fixed pointer plus/minus integer on llvm (since a_op_* only gets a single 2015-03-05 22:45:32 +00:00
ncgbas.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
ncgcal.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ncgcnv.pas * synchronised with trunk till r30240 2015-03-15 19:44:58 +00:00
ncgcon.pas * changed emit_ansistring_const() and emit_unicodestring_const() into 2015-03-27 21:25:53 +00:00
ncgflw.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ncghlmat.pas * moved tjvmnotnode implementation to generic ncghlmat unit, and also use it 2014-08-10 19:39:55 +00:00
ncginl.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
ncgld.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ncgmat.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +00:00
ncgmem.pas + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +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 * converted the remaining parts of tcginnode.pass_generate_code() to thlcg 2015-03-29 18:16:51 +00:00
ncgutil.pas + support 8 locations in gen_load_cgpara_loc 2015-04-10 20:33:11 +00:00
ncgvmt.pas * use default_settings.packrecords, instead of 0 (since that's different for 2015-03-30 01:39:47 +00:00
ncnv.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
ncon.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
nflw.pas * synchronised with trunk till r30345 2015-03-28 12:28:15 +00:00
ngenutil.pas * fixed warnings after r30449/r30450 2015-04-06 14:24:09 +00:00
ngtcon.pas * changed emit_ansistring_const() and emit_unicodestring_const() into 2015-03-27 21:25:53 +00:00
ninl.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
nld.pas * keep track of the reason why a loadparentfpnode has been created: to 2015-02-23 22:53:59 +00:00
nmat.pas * when creating code for an iso mod operator, use create_internal for the helper nodes 2015-03-21 22:57:19 +00:00
nmem.pas * use Object_getClass(obj) instead of obj._class to get the class of an 2015-02-26 21:49:08 +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 + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
nstate.pas
nutils.pas * properly firstpass nodes when inc(...) is converted into ...:=...+x, resolves #27471 2015-02-17 21:14:45 +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 * AArch64 also uses the non-fragile Objective-C ABI 2015-02-23 22:51:31 +00:00
objcutil.pas * we cannot directly load the ISA pointer on AArch64, we have to call the 2015-02-23 22:54:18 +00:00
ogbase.pas + handle aitconst_farptr in the internal asm writer as a new relocation type (RELOC_FARPTR) 2015-04-05 23:43:37 +00:00
ogcoff.pas Fixed issue with COFF linker. The addend wasn't shifted up by four before being added. 2015-04-02 22:06:14 +00:00
ogelf.pas Rebase to trunk revision 2015-02-15 16:08:18 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas
ogomf.pas + write the proper external symbol index in the omf FIXUPP records. WLink no 2015-04-09 23:33:22 +00:00
omfbase.pas + check record type in TOmfRecord_COMENT.DecodeFrom 2015-04-09 13:08:45 +00:00
optbase.pas
optconstprop.pas
optcse.pas * do not switch around node subtrees if they have different resultdefs, e.g. 2015-02-28 22:31:00 +00:00
optdead.pas * factored out the check for whether we have to generate dotted function 2015-03-14 18:35:25 +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 + create defines for CPU ALU size 2015-04-05 19:09:28 +00:00
optloop.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
opttail.pas + support overriding tdef/tsym methods with target-specific functionality: 2014-03-29 22:31:55 +00:00
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 + added tasmlist parameter to getintparaloc() (needed for llvm) 2015-04-04 14:29:16 +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 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: 2015-02-20 16:23:40 +00:00
pdecl.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
pdecobj.pas * fixed detection of an objcprotocols descending from a forward-defined 2015-03-12 19:37:43 +00:00
pdecsub.pas Specialize the correct generic if it has the same name as another generic that is located at another place of the type hierarchy. 2015-02-20 16:28:44 +00:00
pdecvar.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +00:00
pexports.pas
pexpr.pas * parentheses after an @-operator can contain a full expression, resolves #27517 2015-03-22 13:00:43 +00:00
pgenutil.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +00:00
pinline.pas - reverted partial commit of merge 2015-01-21 23:24:37 +00:00
pmodules.pas * different, simpler fix for #27691 fixed in r30261; should fix the 2015-03-20 14:23:28 +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 * copy arrays passed by value to cdecl routines on the callee side even on 2015-02-23 22:50:29 +00:00
ppc68k.lpi
ppc8086.lpi * updated ppc8086.lpi with the latest compiler source files 2015-03-30 21:02:54 +00:00
ppcaarch64.lpi
ppcarm.lpi Rebase to trunk revision 2015-02-15 16:08:18 +00:00
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * unified typing and ppu reading/writing of setdef fields regarding aint/asizeint 2015-04-11 11:36:01 +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 fixed a warning with DFA 2015-02-26 09:36:03 +00:00
psub.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
psystem.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +00:00
ptconst.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
ptype.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +00:00
raatt.pas * merged ait_set and ait_thumb_set into a single tai class 2015-03-14 18:35:28 +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 * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * check registers of ait_regalloc for a valid color when translating and compiling with -dextdebug 2015-04-05 19:06:06 +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 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 2015-02-23 22:10:46 +00:00
symconst.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
symcreat.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +00:00
symdef.pas * unified typing and ppu reading/writing of setdef fields regarding aint/asizeint 2015-04-11 11:36:01 +00:00
symnot.pas
symsym.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
symtable.pas * store the to be used recordalignmin and maxcrecordalign settings inside 2015-03-27 21:25:56 +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 * synchronised with trunk till r30345 2015-03-28 12:28:15 +00:00
systems.pas * synchronised with trunk till r30345 2015-03-28 12:28:15 +00:00
tgobj.pas * silence another warning from r30449 2015-04-06 16:42:27 +00:00
tokens.pas * synchronised with trunk till r29513 2015-01-21 23:28:34 +00:00
verbose.pas + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 2015-03-29 19:05:19 +00:00
version.pas + initial AArch64 support in systemh.inc, options.pas, version.pas and 2015-02-23 22:52:04 +00:00
widestr.pas * converted widestr.charlength() to use system.Utf8CodePointLen() 2015-03-01 17:12:27 +00:00
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