fpc/compiler
pierre ce5037920a + try to implement smartlink
git-svn-id: trunk@6867 -
2007-03-15 00:11:55 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm * set temp. start properly when omitting stackframe 2007-03-09 20:52:04 +00:00
html
i386 + try to implement smartlink 2007-03-15 00:11:55 +00:00
ia64
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips
msg * german and english error file updates from Karl-Michael Schindler 2007-03-14 21:13:31 +00:00
powerpc * fixed a_op_const_reg(_reg)(OP_OR/OP_XOR,OS_S8/OS_S16) for ppc32 2007-03-09 15:51:09 +00:00
powerpc64 * never store/restore lr for nostackframe routines, even if debugging 2007-03-13 14:50:26 +00:00
ppcgen * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
sparc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
systems * use section smartlinking on arm-linux, experimental 2007-03-12 21:00:12 +00:00
utils + bool64bit support to ppudump 2007-03-09 19:39:20 +00:00
vis
x86 * new test 2007-03-14 21:09:05 +00:00
x86_64 * location.size of trunc/round must be OS_S64 2007-03-14 20:56:14 +00:00
aasmbase.pas * .init section support 2007-01-07 10:03:52 +00:00
aasmdata.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
aasmsym.pas * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
aasmtai.pas * fix incorrect generation of huge static arrays on 64 bit systems; however, GAS only supports 2^31-1 sized ones 2007-02-08 22:11:27 +00:00
aggas.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
aopt.pas * arm cond. instruction support 2006-11-14 22:37:22 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
assemble.pas * use .comm again for global variables 2007-02-25 16:05:57 +00:00
browcol.pas * reinstate code dealing with browser switches 2007-01-23 05:53:30 +00:00
bsdcompile
catch.pas
cclasses.pas * explicitly use shortstring for TFPHashList 2007-02-02 18:58:29 +00:00
cfidwarf.pas
cfileutils.pas * fixed win32 and go32v2 compilation 2007-02-22 07:31:19 +00:00
cg64f32.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
cgbase.pas
cgobj.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
cgutils.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
charset.pas
cmsgs.pas
comphook.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compiler.pas * set starttime earlier so time stamps don't get messed up 2007-01-27 13:45:49 +00:00
compinnr.inc
comprsrc.pas * forgotten commit 2007-02-19 19:42:22 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
crefs.pas + new unit to handle references 2007-01-23 05:40:26 +00:00
cresstr.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
cstreams.pas
cutils.pas * prefer a loadsize of 4 over 8 bytes for packed loads on 64 bit, 2007-03-06 15:51:41 +00:00
dbgbase.pas * problem with virtual methods and interfaces fixed, fixes #8158 2007-01-21 15:57:16 +00:00
dbgdwarf.pas * don't create debugging entries for generic typesyms, since they 2007-03-13 14:51:47 +00:00
dbgstabs.pas * fixed overflow when calculating the byte offset of a field in case 2007-03-14 17:32:16 +00:00
defcmp.pas * cleaned up set conversion 2007-02-25 16:29:39 +00:00
defutil.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
export.pas
finput.pas * fixed -o for sharedlibrary 2007-01-15 17:21:38 +00:00
fmodule.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
gendef.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
globals.pas * fix range check error 2007-02-25 17:51:04 +00:00
globtype.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
htypechk.pas * call procvar only in arguments when the return type matches or there are 2007-03-08 07:53:36 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas
link.pas * -Xg generates a separate file with the debug info sections 2007-02-24 15:06:31 +00:00
make_old.cmd
Makefile * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
Makefile.fpc + eDSP instructions for arm 2007-02-11 15:10:27 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * regenerated 2007-03-14 21:14:13 +00:00
msgtxt.inc * regenerated 2007-03-14 21:14:13 +00:00
nadd.pas * moved typechecking stuff from taddnode.simplify to taddnode.pass_typechec 2007-03-13 23:17:12 +00:00
nbas.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
ncal.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
ncgadd.pas * remove invalid aword typecast 2007-01-22 19:40:31 +00:00
ncgbas.pas
ncgcal.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgcnv.pas * fixed x86 vector mmloads and use scalar loads in ncgcnv 2007-01-14 13:36:26 +00:00
ncgcon.pas * tried to restore old set behaviour for big endian targets 2007-03-03 17:52:55 +00:00
ncgflw.pas
ncginl.pas * compiler handled round/trunc for x86 2007-03-13 20:23:24 +00:00
ncgld.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * be more carefull with unaligned load optimization 2007-02-07 17:43:56 +00:00
ncgopt.pas
ncgrtti.pas * experimental ie fix for dispinterfaces with rtti 2007-03-10 16:32:49 +00:00
ncgset.pas * properly align case target labels 2007-02-10 18:42:25 +00:00
ncgutil.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ncnv.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
ncon.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
nflw.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ninl.pas * location.size of trunc/round must be OS_S64 2007-03-14 20:56:14 +00:00
nld.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
nmat.pas * do not convert input of unaryminusnode to sint if the original is currency; fixes tfloattostr for 64 bit platforms which use int64 as currency type 2007-01-21 22:09:32 +00:00
nmem.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +00:00
nobj.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
node.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
nopt.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
nset.pas * fixed overflow for constant in-expressions involving values > 2007-03-14 19:42:01 +00:00
nstate.pas
nutils.pas * nothingn has a complexity of 0 2007-03-13 21:56:25 +00:00
ogbase.pas * Allow @ and ? characters in imported function name when AS is used. It fixes bug #8391. 2007-02-26 17:51:38 +00:00
ogcoff.pas * Allow @ and ? characters in imported function name when AS is used. It fixes bug #8391. 2007-02-26 17:51:38 +00:00
ogelf.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
oglx.pas
ogmap.pas
optcse.pas * docompare -> isequal 2007-03-13 21:56:41 +00:00
options.pas + set FPU* define properly 2007-03-11 17:16:23 +00:00
opttail.pas * don't do tail recursion optimization on types requiring init/final code 2007-01-17 22:02:42 +00:00
optunrol.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas * Remove consoleio feature from gba & nds as well. 2007-02-17 16:42:04 +00:00
pass_1.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
pass_2.pas * fixed missing lineinfo after removing inlining_procedure (missed a "not" in 2007-01-30 15:30:47 +00:00
pbase.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecl.pas * fixed #8156 2007-01-21 16:15:19 +00:00
pdecobj.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
pdecsub.pas * Allow @ and ? characters in imported function name when AS is used. It fixes bug #8391. 2007-02-26 17:51:38 +00:00
pdecvar.pas * make variables not regable if they are referenced by an absolute 2007-03-13 10:17:33 +00:00
pexports.pas
pexpr.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
pinline.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
pmodules.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
pp.lpi * more improvements 2006-11-12 22:32:26 +00:00
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
ppc68k.lpi * small m68k-linux fixes 2006-11-19 21:51:20 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * initial copy from i386 2006-11-15 20:33:43 +00:00
ppcppc.lpi + powerpc lazarus project file 2007-03-03 14:53:15 +00:00
ppheap.pas
ppu.pas * increased ppu version for setdef patch 2007-02-07 20:33:10 +00:00
procinfo.pas
pstatmnt.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
psub.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
psystem.pas * don't call afterconstruction/beforedestruction in case an exception 2007-01-26 17:38:53 +00:00
ptconst.pas * fixed rangecheck define typo 2007-03-13 14:49:03 +00:00
ptype.pas * forbid anonymous generic specializations 2007-02-24 10:06:53 +00:00
raatt.pas * merged some code which was ifdefed separately for POWERPC and POWERPC64 code but is equal 2007-02-08 22:52:11 +00:00
rabase.pas
rasm.pas
rautils.pas + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas
scandir.pas + set FPU* define properly 2007-03-11 17:16:23 +00:00
scanner.pas - Put gpc mode between ifdefs. The only thing it does it disable all 2007-02-16 23:13:28 +00:00
script.pas * more file handling from shortstring to tcmdstr 2007-02-21 21:54:54 +00:00
switches.pas * don't give a warning for {$u-} (means "Pentium-safe fdiv off", is only 2007-01-24 19:49:16 +00:00
symbase.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symconst.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
symdef.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
symnot.pas
symsym.pas * fix incorrect generation of huge static arrays on 64 bit systems; however, GAS only supports 2^31-1 sized ones 2007-02-08 22:11:27 +00:00
symtable.pas * unified ies 2007-03-03 16:03:20 +00:00
symtype.pas * fixed debug info for pass-by-reference parameters in dwarf by 2007-02-18 22:49:47 +00:00
symutil.pas
systems.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
tgobj.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas * fixed setting of compiling_current 2007-02-24 15:55:58 +00:00
version.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
widestr.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
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
  cpu64bit            The target is a 64-bit processor
  -----------------------------------------------------------------

  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