fpc/compiler
paul f718be3afd compiler: remove unused variable
git-svn-id: trunk@14359 -
2009-12-08 04:24:28 +00:00
..
alpha * merged armthum branch 2009-10-04 09:03:44 +00:00
arm * changed tf_use_function_relative_addresses into an assembler flag (with 2009-12-06 13:21:28 +00:00
avr * merged armthum branch 2009-10-04 09:03:44 +00:00
html
i386 * renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/ 2009-12-04 19:37:22 +00:00
ia64
m68k * merged armthum branch 2009-10-04 09:03:44 +00:00
mips * sunos is not supported on mips 2009-12-06 12:19:08 +00:00
msg + -godwarfmethodclassprefix option to prefix method names in the DWARF debug 2009-12-05 22:21:52 +00:00
powerpc * renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/ 2009-12-04 19:37:22 +00:00
powerpc64 + mw_pascal calling convention support for ARM, ppc64 and x86_64: identical 2009-11-08 13:42:11 +00:00
ppcgen * changed tf_use_function_relative_addresses into an assembler flag (with 2009-12-06 13:21:28 +00:00
sparc * fixed alignment initialisation of temprary dst reference in 2009-11-29 15:14:56 +00:00
systems * fix native linker end group delimiter 2009-12-07 22:27:59 +00:00
utils o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
vis
x86 * changed tf_use_function_relative_addresses into an assembler flag (with 2009-12-06 13:21:28 +00:00
x86_64 o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
aasmbase.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
aasmdata.pas * fixed alignment for (non-)lazy symbol sections 2009-11-10 10:43:15 +00:00
aasmsym.pas
aasmtai.pas * renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/ 2009-12-04 19:37:22 +00:00
aggas.pas * renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/ 2009-12-04 19:37:22 +00:00
aopt.pas
aoptbase.pas * use labelCanBeSkipped as used by i386 in generic optimizer code too 2009-02-27 13:03:12 +00:00
aoptcs.pas
aoptda.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
aoptobj.pas
assemble.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
browcol.pas * fixed warnings and removed unused "Current_moduleIndex" global variable 2009-04-30 15:32:28 +00:00
bsdcompile
catch.pas - disabled installation of SIGINT signal handler for Darwin, because 2009-02-28 18:07:21 +00:00
ccharset.pas
cclasses.pas compiler: revert r14244 2009-11-23 01:43:42 +00:00
cfidwarf.pas
cfileutl.pas * made MorphOS build to cycle again: fixed path_absolute() for Amiga and MorphOS, and fixed AllFilesMask for MorphOS 2009-07-30 00:57:06 +00:00
cg64f32.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cgbase.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cgobj.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cgutils.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc + support for objcencode() (equivalent of Objective-C's @encode()) + test 2009-08-18 19:54:02 +00:00
comprsrc.pas * fixed calling windres: don't create short names with forward slashes for output file name, becaause it fails, if the output file does not yet exist. Short names are only required for parameters that windres pass on to the preprocessor. 2009-01-15 22:35:17 +00:00
constexp.pas o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
COPYING.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
cp437.pas
cp850.pas
cp866.pas
cp1251.pas
cp8859_1.pas
cp8859_5.pas
crefs.pas * more properties fixed 2009-11-12 18:11:10 +00:00
cresstr.pas * fixed incompatibility of resource strings with the data reordering done by 2009-09-05 14:40:27 +00:00
cstreams.pas
cutils.pas Merged revisions 13458-13596 via svnmerge from 2009-08-25 19:47:36 +00:00
dbgbase.pas * always immediately reset isdbgwritten for syms in the parasymtable, 2009-11-18 22:31:08 +00:00
dbgdwarf.pas + -godwarfmethodclassprefix option to prefix method names in the DWARF debug 2009-12-05 22:21:52 +00:00
dbgstabs.pas * changed tf_use_function_relative_addresses into an assembler flag (with 2009-12-06 13:21:28 +00:00
defcmp.pas * several fixes which improve the behaviour of nested generics, resolves #15077 2009-11-14 22:24:55 +00:00
defutil.pas Merged revisions 13627-13631,13637-13638,13640,13642-13648,13650-13653,13656-13658,13660,13664-13667,13672-13675,13680,13682,13687 via svnmerge from 2009-09-12 12:42:38 +00:00
export.pas + support for exporting Objective-C classes from dynamic libraries. It works 2009-09-27 15:40:52 +00:00
expunix.pas * create/destroy codegen before/after generating exports, because it's 2009-11-15 11:19:09 +00:00
finput.pas * changed InputFileBufSize from 32kb to 32kb+1byte, because the last 2009-08-22 20:20:11 +00:00
fmodule.pas
fpccrc.pas
fpcdefs.inc * several mips/mipsel related stuff fixed 2009-11-27 15:10:56 +00:00
fppu.pas * fixed derefdata corruption in case a unit is re-resolved and it has a 2009-12-07 23:26:20 +00:00
gendef.pas * enabled version and description directive for all windows 2009-07-25 22:06:37 +00:00
globals.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
globtype.pas + -godwarfmethodclassprefix option to prefix method names in the DWARF debug 2009-12-05 22:21:52 +00:00
htypechk.pas + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
impdef.pas
import.pas
link.pas * moved field definitions before method/property definitions (see mantis 2009-06-27 11:27:31 +00:00
Makefile + first patches to support mips/mipsel in the compiler makefile 2009-11-27 15:22:15 +00:00
Makefile.fpc + first patches to support mips/mipsel in the compiler makefile 2009-11-27 15:22:15 +00:00
MPWMake
msgidx.inc + -godwarfmethodclassprefix option to prefix method names in the DWARF debug 2009-12-05 22:21:52 +00:00
msgtxt.inc + -godwarfmethodclassprefix option to prefix method names in the DWARF debug 2009-12-05 22:21:52 +00:00
nadd.pas Merged revisions 13351-13373,13376-13457 via svnmerge from 2009-07-26 14:31:50 +00:00
nbas.pas
ncal.pas * sizeof(voidpointertype.size) -> voidpointertype.size (although they 2009-12-03 13:29:02 +00:00
ncgadd.pas * enabled pushing (x87) fpu registers in case too few might be available 2009-12-05 22:53:27 +00:00
ncgbas.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
ncgcal.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
ncgcnv.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
ncgcon.pas * fixed (harmless) range error in cross-endian crosscompiling code for 2009-10-01 12:08:30 +00:00
ncgflw.pas * renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/ 2009-12-04 19:37:22 +00:00
ncginl.pas * fixed range checking for inc/dec when mixing unsigned and signed types 2009-11-23 20:01:07 +00:00
ncgld.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
ncgmat.pas
ncgmem.pas compiler: remove unused variable 2009-12-08 04:24:28 +00:00
ncgobjc.pas * use separate pools for obj-c strings and string references 2009-09-07 19:01:50 +00:00
ncgopt.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
ncgrtti.pas * the objc1 unit has been renamed to objc 2009-09-27 15:24:50 +00:00
ncgset.pas * fixed in-code for big endian systems and smallsets < 4 bytes 2009-11-17 22:05:12 +00:00
ncgutil.pas * changed tf_use_function_relative_addresses into an assembler flag (with 2009-12-06 13:21:28 +00:00
ncnv.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
ncon.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nflw.pas compiler: for-in loop: fix temporary array range type 2009-11-07 10:56:54 +00:00
ninl.pas * fixed range checking for inc/dec when mixing unsigned and signed types 2009-11-23 20:01:07 +00:00
nld.pas * store/restore trttinode.rttidatatype to/from ppu file, and also copy it in 2009-12-03 23:03:25 +00:00
nmat.pas
nmem.pas * the objc1 unit has been renamed to objc 2009-09-27 15:24:50 +00:00
nobj.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
nobjc.pas * integrated the transformation of an Objective-C method call into a call 2009-10-01 12:05:11 +00:00
node.pas * integrated the transformation of an Objective-C method call into a call 2009-10-01 12:05:11 +00:00
nopt.pas
nset.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nstate.pas
nutils.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
objcgutl.pas * don't align entries in string sections, gcc doesn't either 2009-11-21 21:24:27 +00:00
objcutil.pas * don't use a voidpointer typecast to access hardcoded objc fields, because 2009-11-30 20:43:48 +00:00
ogbase.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
ogcoff.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
ogelf.pas * Accept weak for Solaris targets 2009-11-20 11:06:50 +00:00
oglx.pas
ogmap.pas
optbase.pas * various optimizations by Dave Richards (mantis #12440) 2009-05-27 17:26:50 +00:00
optcse.pas
optdead.pas
optdfa.pas
options.pas - removed accidentally committed unfinished code in r14317 2009-12-04 10:27:28 +00:00
optloop.pas * forbid passing derived classes to call by reference parent classes (for objects, this is still allowed), resolves #13135 2009-08-17 21:46:25 +00:00
opttail.pas
optutils.pas
optvirt.pas * removed unnecessary internalerror triggered when reading wpo info for a 2009-08-19 20:25:41 +00:00
owar.pas
owbase.pas
parabase.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
paramgr.pas * fixed handling the result value of functions where the result type is 2009-09-12 12:21:34 +00:00
parser.pas * initialize allow_array_constructor for each compilation run, fixes probably #12283 2009-07-04 15:44:33 +00:00
pass_1.pas * improved code generation by reducing the usage of unneeded temps due to incorrect 2009-09-22 19:24:25 +00:00
pass_2.pas * fix compilation with -dEXTDEBUG 2009-11-15 18:26:50 +00:00
pbase.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
pdecl.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecobj.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecsub.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecvar.pas Allow negative offset in segment:offset declarations, if the resulting 2009-11-07 14:38:13 +00:00
pexports.pas + support for exporting Objective-C classes from dynamic libraries. It works 2009-09-27 15:40:52 +00:00
pexpr.pas + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
pinline.pas * Copy() with WideChar array or PWideChar parameter should use fpc_unicodestr_copy compilerproc, since fpc_widestr_copy is available only on Windows. Bug #14307. 2009-08-10 13:09:27 +00:00
pmodules.pas * the objc1 unit has been renamed to objc 2009-09-27 15:24:50 +00:00
pp.lpi revert occasionally committed pp.lpi 2009-11-05 03:34:06 +00:00
pp.pas + FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL 2009-03-17 13:43:24 +00:00
ppc68k.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcavr.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcmipsel.lpi Adds mipsel lazarus project 2009-12-07 13:04:05 +00:00
ppcppc.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppcsparc.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
ppheap.pas
ppu.pas * store/restore trttinode.rttidatatype to/from ppu file, and also copy it in 2009-12-03 23:03:25 +00:00
ppx86_64.lpi * lpi version increased 2009-07-19 18:12:57 +00:00
procinfo.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
pstatmnt.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
psub.pas * don't push/pop the unit/program's static symtable on/off the symtable stack 2009-11-21 00:11:39 +00:00
psystem.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ptconst.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ptype.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
scandir.pas * enabled version and description directive for all windows 2009-07-25 22:06:37 +00:00
scanner.pas * set default set packing to 1 for TP/Delphi mode (mantis #15088) 2009-11-14 23:54:10 +00:00
script.pas + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. 2009-01-03 14:34:59 +00:00
switches.pas * check validity of calling conventions specified using {$calling x} 2009-03-21 21:21:45 +00:00
symbase.pas --WARNING: start build process with FPC 2.2.4; won't work when 2009-07-09 20:48:28 +00:00
symconst.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
symdef.pas * fixed function result variable symbol corruption in case a unit is 2009-12-07 23:27:12 +00:00
symnot.pas
symsym.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
symtable.pas compiler: fix is_visible_for_object for nested specialization 2009-11-21 17:57:32 +00:00
symtype.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
symutil.pas
systems.pas * forgot to commit (part of r14342) 2009-12-06 14:00:05 +00:00
tgobj.pas
tokens.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
verbose.pas
version.pas * version 2.5.1 2009-08-13 21:16:05 +00:00
widestr.pas
wpo.pas
wpobase.pas * give an error message when the specified wpo feedback input file 2009-06-06 12:39:09 +00:00
wpoinfo.pas * do not load wpo info from ppu files when we are not generating 2009-06-06 09:08:08 +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