fpc/compiler
peter 663fa583d9 * real fix for the short jmp out of range problem. Only forward jumps
needs an offset correction. For backward jumps both the address of
    the symbol and the instruction are already updated so no correction
    is required.
2004-02-03 21:21:23 +00:00
..
alpha
arm * handling of floating point references fixed 2004-01-29 17:09:32 +00:00
html
i386 * remove previous commit 2004-02-03 21:19:40 +00:00
ia64
m68k * fixed some m68k compilation problems 2004-01-30 12:17:18 +00:00
msg * fixed copyright year 2004-01-22 21:19:36 +00:00
new
powerpc - removed mov "reg, reg" optimizations, as they are removed by the 2004-02-03 19:49:24 +00:00
sparc * Supported assembler modes are GAS and STANDARD 2004-01-26 14:41:24 +00:00
systems * fixed linker response file handling 2004-01-29 23:57:15 +00:00
utils * linux path separators 2004-02-03 16:50:51 +00:00
vis
x86 * real fix for the short jmp out of range problem. Only forward jumps 2004-02-03 21:21:23 +00:00
x86_64 * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
aasmbase.pas
aasmtai.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
aggas.pas * fixed several arm floating point issues 2004-01-24 18:12:40 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
aoptobj.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
assemble.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
browcol.pas
browlog.pas
bsdcompile
catch.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
cclasses.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
cg64f32.pas * op_const_reg_reg with OP_SAR fixed 2004-01-22 02:22:47 +00:00
cg64f64.pas * x86-64 compilation fixed 2004-01-13 18:08:58 +00:00
cgbase.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
cgobj.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
charset.pas
checkmem.pas
cmsgs.pas * fixed another couple of arm bugs 2004-01-28 15:36:46 +00:00
comphook.pas
compiler.pas * another bunch of x86-64 fixes mainly calling convention and 2004-01-14 23:39:05 +00:00
compinnr.inc + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
comprsrc.pas
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas * fixed error message, if a resource file can't be written 2003-12-29 19:31:20 +00:00
cstreams.pas
cutils.pas * Bugfix on constant strings stab generation. Never worked and still 2004-01-26 22:08:20 +00:00
defcmp.pas * prefere tobject-tobject over tobject-pointer 2004-01-31 14:50:54 +00:00
defutil.pas + $fputype directive support 2003-12-25 01:07:09 +00:00
depend
dmisc.pas
export.pas
finput.pas * check with fileexists() before opening a file 2003-12-27 22:27:24 +00:00
fmodule.pas * don't allow duplicate uses 2003-12-08 22:33:43 +00:00
fpcdefs.inc Stacksize force to 1mb 2004-01-28 16:47:45 +00:00
fppu.pas * fix remembering path of main source file 2004-02-03 16:14:13 +00:00
gdb.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
gendef.pas
globals.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
globtype.pas * register calling is now default for i386 2003-12-23 23:22:35 +00:00
htypechk.pas * fix set_varstate in for loops 2003-11-12 15:48:27 +00:00
impdef.pas
import.pas
link.pas * fixed external smartlinking 2003-12-11 17:53:03 +00:00
make_old.cmd
Makefile * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +00:00
Makefile.fpc * fixed a few makefiles version numbers 2004-01-05 23:29:35 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc + add more dirs in include path 2003-11-07 09:12:23 +00:00
msgidx.inc * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
msgtxt.inc * another fix to flag handling 2004-01-23 00:01:48 +00:00
nadd.pas + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
nbas.pas * fixed and re-enabled temps in registers 2004-02-03 19:48:06 +00:00
ncal.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
ncgadd.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgbas.pas * fixed and re-enabled temps in registers 2004-02-03 19:48:06 +00:00
ncgcal.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgcnv.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgcon.pas * fixed several arm floating point issues 2004-01-24 18:12:40 +00:00
ncgflw.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncginl.pas + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
ncgld.pas + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
ncgmat.pas * fixed generic shl/shr operations 2004-01-23 15:12:49 +00:00
ncgmem.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgopt.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgset.pas * another improvement to tcginnode.pass_2 2004-01-31 23:37:07 +00:00
ncgutil.pas * Last steps before removal of aasmtai dependency in symsym can be 2004-01-31 18:40:15 +00:00
ncnv.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
ncon.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
nflw.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
ninl.pas + support to store ttempcreate/ref/deletenodes in registers 2004-02-03 16:46:51 +00:00
nld.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
nmat.pas * fixed generic shl/shr operations 2004-01-23 15:12:49 +00:00
nmem.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
nobj.pas * record alignment splitted in fieldalignment and recordalignment, 2004-01-28 20:30:18 +00:00
node.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
nopt.pas + inlined procedures inherit procinfo flags 2003-12-16 21:29:24 +00:00
nset.pas * reginfo now also only allocated during register allocation 2004-01-26 16:12:27 +00:00
nstate.pas
nutils.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
options.pas + FPC_PREFETCH defined 2004-02-03 00:42:08 +00:00
owar.pas
owbase.pas
paramgr.pas + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +00:00
parser.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
pass_1.pas
pass_2.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pbase.pas * except is also an end of block token 2004-01-22 17:24:49 +00:00
pdecl.pas * Fix stabs generation problem reported by Jonas 2004-01-31 22:48:31 +00:00
pdecobj.pas * global property support for fpc modes 2003-12-10 16:37:01 +00:00
pdecsub.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
pdecvar.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
pexports.pas
pexpr.pas * integrated hack from 1.0.x so we can parse low(int64) as int64 instead 2003-12-29 17:19:35 +00:00
pinline.pas + support to store ttempcreate/ref/deletenodes in registers 2004-02-03 16:46:51 +00:00
pmodules.pas use local string of 8 chars 2004-01-28 16:48:24 +00:00
pp.pas * when compiled with -dnocatch, known rtes aren't translated anymore 2004-01-26 17:39:12 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fixed more alignment issues 2004-01-30 13:42:03 +00:00
procinfo.pas * sparc updates 2003-12-26 14:02:30 +00:00
pstatmnt.pas * don't put the temp of a withnode in a register if debugging info is on, 2004-02-03 19:47:45 +00:00
psub.pas * fixed handling of max. distance of pc relative symbols 2004-01-21 19:01:03 +00:00
psystem.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
ptconst.pas + support for currency typed constants if currency=int64. Warning: does 2003-12-29 12:48:39 +00:00
ptype.pas * fixed alignment calculation for variant records 2004-01-29 16:51:29 +00:00
raatt.pas * sparc assembler reader updates 2003-12-25 01:25:43 +00:00
rabase.pas * fixed more alignment issues 2004-01-30 13:42:03 +00:00
rasm.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
rautils.pas * fixed compilation for non-x86 2003-11-30 10:15:42 +00:00
README
regvars.pas
rgbase.pas * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
rgobj.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
scandir.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
scanner.pas * do nothing for macro's in tempcloseinput,tempopeninput 2003-11-12 16:57:59 +00:00
script.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
switches.pas * don't turn off debuginfo when line info is requested 2003-12-03 17:45:36 +00:00
symbase.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
symconst.pas + reintroduce implemented 2004-01-21 14:22:00 +00:00
symdef.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symsym.pas * Fix stabs generation problem reported by Jonas 2004-01-31 22:48:31 +00:00
symtable.pas * Fix stabs generation problem reported by Jonas 2004-01-31 22:48:31 +00:00
symtype.pas * Fix stabs generation problem reported by Jonas 2004-01-31 22:48:31 +00:00
symutil.pas * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
systems.pas * fixed more alignment issues 2004-01-30 13:42:03 +00:00
tgobj.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
tokens.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
tpexcept.pas * use oldfpccall 2003-11-23 17:03:05 +00:00
verbose.pas
version.pas * version changed to 1.9.3 2004-01-11 20:59:41 +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