fpc/compiler
florian fa493c7898 * move exception mask initialization to procedure compile
* reset exception mask at compiler exit
* use math routines for exception masking

git-svn-id: trunk@5841 -
2007-01-07 12:24:39 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
html
i386 * .init section support 2007-01-07 10:03:52 +00:00
ia64
m68k * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
mips
msg * fixed generation of constants containing a vmt 2007-01-07 10:39:06 +00:00
powerpc * .init section support 2007-01-07 10:03:52 +00:00
powerpc64 * disable overflow checking when performing pointer arithmetic 2007-01-05 21:52:31 +00:00
ppcgen * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
sparc * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
systems * linux libraries must be build with -Bsymbolic to avoid symbol shadowing 2007-01-06 23:40:22 +00:00
utils * Makefiles regenerated 2007-01-06 21:08:19 +00:00
vis
x86 * .init section support 2007-01-07 10:03:52 +00:00
x86_64 * register saving on win64 fixed 2007-01-02 14:34:03 +00:00
aasmbase.pas * .init section support 2007-01-07 10:03:52 +00:00
aasmdata.pas
aasmsym.pas * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
aasmtai.pas * dummy assignment to tai_cpu_abstract.Pass1 result to avoid warning 2007-01-02 18:33:57 +00:00
aggas.pas * .init section support 2007-01-07 10:03:52 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
assemble.pas * don't write stabs with rva entries on linux 2007-01-07 00:04:05 +00:00
browcol.pas
bsdcompile
catch.pas
cclasses.pas
cfidwarf.pas
cfileutils.pas * findclose must always be called (also when findfirst didn't find 2006-12-11 15:55:21 +00:00
cg64f32.pas
cgbase.pas
cgobj.pas * fixed some unneeded 64 bit conversions + rarely triggered bug on x86 2007-01-02 18:47:14 +00:00
cgutils.pas
charset.pas
cmsgs.pas
comphook.pas
compiler.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
compinnr.inc
comprsrc.pas
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
cstreams.pas
cutils.pas
dbgbase.pas
dbgdwarf.pas
dbgstabs.pas
defcmp.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
defutil.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
export.pas
finput.pas
fmodule.pas * ignore program module when resolving unit names during ppu load 2006-12-30 17:18:28 +00:00
fpccrc.pas
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
globtype.pas + start of embedded rtl 2006-12-17 18:40:36 +00:00
htypechk.pas * committed wrong version in previous revision 2006-12-28 17:02:24 +00:00
impdef.pas
import.pas
link.pas
make_old.cmd
Makefile * Makefiles regenerated 2007-01-06 21:08:19 +00:00
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * fixed generation of constants containing a vmt 2007-01-07 10:39:06 +00:00
msgtxt.inc * fixed generation of constants containing a vmt 2007-01-07 10:39:06 +00:00
nadd.pas * taddnode.first_addstring, avoid memory leak if 2006-12-07 13:03:51 +00:00
nbas.pas
ncal.pas * don't give warning about constructing instance with abstract methods 2007-01-04 13:02:23 +00:00
ncgadd.pas * disable overflow checking when performing pointer arithmetic 2007-01-05 21:52:31 +00:00
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncginl.pas * support inc(pointer) in TP mode with range/overflow checking on as well 2006-12-15 13:02:00 +00:00
ncgld.pas
ncgmat.pas + fixed suspected typo 2006-12-25 15:26:55 +00:00
ncgmem.pas * copy unique return value to address register on m68k 2006-12-07 20:10:00 +00:00
ncgopt.pas
ncgrtti.pas
ncgset.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
ncgutil.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
ncnv.pas * ttypeconvnode.simplify, avoid a memory leak 2006-12-07 13:06:31 +00:00
ncon.pas
nflw.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
ninl.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
nld.pas
nmat.pas * implicitly call procvars in tp/delphi modes for divmodn, shlshrn 2006-12-27 14:29:23 +00:00
nmem.pas
nobj.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
node.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
nopt.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nset.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nstate.pas
nutils.pas * niln has a compelxity of 0 (so the inlining code doesn't try to take 2006-12-29 01:11:41 +00:00
ogbase.pas * .init section support 2007-01-07 10:03:52 +00:00
ogcoff.pas * .init section support 2007-01-07 10:03:52 +00:00
ogelf.pas * .init section support 2007-01-07 10:03:52 +00:00
oglx.pas
ogmap.pas
optcse.pas
options.pas * fix previous patch for -g alone, 2006-12-24 01:27:26 +00:00
opttail.pas
optunrol.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pass_1.pas
pass_2.pas
pbase.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecl.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecobj.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
pdecsub.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
pdecvar.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pexports.pas
pexpr.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
pinline.pas
pmodules.pas Fixed lineinfo compilation with -gl 2006-12-26 19:27:45 +00:00
pp.lpi
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppcarm.lpi
ppheap.pas
ppu.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
procinfo.pas
pstatmnt.pas
psub.pas * temporarily turn off self and vmt checking after calling 2006-12-23 14:03:43 +00:00
psystem.pas
ptconst.pas * fixed generation of constants containing a vmt 2007-01-07 10:39:06 +00:00
ptype.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
raatt.pas * .init section support 2007-01-07 10:03:52 +00:00
rabase.pas
rasm.pas
rautils.pas + added several warnings about use of references 2006-12-29 09:37:15 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas
scandir.pas * compiler part of first Nintendo DS port 2006-12-14 17:32:16 +00:00
scanner.pas * Compiler directives {$...} are allowed in ARM inline assembler. It fixes tb0142.pp and tb0193.pp. 2006-12-21 20:48:18 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
symdef.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
symnot.pas
symsym.pas
symtable.pas * give a verbose fatal error instead of an internalerror when a required 2007-01-05 19:43:28 +00:00
symtype.pas * fixed bug where derefs with an index 65535 were not read correctly 2006-12-14 20:21:05 +00:00
symutil.pas
systems.pas + start of embedded rtl 2006-12-17 18:40:36 +00:00
tgobj.pas
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas
version.pas
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