fpc/compiler
2003-08-23 10:46:21 +00:00
..
alpha
arm * continued to work on the arm skeleton 2003-08-21 23:23:59 +00:00
html
i386 * New register coding now mandatory, some more convert_registers calls 2003-08-20 09:07:00 +00:00
ia64
m68k * fixed regvars so they work with newra (at least for ppc) 2003-08-17 16:59:20 +00:00
msg * don't allow add/assignments for formaldef 2003-07-08 15:20:56 +00:00
new
powerpc + added xxx_regname stuff 2003-08-22 12:30:43 +00:00
sparc * fixed stackalloc to not allocate localst.datasize twice 2003-08-20 17:48:49 +00:00
systems * remove convert_registers 2003-08-21 14:47:41 +00:00
utils * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
vis * Code generator converted to new register notation 2003-02-19 22:00:14 +00:00
x86 * first spill the registers of top_ref before spilling top_reg 2003-08-21 17:20:19 +00:00
x86_64 * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
aasmbase.pas * remove some unit dependencies 2003-05-23 14:27:35 +00:00
aasmtai.pas * remove convert_registers 2003-08-21 14:47:41 +00:00
aggas.pas * Fixed PowerPC compilation 2003-08-19 11:53:03 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas * generic constructor working for i386 2003-03-28 19:16:56 +00:00
aoptda.pas
aoptobj.pas
assemble.pas * add support for constant offset in stabs address, needed by threadvar debugging support 2003-07-04 22:40:58 +00:00
browcol.pas * adapted for removed funcretsym 2003-04-26 00:29:17 +00:00
browlog.pas
bsdcompile
catch.pas * unix signalhandler has longint argument 2003-04-23 10:10:31 +00:00
cclasses.pas * insertlistafter added 2003-06-09 12:19:34 +00:00
cg64f32.pas * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
cg64f64.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
cgbase.pas * fixed stackalloc to not allocate localst.datasize twice 2003-08-20 17:48:49 +00:00
cginfo.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
cgobj.pas * fixed regvars so they work with newra (at least for ppc) 2003-08-17 16:59:20 +00:00
charset.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
checkmem.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
cmsgs.pas * vmtpointer_offset must be adjusted in after_pass1 as well 2003-05-10 23:57:23 +00:00
comphook.pas * print lineinfo for internalerror 2003-04-26 19:32:31 +00:00
compiler.pas * add cgcpu 2003-05-22 21:39:51 +00:00
compinnr.inc
comprsrc.pas + emx target added 2003-03-23 23:11:17 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas
cstreams.pas
cutils.pas * fixed some range check errors that occurred on big endian systems 2003-07-05 20:06:28 +00:00
defbase.pas
defcmp.pas * allow pointer(int64) in all modes 2003-06-03 21:02:08 +00:00
defines.inc
defutil.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
depend
dmisc.pas
export.pas
finput.pas * sharedlib is placed in exe outputdir 2003-04-28 16:18:16 +00:00
fmodule.pas * re-resolving added instead of reloading from ppu 2003-06-07 20:26:32 +00:00
fpcdefs.inc * start of sparc support for newra 2003-08-11 21:18:20 +00:00
fppu.pas * moved message to msg file 2003-06-08 11:40:14 +00:00
gdb.pas
gendef.pas + emx target added 2003-03-23 23:11:17 +00:00
globals.pas * fix some small flaws which prevent sparc linux system unit from compiling 2003-05-23 22:33:48 +00:00
globtype.pas * cs_regalloc renamed to cs_regvars to avoid confusion with register 2003-08-09 18:56:54 +00:00
htypechk.pas * don't allow add/assignments for formaldef 2003-07-08 15:20:56 +00:00
impdef.pas
import.pas * aktprocdef renamed to current_procdef 2003-04-27 11:21:32 +00:00
link.pas * add inputfile prefix to ppas/link.res 2003-06-12 16:41:51 +00:00
make_old.cmd
Makefile * don't clean rtl unit dir in ppuclean, this breaks the snapshot 2003-04-15 18:22:07 +00:00
Makefile.fpc * don't clean rtl unit dir in ppuclean, this breaks the snapshot 2003-04-15 18:22:07 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc + added support of NewRA in compilation of ppcsparc 2003-08-11 13:21:01 +00:00
msgidx.inc * don't allow add/assignments for formaldef 2003-07-08 15:20:56 +00:00
msgtxt.inc * don't allow add/assignments for formaldef 2003-07-08 15:20:56 +00:00
nadd.pas * removed changesettype because that will change the definition 2003-06-05 20:05:55 +00:00
nbas.pas * cs_regalloc renamed to cs_regvars to avoid confusion with register 2003-08-09 18:56:54 +00:00
ncal.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
ncgadd.pas * sparc fixes 2003-07-08 21:23:24 +00:00
ncgbas.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
ncgcal.pas - removed parameter from fpc_iocheck 2003-08-21 22:14:16 +00:00
ncgcnv.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
ncgcon.pas * fixed endian issues when writing out set constants 2003-05-01 12:24:22 +00:00
ncgflw.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
ncginl.pas * several rg.allocexplicitregistersint/rg.deallocexplicitregistersint 2003-07-23 11:01:14 +00:00
ncgld.pas * Fixed the fixed trouble 2003-08-20 20:13:08 +00:00
ncgmat.pas * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
ncgmem.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
ncgopt.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
ncgset.pas * Some more R_NO changes 2003-08-20 20:29:06 +00:00
ncgutil.pas * Some more R_NO changes 2003-08-20 20:29:06 +00:00
ncnv.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
ncon.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
nflw.pas * Fixed register allocator. *Lots* of fixes. 2003-07-06 15:31:20 +00:00
ninl.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
nld.pas * don't allow add/assignments for formaldef 2003-07-08 15:20:56 +00:00
nmat.pas * fixed expectloc of notnode for all processors that have flags 2003-05-24 16:32:34 +00:00
nmem.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
nobj.pas * remove convert_registers 2003-08-21 14:47:41 +00:00
node.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
nopt.pas * disable string node optimizations for the moment 2003-05-26 21:15:18 +00:00
nset.pas * tcginnode.pass_2 doesn't call a helper anymore in any case 2003-06-12 22:09:54 +00:00
nstate.pas
nutils.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
ogbase.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
ogcoff.pas * fix range check error after previous commit 2003-04-23 11:37:15 +00:00
ogelf.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
oglx.pas
ogmap.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
options.pas * failn removed 2003-05-13 19:14:41 +00:00
owar.pas
owbase.pas
paramgr.pas * start of sparc support for newra 2003-08-11 21:18:20 +00:00
parser.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
pass_1.pas * firstpass uses expectloc 2003-04-22 23:50:22 +00:00
pass_2.pas * start of sparc support for newra 2003-08-11 21:18:20 +00:00
pbase.pas * removed selfpointer_offset, vmtpointer_offset 2003-05-15 18:58:53 +00:00
pdecl.pas * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
pdecobj.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
pdecsub.pas * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
pdecvar.pas * paraloc splitted in callerparaloc,calleeparaloc 2003-07-02 22:18:04 +00:00
pexports.pas
pexpr.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
pinline.pas * fixed copy support for array of char,pchar in $H+ mode 2003-08-21 15:10:51 +00:00
pmodules.pas * remove convert_registers 2003-08-21 14:47:41 +00:00
pp.pas * Fix halt() call 2003-07-07 19:59:41 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fixed some range check errors that occurred on big endian systems 2003-07-05 20:06:28 +00:00
pstatmnt.pas * sparc fixes 2003-07-08 21:23:24 +00:00
psub.pas * fixed stackalloc to not allocate localst.datasize twice 2003-08-20 17:48:49 +00:00
psystem.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
ptconst.pas * self moved to hidden parameter 2003-05-09 17:47:02 +00:00
ptype.pas * removed selfpointer_offset, vmtpointer_offset 2003-05-15 18:58:53 +00:00
rautils.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
README * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
regvars.pas * Notranslation changed into -sr functionality 2003-08-17 20:47:47 +00:00
rgobj.pas * Register allocator bugfix for h2pas 2003-08-23 10:46:21 +00:00
scandir.pas + emx target added 2003-03-23 23:11:17 +00:00
scanner.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
script.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
switches.pas
symbase.pas * sym,def resolving partly rewritten to support also parent objects 2003-06-25 18:31:23 +00:00
symconst.pas * start of sparc support for newra 2003-08-11 21:18:20 +00:00
symdef.inc
symdef.pas * start of sparc support for newra 2003-08-11 21:18:20 +00:00
symdefh.inc
symnot.pas
symppu.inc
symppu.pas * re-resolving added instead of reloading from ppu 2003-06-07 20:26:32 +00:00
symsym.inc
symsym.pas * Some more R_NO changes 2003-08-20 20:29:06 +00:00
symtable.pas * sym,def resolving partly rewritten to support also parent objects 2003-06-25 18:31:23 +00:00
symtype.pas * sym,def resolving partly rewritten to support also parent objects 2003-06-25 18:31:23 +00:00
symutil.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
systems.pas * merged macos entry/exit code generation into the general one. 2003-08-08 15:49:24 +00:00
tgobj.pas * fixed stackalloc to not allocate localst.datasize twice 2003-08-20 17:48:49 +00:00
tokens.pas * fixed some reported bugs 2003-08-10 17:25:23 +00:00
tpexcept.pas
verbose.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
version.pas * fixed a lot of PowerPC related stuff 2003-04-24 22:29: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