fpc/compiler
2005-01-22 20:05:51 +00:00
..
alpha * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
arm * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
html
i386 * use val() for decoding integers 2005-01-20 17:05:53 +00:00
ia64
m68k * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
msg * update from Ido Kanner aka ik_5 2005-01-22 20:05:51 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
sparc * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
systems + Added this confirmation from Apple Computer about our ownership of the MacOS creator code 'FPas' 2005-01-13 21:29:19 +00:00
utils * unit mapping rewrite 2005-01-19 22:19:41 +00:00
vis * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
x86 * fixed loadaddr; I wonder how it ever worked 2005-01-08 16:00:55 +00:00
x86_64 * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
aasmbase.pas * fix for 1.9.4 that IE'd when rebuilding fpc 2004-12-03 15:57: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 * maybequoted() added 2004-12-22 16:32:45 +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 * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +00:00
cg64f32.pas * multiple location support for i386 a_param_ref 2005-01-18 22:19:20 +00:00
cgbase.pas * fixed class field info alignment 2004-12-27 15:54:54 +00:00
cgobj.pas * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
cgutils.pas * changed funcret location back to tlocation 2004-11-21 17:17:03 +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 * fixed typo in MPW error msg 2004-12-28 22:02:05 +00:00
compiler.pas * rework of macro subsystem 2005-01-09 20:24:43 +00:00
compinnr.inc * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
comprsrc.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
COPYING + Added license to this library 2004-11-29 19:16:43 +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 * use val() for decoding integers 2005-01-20 17:05:53 +00:00
defcmp.pas * widestring patches from Alexey Barkovoy 2005-01-10 22:10:26 +00:00
defutil.pas * widestring patches from Alexey Barkovoy 2005-01-10 22:10:26 +00:00
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 * unit mapping rewrite 2005-01-19 22:19:41 +00:00
fpcdefs.inc * fixed morphos syscall 2004-11-14 16:26:29 +00:00
fppu.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
gdb.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
gendef.pas
globals.pas * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
globtype.pas * fixed nan et al. handling on arm 2005-01-04 16:20:51 +00:00
htypechk.pas * taking the address of a resourcestring is allowed now 2005-01-19 23:23:12 +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 * increased maxsize of ExeCmd and DllCmd 2005-01-01 20:18:24 +00:00
make_old.cmd
Makefile * regenerated 2005-01-11 17:07:45 +00:00
Makefile.fpc * updated makefile.fpc versions to 1.9.7, regenerated makefiles 2005-01-10 22:49:56 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake + first version 2004-12-31 21:34:33 +00:00
msgidx.inc * fixed -vv 2005-01-20 17:29:07 +00:00
msgtxt.inc * fixed -vv 2005-01-20 17:29:07 +00:00
nadd.pas * fixed some tabs 2005-01-16 11:56:37 +00:00
nbas.pas * use tlocation for tempnodes 2004-12-03 16:04:47 +00:00
ncal.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
ncgadd.pas * optimized register usage for non-x86 e.g. 3 operand cpus 2005-01-20 21:28:52 +00:00
ncgbas.pas * compile fixes for x86_64 2004-12-12 12:56:18 +00:00
ncgcal.pas * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
ncgcnv.pas * fix interface vtbl optimization 2005-01-09 15:05:29 +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 * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
ncgld.pas * don't release temps for array of ansistring 2005-01-04 16:37:09 +00:00
ncgmat.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgmem.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
ncgopt.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgset.pas * better commenting 2005-01-04 20:14:40 +00:00
ncgutil.pas * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
ncnv.pas * fix crash with -CR 2005-01-09 15:04:36 +00:00
ncon.pas
nflw.pas * fix unreachable code check for repeat loop 2005-01-16 14:44:03 +00:00
ninl.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
nld.pas * resourcestring does not need exception frame 2004-12-26 16:21:39 +00:00
nmat.pas
nmem.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +00:00
nobj.pas * write realname for published methods 2005-01-10 20:41:55 +00:00
node.pas * set nf_is_self node flag when self is loaded 2005-01-04 16:39:46 +00:00
nopt.pas
nset.pas * patch from Peter to fix inlining of case statements 2004-11-30 18:13:39 +00:00
nstate.pas
nutils.pas * set nf_is_self node flag when self is loaded 2005-01-04 16:39:46 +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 * Cleanup of writing of relocations to symbols 2005-01-10 15:54:59 +00:00
oglx.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ogmap.pas
options.pas * use val() for decoding integers 2005-01-20 17:05:53 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas
parabase.pas * multiple location support for i386 a_param_ref 2005-01-18 22:19:20 +00:00
paramgr.pas * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
parser.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
pass_1.pas
pass_2.pas
pbase.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
pdecl.pas * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
pdecobj.pas * fix invalid typecast 2004-12-26 20:11:39 +00:00
pdecsub.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
pdecvar.pas * widechararray patch from Peter 2005-01-06 13:30:40 +00:00
pexports.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
pexpr.pas * use val() for decoding integers 2005-01-20 17:05:53 +00:00
pinline.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
pmodules.pas * unit mapping rewrite 2005-01-19 22:19:41 +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 * unit mapping rewrite 2005-01-19 22:19:41 +00:00
procinfo.pas * generic tlocation 2004-10-31 21:45:02 +00:00
pstatmnt.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +00:00
psub.pas * fix aftercosntruction calls, vmt=1 is used to indicate that 2005-01-04 16:36:31 +00:00
psystem.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
ptconst.pas * fix interface vtbl optimization 2005-01-09 15:05:29 +00:00
ptype.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
raatt.pas * use val() for decoding integers 2005-01-20 17:05:53 +00:00
rabase.pas
rasm.pas
rautils.pas * use val() for decoding integers 2005-01-20 17:05:53 +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 * $COPERATORS added 2005-01-20 17:32:33 +00:00
scanner.pas * use val() for decoding integers 2005-01-20 17:05:53 +00:00
script.pas * missing maybequoted() added for deletion of generated .s files during external assembly 2004-12-27 19:48:58 +00:00
switches.pas * made macpas switches in sync with turbo switches 2005-01-04 18:39:06 +00:00
symbase.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
symconst.pas * rework of macro subsystem 2005-01-09 20:24:43 +00:00
symdef.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
symnot.pas
symsym.pas * rework of macro subsystem 2005-01-09 20:24:43 +00:00
symtable.pas * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
symtype.pas * unit mapping rewrite 2005-01-19 22:19:41 +00:00
symutil.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
systems.pas * 8.3 fixes (short target name in paths) 2004-12-28 20:43:00 +00:00
tgobj.pas * changed funcret location back to tlocation 2004-11-21 17:17:03 +00:00
tokens.pas * more SysV call support stuff for MorphOS 2005-01-06 02:13:03 +00:00
tpexcept.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
verbose.pas * fixed -vv 2005-01-20 17:29:07 +00:00
version.pas * build wordversion from constants 2005-01-19 21:10:15 +00:00
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