fpc/compiler
Jonas Maebe 5ca1bd2a32 * if the unit of a procedure call is explicitly specified, limit the search
for (overloaded) procsyms to that unit (mantis #17220)

git-svn-id: trunk@15887 -
2010-08-23 20:51:40 +00:00
..
alpha * merged armthum branch 2009-10-04 09:03:44 +00:00
arm * only insert the current list of pc-relative data if it's not empty, 2010-08-16 20:17:07 +00:00
avr + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
html
i386 * Fixed passing parameters on the stack to cdecl interface-methods. The 'call' 2010-08-08 13:27:54 +00:00
ia64 * enable node cse for all cpus as level 2 optimization 2010-01-17 12:28:28 +00:00
m68k * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
mips + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
msg * better error message in case of self-referencing generics specialization, resolves #17181 2010-08-19 08:00:57 +00:00
powerpc + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
powerpc64 + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
ppcgen * use new_section() instead of tai_section.create() everywhere 2010-06-26 10:50:14 +00:00
sparc + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
systems * Add external linker possibility for windows x86_64 compiler 2010-08-10 11:28:31 +00:00
utils o adapted to current ppu format: 2010-08-13 13:24:28 +00:00
vis * small typo corrections by Adriaan Van Os (mantis #15652) 2010-02-02 10:41:38 +00:00
x86 * fixed copy-paste error in r15600 2010-07-18 21:24:52 +00:00
x86_64 * disallow pusha*/popa* for x86_64 (mantis #14862) 2010-07-10 16:22:46 +00:00
aasmbase.pas * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev 2010-01-12 19:52:55 +00:00
aasmdata.pas * cleaned up handling of Darwin non-lazy pointer sections: create sections 2010-08-08 12:39:16 +00:00
aasmsym.pas
aasmtai.pas * commit 15780 reverted 2010-08-11 21:45:55 +00:00
aggas.pas * use 32 bit int->string conversions for non-64 bit constants on 32 bit 2010-07-03 13:06:40 +00:00
aopt.pas * fixed range errors in label bookkeeping that caused too much memory to be 2009-12-23 21:08:05 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * fixed range errors in label bookkeeping that caused too much memory to be 2009-12-23 21:08:05 +00:00
asmutils.pas o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): 2009-12-13 10:03:30 +00:00
assemble.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
browcol.pas compiler: 2010-03-25 05:46:53 +00:00
bsdcompile
catch.pas
ccharset.pas
cclasses.pas * fixed growing a tbitset when adding an element whose index equals the 2010-07-18 21:58:47 +00:00
cfidwarf.pas
cfileutl.pas * fixed 255 max path length assumptions left over from when the paths were 2010-03-09 19:44:07 +00:00
cg64f32.pas * renamed a_param_* to a_load_*_cgpara 2010-05-22 09:07:21 +00:00
cgbase.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
cgobj.pas * use extended as default real type in calculations only if fputype=x87 2010-08-08 16:17:43 +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 compiler: remove unused variables (reduce hints) 2010-03-30 04:30:41 +00:00
comphook.pas fpc: compiler: 2010-01-27 06:59:58 +00:00
compiler.pas + patch by Sven Barth to add native NT rtl support to the compiler, resolves #14886 2010-01-07 17:42:11 +00:00
compinnr.inc + support of compiler intrinsic sar* using a patch by Benjamin Rosseaux, resolves #15606 2010-01-31 16:47:01 +00:00
comprsrc.pas compiler, utils: pass tlb resources to fpcres 2010-03-11 03:01:24 +00:00
constexp.pas * fixed evaluation of "mod" operator for tconstexprint with signed operands 2010-01-01 22:50:35 +00:00
COPYING.txt
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 o patch by Sergei Gorelkin which basically resolves #14308 (still misses some tests): 2009-12-13 10:03:30 +00:00
cstreams.pas
cutils.pas
dbgbase.pas Attempt to fix missing stabs definitions problem 2010-05-06 22:53:26 +00:00
dbgdwarf.pas * revert wrong commits 2010-08-10 11:33:38 +00:00
dbgstabs.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
defcmp.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
defutil.pas * let def_cgsize() also recognise unicodestrings (avoid calling tdef.size) 2010-08-08 12:37:07 +00:00
export.pas
expunix.pas * handle i386/x86_64 solaris pic as for linux 2009-12-10 12:47:40 +00:00
finput.pas
fmodule.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
fpccrc.pas
fpcdefs.inc * several mips/mipsel related stuff fixed 2009-11-27 15:10:56 +00:00
fppu.pas compiler: allow hint modifier for 'unit' keyword (reason - delphi compatibility) + test 2010-01-22 07:15:09 +00:00
gendef.pas
globals.pas - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) 2010-08-10 19:05:13 +00:00
globtype.pas - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) 2010-08-10 19:05:13 +00:00
htypechk.pas * if the unit of a procedure call is explicitly specified, limit the search 2010-08-23 20:51:40 +00:00
impdef.pas
import.pas
link.pas
macho.pas * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev 2010-01-12 19:52:55 +00:00
machoutils.pas * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev 2010-01-12 19:52:55 +00:00
Makefile * don't build a native compiler for embedded targets 2010-06-22 12:04:37 +00:00
Makefile.fpc * don't build a native compiler for embedded targets 2010-06-22 12:04:37 +00:00
MPWMake
msgidx.inc * better error message in case of self-referencing generics specialization, resolves #17181 2010-08-19 08:00:57 +00:00
msgtxt.inc * better error message in case of self-referencing generics specialization, resolves #17181 2010-08-19 08:00:57 +00:00
nadd.pas * now compilation on i386 was broken, fixed 2010-08-09 20:00:19 +00:00
nbas.pas + initial implementation of iso style gotos in iso mode 2010-08-05 19:20:46 +00:00
ncal.pas * if the unit of a procedure call is explicitly specified, limit the search 2010-08-23 20:51:40 +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 * renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto 2010-08-05 19:22:12 +00:00
ncgcal.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
ncgcnv.pas * convert LOC_FLAGS/LOC_JUMP to cbool value in bool_to_bool conversion, 2010-08-16 17:54:39 +00:00
ncgcon.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
ncgflw.pas * renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto 2010-08-05 19:22:12 +00:00
ncginl.pas * fixed range/overflow checking for succ/pred (mantis #16770) 2010-06-22 19:15:08 +00:00
ncgld.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncgmat.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
ncgmem.pas * fixed ABI compliance for parameter passing and function returning on all 2010-06-03 20:08:50 +00:00
ncgobjc.pas compiler: cleanup - remove unused variables 2009-12-29 06:14:52 +00:00
ncgopt.pas
ncgrtti.pas compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented 2010-04-03 09:14:12 +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 * renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto 2010-08-05 19:22:12 +00:00
ncnv.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
ncon.pas * fixed storing/loading widestring constant nodes into/from ppu files 2010-03-14 13:27:00 +00:00
nflw.pas * nflw.pas: Add lnf_simplify_processing loopflag value. 2010-08-18 16:08:30 +00:00
ninl.pas * support of iso pascal like i/o in iso mode 2010-07-31 20:46:27 +00:00
nld.pas * reduce redundant temporary interfaces variables, resolves #14092 2010-08-23 11:56:17 +00:00
nmat.pas * unified names of system_*/systems_* sets 2010-01-07 18:16:20 +00:00
nmem.pas * taking the address of an absolute var sym with constant address evaluates into a const. pointer, resolves #17118 2010-08-06 11:09:45 +00:00
nobj.pas * white space fixes 2010-08-05 19:11:25 +00:00
nobjc.pas * do not crash but give a fatal error when using Objective-Pascal code 2010-04-24 12:49:16 +00:00
node.pas * add type symbol names to -vp output (patch by Adriaan van Os, mantis 2010-02-13 16:47:37 +00:00
nopt.pas
nset.pas * handle multiple string labels in one case branch correctly, resolves #16130 2010-05-02 21:44:24 +00:00
nstate.pas
nutils.pas * nflw.pas: Add lnf_simplify_processing loopflag value. 2010-08-18 16:08:30 +00:00
objcdef.pas * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
objcgutl.pas * put the RTTI for optional protocol methods in the correct section for 2010-06-21 15:07:29 +00:00
objcutil.pas * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
ogbase.pas * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev 2010-01-12 19:52:55 +00:00
ogcoff.pas * unified names of system_*/systems_* sets 2010-01-07 18:16:20 +00:00
ogelf.pas * unified names of system_*/systems_* sets 2010-01-07 18:16:20 +00:00
oglx.pas
ogmacho.pas compiler: remove unused variables (reduce hints) 2010-03-30 04:30:41 +00:00
ogmap.pas
optbase.pas * handle short boolean evaluation correctly when doing node cse 2010-01-17 10:08:37 +00:00
optcse.pas * revert wrong commits 2010-08-10 11:33:38 +00:00
optdead.pas
optdfa.pas * dfa fixes by Sergei Gorelkin, resolve #15402 2009-12-20 21:02:11 +00:00
options.pas - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) 2010-08-10 19:05:13 +00:00
optloop.pas * handle unrolling of for ... downto ... correctly, resolves #15668 2010-02-10 21:08:54 +00:00
opttail.pas * removed "and not is_class()" condition from is_managed_type(), because 2010-05-22 21:28:24 +00:00
optutils.pas
optvirt.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
owar.pas
owbase.pas
parabase.pas + extra sanity checks in TCGPara.ppuwrite() 2010-05-31 20:48:35 +00:00
paramgr.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
parser.pas * support string constants > 255 chars 2010-01-24 09:28:46 +00:00
pass_1.pas
pass_2.pas * fix compilation with -dEXTDEBUG 2009-11-15 18:26:50 +00:00
pbase.pas * support string constants > 255 chars 2010-01-24 09:28:46 +00:00
pdecl.pas + initial implementation of iso style gotos in iso mode 2010-08-05 19:20:46 +00:00
pdecobj.pas compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax 2010-07-27 00:59:32 +00:00
pdecsub.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
pdecvar.pas * removed "and not is_class()" condition from is_managed_type(), because 2010-05-22 21:28:24 +00:00
pexports.pas * support string constants > 255 chars 2010-01-24 09:28:46 +00:00
pexpr.pas * if the unit of a procedure call is explicitly specified, limit the search 2010-08-23 20:51:40 +00:00
pinline.pas * initialize file variables in iso mode 2010-07-31 20:43:37 +00:00
pmodules.pas * revert wrong commits 2010-08-10 11:33:38 +00:00
pp.lpi - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) 2010-08-10 19:05:13 +00:00
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcavr.lpi
ppcmipsel.lpi Adds mipsel lazarus project 2009-12-07 13:04:05 +00:00
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
ppx86_64.lpi
procinfo.pas * propagate pi_has_assembler_block and pi_uses_exceptions flags from inlined 2010-07-08 20:34:17 +00:00
pstatmnt.pas + initial implementation of iso style gotos in iso mode 2010-08-05 19:20:46 +00:00
psub.pas * renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto 2010-08-05 19:22:12 +00:00
psystem.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
ptconst.pas * white space fixes 2010-08-05 19:11:25 +00:00
ptype.pas * better error message in case of self-referencing generics specialization, resolves #17181 2010-08-19 08:00:57 +00:00
raatt.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
rabase.pas
rasm.pas
rautils.pas + "CExtended" type that is the same as "extended", but conforming to the 2010-02-14 13:45:58 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas * changed backwards_was_first and extended_backwards from supregsets into 2010-07-18 22:00:55 +00:00
scandir.pas - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757) 2010-08-10 19:05:13 +00:00
scanner.pas + introduce iso mode 2010-07-31 20:38:42 +00:00
script.pas
switches.pas fpc: compiler: 2010-01-27 06:59:58 +00:00
symbase.pas
symconst.pas + constant for file init info 2010-08-05 19:10:34 +00:00
symdef.pas + initial implementation of iso style gotos in iso mode 2010-08-05 19:20:46 +00:00
symnot.pas
symsym.pas * disable reg. vars in subroutines with interprocedural used labels 2010-08-05 20:23:48 +00:00
symtable.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
symtype.pas compiler: add enumsymtable case to FindUnitSymtable helper 2010-03-28 21:54:33 +00:00
symutil.pas
systems.pas * initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev 2010-01-12 19:52:55 +00:00
tgobj.pas
tokens.pas compiler: allow "deprecated", "experimental" and "unimplemented" to be used as identifiers 2010-08-10 03:43:12 +00:00
verbose.pas * force always printing absolute paths when using -vb (mantis #15783) 2010-03-10 10:04:51 +00:00
version.pas
widestr.pas * fixed storing/loading widestring constant nodes into/from ppu files 2010-03-14 13:27:00 +00:00
wpo.pas
wpobase.pas - removed tstoreddef.reset() and overrides, and the associated 2010-06-30 19:00:40 +00:00
wpoinfo.pas * also recompile a unit if class/object definitions in indirectly used 2009-12-30 14:03:31 +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