fpc/compiler
2004-11-20 14:39:27 +00:00
..
alpha * generic tlocation 2004-10-31 21:45:02 +00:00
arm * fixed compile of powerpc,sparc,arm 2004-11-11 19:31:33 +00:00
html
i386 * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
ia64
m68k * small m68k updates to bring it up2date 2004-11-09 22:32:59 +00:00
msg mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
sparc * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
systems * fixed setting of mangledname when importing 2004-11-19 16:30:24 +00:00
utils * fix for " Split po_public into po_public and po_global" 2004-11-19 08:33:02 +00:00
vis * generic tlocation 2004-10-31 21:45:02 +00:00
x86 * tvarsym splitted 2004-11-08 22:09:58 +00:00
x86_64 * cg64f64 isn't used anymore 2004-11-01 17:44:27 +00:00
aasmbase.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
aasmtai.pas * regalloc bind to instructions need to get real ait_instruction 2004-11-01 10:34:08 +00:00
aggas.pas * support rodata like data when writing ordinal cosnts 2004-10-24 13:35:25 +00:00
aopt.pas * generic tlocation 2004-10-31 21:45:02 +00:00
aoptbase.pas * fixed missing cgutils usage 2004-11-03 17:51:58 +00:00
aoptcs.pas
aoptda.pas * fixed generic optimizer 2004-10-30 15:21:37 +00:00
aoptobj.pas * fixed missing cgutils usage 2004-11-03 17:51:58 +00:00
assemble.pas * small m68k updates to bring it up2date 2004-11-09 22:32:59 +00:00
browcol.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
browlog.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
bsdcompile
catch.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cclasses.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
cg64f32.pas * generic tlocation 2004-10-31 21:45:02 +00:00
cgbase.pas * small m68k updates to bring it up2date 2004-11-09 22:32:59 +00:00
cgobj.pas * better code generation for copying of open arrays 2004-11-08 21:47:39 +00:00
cgutils.pas * small m68k updates to bring it up2date 2004-11-09 22:32:59 +00:00
charset.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cmsgs.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
comphook.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
compiler.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
compinnr.inc
comprsrc.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas * resource ansistrings now use aint for len and ref. count as well 2004-11-01 20:22:04 +00:00
cstreams.pas
cutils.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
defcmp.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
defutil.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
depend
dwarf.pas * generic tlocation 2004-10-31 21:45:02 +00:00
export.pas
finput.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
fmodule.pas use filepos of main when generating the module stabs 2004-11-04 23:59:13 +00:00
fpcdefs.inc * fixed morphos syscall 2004-11-14 16:26:29 +00:00
fppu.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
gdb.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
gendef.pas
globals.pas * fixed arm compilation 2004-11-05 13:14:30 +00:00
globtype.pas * generic tlocation 2004-10-31 21:45:02 +00:00
htypechk.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
impdef.pas * use SysUtils unit instead of Dos Unit 2004-10-14 17:26:04 +00:00
import.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
link.pas First check outputunitdir/outputexedir for .o file 2004-11-03 22:22:51 +00:00
make_old.cmd
Makefile * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
Makefile.fpc * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
msgidx.inc mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
msgtxt.inc mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
nadd.pas * nf_internal flag for internal inserted typeconvs. This will 2004-11-02 12:55:16 +00:00
nbas.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncal.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
ncgadd.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +00:00
ncgbas.pas * fixed compile of powerpc,sparc,arm 2004-11-11 19:31:33 +00:00
ncgcal.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
ncgcnv.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +00:00
ncgcon.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgflw.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ncginl.pas * include/exclude for sets in registers fixed 2004-11-08 21:59:34 +00:00
ncgld.pas * fixed wrong typecasts 2004-11-09 17:26:47 +00:00
ncgmat.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgmem.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ncgopt.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgset.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgutil.pas * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
ncnv.pas * copy totype field in ttypeconvnode.getcopy() 2004-11-02 20:15:53 +00:00
ncon.pas
nflw.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ninl.pas * use helper call to retrieve address of input/output to reduce 2004-11-09 23:10:22 +00:00
nld.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
nmat.pas
nmem.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
nobj.pas * write nil entry after last entry to vmt table so the size of the vmt can be determined 2004-11-20 14:39:27 +00:00
node.pas * nf_internal flag for internal inserted typeconvs. This will 2004-11-02 12:55:16 +00:00
nopt.pas
nset.pas
nstate.pas
nutils.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ogbase.pas * Dos and cpubase units in uses clause are not needed 2004-10-14 17:37:46 +00:00
ogcoff.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ogelf.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
oglx.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ogmap.pas
options.pas mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas
parabase.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
paramgr.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
parser.pas * heap and heapsize removed 2004-10-25 15:38:41 +00:00
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
pdecobj.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
pdecsub.pas * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
pdecvar.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
pexports.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
pexpr.pas mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
pinline.pas * dyn. array dimensions are now stored as sinttype so it's target register size dependend 2004-11-02 18:37:08 +00:00
pmodules.pas * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
pp.lpi - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas * fixed compile error 2004-10-18 14:39:22 +00:00
ppu.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
procinfo.pas * generic tlocation 2004-10-31 21:45:02 +00:00
pstatmnt.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
psub.pas * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
psystem.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ptconst.pas * fixed wrong typecasts 2004-11-09 17:26:47 +00:00
ptype.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
raatt.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
rabase.pas
rasm.pas
rautils.pas * small m68k updates to bring it up2date 2004-11-09 22:32:59 +00:00
README
regvars.pas * uppdated in accordance to varregable for OLDREGVARS 2004-10-16 13:08:49 +00:00
rgbase.pas
rgobj.pas * fatal error when procedure is too complex 2004-11-14 21:08:27 +00:00
scandir.pas * check extension of library if it needs to be linked static 2004-11-06 17:58:10 +00:00
scanner.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
script.pas * minor fix for macos 2004-08-20 10:23:35 +00:00
switches.pas browser disabled 2004-08-27 21:59:26 +00:00
symbase.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
symconst.pas * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
symdef.pas * make some checks EXTDEBUG only for now so linux cycles again 2004-11-17 22:41:41 +00:00
symnot.pas
symsym.pas mangledname setting moved to place after the complete proc declaration is read 2004-11-17 22:21:35 +00:00
symtable.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
symtype.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
symutil.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
systems.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
tgobj.pas * generic tlocation 2004-10-31 21:45:02 +00:00
tokens.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
tpexcept.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
verbose.pas * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
version.pas
widestr.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +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
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