fpc/compiler
2011-10-07 05:58:58 +00:00
..
alpha - removed no more used constants 2011-08-13 20:54:01 +00:00
arm * whitespace fixes 2011-09-28 20:36:44 +00:00
avr * move ReplaceForbiddenChars to cpubase of avr so it can be used in dbgstabs as well 2011-09-04 19:36:43 +00:00
generic * Remove triple sources 2011-07-08 15:37:23 +00:00
html
i386 o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
ia64
m68k * fix full cycle after adding new boolean types 2011-06-27 20:11:08 +00:00
mips - removed no more used constants 2011-08-13 20:54:01 +00:00
msg * Don't generate .seh_endprologue if SEH directives are present in the text of (pure assembler) procedure, as it results in duplicate .seh_endprologue. 2011-10-06 03:29:35 +00:00
powerpc * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332 2011-09-25 21:19:50 +00:00
powerpc64 * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332 2011-09-25 21:19:50 +00:00
ppcgen * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
sparc * patch from Ludo Brands: remove po_inline artefact from ancient inlining code in sparc parameter handling, resolves #20397 2011-10-06 18:39:40 +00:00
systems i386-OpenBSD 4.9 has no underscore prefix 2011-10-04 22:33:13 +00:00
utils * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
vis - removed no more used constants 2011-08-13 20:54:01 +00:00
x86 o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
x86_64 * Don't generate .seh_endprologue if SEH directives are present in the text of (pure assembler) procedure, as it results in duplicate .seh_endprologue. 2011-10-06 03:29:35 +00:00
aasmbase.pas + avr assemblers do not convert automatically cond. branches with too large jump distances into an unconditional branch and a reverse condition branch, so fpc does this now 2011-08-24 22:29:50 +00:00
aasmdata.pas compiler: 2011-09-28 01:18:43 +00:00
aasmsym.pas
aasmtai.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
aggas.pas + Support .seh_handler directive 2011-10-04 12:19:24 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332 2011-09-25 21:19:50 +00:00
asmutils.pas compiler: emit constants of encoding 0 in CP_NONE/DefaultSystemCodePage encoding (depends on modes witch) 2011-09-30 14:14:58 +00:00
assemble.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
browcol.pas
bsdcompile
catch.pas
ccharset.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cclasses.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
cfidwarf.pas
cfileutl.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
cg64f32.pas
cgbase.pas
cgobj.pas * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332 2011-09-25 21:19:50 +00:00
cgutils.pas
cmsgs.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
comphook.pas * make code and data size in status independent of target alu size 2011-09-07 16:04:38 +00:00
compiler.pas * catch EOSError, EIOError and IOutOfMemory exceptions inside the compiler 2011-08-07 09:18:07 +00:00
compinnr.inc * constant evaluation of ror/rol if they are internally handled, resolves #6300 2011-06-23 20:54:08 +00:00
comprsrc.pas + when compiling for Darwin/ARM, pass the subarchitecture to the linker. 2011-08-02 20:41:39 +00:00
constexp.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
COPYING.txt
cp437.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp850.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp866.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp1251.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp1252.pp * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp8859_1.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cp8859_5.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cpid.pas merge r14347 from cpstrnew branch by florian: 2011-09-17 12:00:06 +00:00
crefs.pas
cresstr.pas compiler: emit resource strings in ansistring encoding 2011-09-30 14:14:03 +00:00
cstreams.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
cutils.pas
cwindirs.pp
dbgbase.pas compiler: implement delphi like namespaces 2011-08-27 03:52:07 +00:00
dbgdwarf.pas * Use the same logic for Dwarf-3 and Dwarf-2 output regarding symbol names. Solves problems resolving self in gdb and Dwarf-3. 2011-10-02 16:08:56 +00:00
dbgstabs.pas * move ReplaceForbiddenChars to cpubase of avr so it can be used in dbgstabs as well 2011-09-04 19:36:43 +00:00
defcmp.pas compiler: revert r19358. As stated by Florian, compiler should be able to compile with the latest RTL. 2011-10-04 10:12:49 +00:00
defutil.pas + initial support for pascal booleans with sizes 2, 4 and 8 2011-06-26 15:02:37 +00:00
export.pas
expunix.pas
finput.pas compiler: reduce amount of hints and warnings 2011-04-20 02:58:52 +00:00
fmodule.pas compiler: pass both modulename and filename to tmodule.create. extract modulename from filename if modulename is not passed (probably fix an error with asm/obj filename appeared after the namespace branch merge). 2011-09-01 01:50:53 +00:00
fpccrc.pas
fpcdefs.inc Use FPC_HAS_SYSTEMS_INTERRUPT_TABLE conditional 2011-06-29 15:03:55 +00:00
fppu.pas compiler: pass both modulename and filename to tmodule.create. extract modulename from filename if modulename is not passed (probably fix an error with asm/obj filename appeared after the namespace branch merge). 2011-09-01 01:50:53 +00:00
gendef.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
globals.pas compiler: revert r19358. As stated by Florian, compiler should be able to compile with the latest RTL. 2011-10-04 10:12:49 +00:00
globtype.pas + Generate unwind bytecode for function prologues on win64. 2011-09-23 21:22:25 +00:00
htypechk.pas compiler: revert r19358. As stated by Florian, compiler should be able to compile with the latest RTL. 2011-10-04 10:12:49 +00:00
impdef.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
import.pas
link.pas compiler: reduce amount of hints and notes 2011-09-30 08:56:05 +00:00
macho.pas
machoutils.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
Makefile + exeinstall: New phony target to install only current cpu taret compiler. 2011-09-10 08:54:50 +00:00
Makefile.fpc + exeinstall: New phony target to install only current cpu taret compiler. 2011-09-10 08:54:50 +00:00
MPWMake
msgidx.inc * Don't generate .seh_endprologue if SEH directives are present in the text of (pure assembler) procedure, as it results in duplicate .seh_endprologue. 2011-10-06 03:29:35 +00:00
msgtxt.inc * Don't generate .seh_endprologue if SEH directives are present in the text of (pure assembler) procedure, as it results in duplicate .seh_endprologue. 2011-10-06 03:29:35 +00:00
nadd.pas * changed check introduced in r19193 into the same method as other locations in nadd.pas do 2011-09-23 20:34:10 +00:00
nbas.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
ncal.pas --- Merging r19281 into '.': 2011-10-03 20:43:19 +00:00
ncgadd.pas * fixed generic code for subtracting one set from another if both are 2011-08-20 20:36:13 +00:00
ncgbas.pas
ncgcal.pas
ncgcnv.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
ncgcon.pas compiler: 2011-09-28 01:18:43 +00:00
ncgflw.pas * set line info markers properly, resolves #17803 2011-05-16 15:15:35 +00:00
ncginl.pas merge r13489 from cpstrnew branch by florian: 2011-09-17 11:21:00 +00:00
ncgld.pas * fix division by zero in alignment code, should resolve #20265 an #20240 2011-10-03 16:53:42 +00:00
ncgmat.pas
ncgmem.pas compiler: 2011-09-28 01:18:43 +00:00
ncgobjc.pas compiler: 2011-09-28 01:18:43 +00:00
ncgopt.pas
ncgrtti.pas + initial support for pascal booleans with sizes 2, 4 and 8 2011-06-26 15:02:37 +00:00
ncgset.pas
ncgutil.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
ncnv.pas compiler: revert r19358. As stated by Florian, compiler should be able to compile with the latest RTL. 2011-10-04 10:12:49 +00:00
ncon.pas compiler: fix string const conversion from one codepage to another 2011-09-25 06:41:59 +00:00
nflw.pas + initial support for pascal booleans with sizes 2, 4 and 8 2011-06-26 15:02:37 +00:00
ninl.pas compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage 2011-09-30 03:26:34 +00:00
nld.pas * give a more understandable error message if a procedure "result" is tried to be a 2011-08-18 21:10:05 +00:00
nmat.pas + initial support for pascal booleans with sizes 2, 4 and 8 2011-06-26 15:02:37 +00:00
nmem.pas * when a constant Objective-C class reference is used for anything but 2011-08-06 19:49:59 +00:00
nobj.pas * When the interface method mapping is present, being unable to find the implementing procedure using the mapped name is a error condition. No attempt to find implementing procedure using symbol name should be made in this case. Resolves #19591. 2011-08-10 21:33:39 +00:00
nobjc.pas
node.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
nopt.pas merge r17484 from cpstrnew branch by michael: 2011-09-17 13:30:09 +00:00
nset.pas + initial support for pascal booleans with sizes 2, 4 and 8 2011-06-26 15:02:37 +00:00
nstate.pas
nutils.pas + might_have_sideeffects, make use of it when optimizing x*x into sqr(x) 2011-08-19 09:26:40 +00:00
objcdef.pas
objcgutl.pas compiler: 2011-09-28 01:18:43 +00:00
objcutil.pas
ogbase.pas * Changed attributes of .pdata section so it is smart-linkable on x86_64. 2011-09-15 15:22:03 +00:00
ogcoff.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
ogelf.pas + ogelf.pas: support relocation of type R_X86_64_32 which is apparently used by DWARF3 debug info. 2011-09-27 20:38:10 +00:00
oglx.pas
ogmacho.pas
ogmap.pas
ognlm.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
optbase.pas
optcse.pas * Avoid pointer typecast warning 2011-06-29 09:54:46 +00:00
optdead.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
optdfa.pas
options.pas * cmdstr is ansistring now. Running ppc386 "" could cause access of string[1] while length(string)=0 2011-10-06 18:16:12 +00:00
optloop.pas
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas compiler: remove unused variable 2011-09-20 13:44:53 +00:00
pass_1.pas
pass_2.pas
pbase.pas reintegrate paul/namespaces branch into trunk: 2011-08-30 01:10:24 +00:00
pdecl.pas compiler: 2011-09-19 04:11:57 +00:00
pdecobj.pas --- Merging r19281 into '.': 2011-10-03 20:43:19 +00:00
pdecsub.pas --- Merging r19281 into '.': 2011-10-03 20:43:19 +00:00
pdecvar.pas compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal) 2011-10-07 05:58:58 +00:00
pexports.pas
pexpr.pas compiler: allow type conversions for ordinal types inside type declarations e.g inside enumerations like: Byte(0)..Byte(15) 2011-10-03 01:27:21 +00:00
pinline.pas merge r17484 from cpstrnew branch by michael: 2011-09-17 13:30:09 +00:00
pmodules.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
pp.lpi compiler: 2011-09-19 04:11:57 +00:00
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * new version 2011-08-26 07:21:40 +00:00
ppcavr.lpi * version update 2011-09-04 18:53:12 +00:00
ppcmipsel.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal) 2011-10-07 05:58:58 +00:00
ppx86_64.lpi * new lpi version 2011-08-21 19:56:40 +00:00
procinfo.pas + Generate unwind bytecode for function prologues on win64. 2011-09-23 21:22:25 +00:00
pstatmnt.pas merge r17434 from cpstrnew branch by michael: 2011-09-17 13:19:59 +00:00
psub.pas * don't generate implicit exception frames for pure assembler routines, resolves #20075 2011-10-03 20:09:07 +00:00
psystem.pas + Support classes for creating unwind bytecode for Win64. 2011-09-15 15:35:08 +00:00
ptconst.pas * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332 2011-09-25 21:19:50 +00:00
ptype.pas scanner unit: 2011-09-07 13:13:15 +00:00
raatt.pas + AT&T asmreader: added methods that can be overridden in descendant readers to handle target-specific directives. 2011-10-04 12:12:06 +00:00
rabase.pas
rasm.pas
rautils.pas + support for assembler instructions with four operands 2011-08-14 16:46:35 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * write variable locations of 64 bit integer values on 32 bit targets correctly 2011-09-03 19:43:50 +00:00
scandir.pas compiler: replace string codepage comparison to numeric. store codepage as number in current settings 2011-09-19 00:48:43 +00:00
scanner.pas compiler: replace {$ifdef FPC_FULLVERSION<20700} with {$ifdef VER2_4} for including ccharset as in other compiler places 2011-09-29 14:15:09 +00:00
script.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
switches.pas * Fix double WARN infinite loop 2011-06-29 09:52:03 +00:00
symbase.pas
symconst.pas merge r17552 from cpstrnew branch by inoussa: 2011-09-17 13:52:09 +00:00
symdef.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
symnot.pas
symsym.pas compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal) 2011-10-07 05:58:58 +00:00
symtable.pas compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal) 2011-10-07 05:58:58 +00:00
symtype.pas + ttypesym.prettyname 2011-08-17 11:10:00 +00:00
symutil.pas
systems.inc Added forgotten include file 2011-06-20 14:57:34 +00:00
systems.pas + Add systems_XXXbsd sets 2011-09-25 19:29:14 +00:00
tgobj.pas
tokens.pas merge r17552 from cpstrnew branch by inoussa: 2011-09-17 13:52:09 +00:00
verbose.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
version.pas * Trunk version to 2.7.1 2011-08-03 13:59:33 +00:00
widestr.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
wpo.pas
wpobase.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
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