fpc/compiler
2004-12-29 11:54:58 +00:00
..
alpha * generic tlocation 2004-10-31 21:45:02 +00:00
arm * fixed arm compilation 2004-11-24 22:03:26 +00:00
html
i386 * fixed several regvar related bugs, cycle with -OZp3r doesn't work 2004-12-28 18:01:40 +00:00
ia64
m68k * some m68k stuff updated 2004-11-27 16:16:02 +00:00
msg + Fixed interface style help 2004-12-29 11:54:58 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc * fixed compilation for PowerPC 2004-12-28 02:25:43 +00:00
sparc * fixed some alignment trouble 2004-12-18 15:48:06 +00:00
systems + suppression of link varning of 'qd' 2004-12-28 22:00:15 +00:00
utils + script which mimics the fpc program on MPW 2004-12-28 22:07:11 +00:00
vis * generic tlocation 2004-10-31 21:45:02 +00:00
x86 * support sizeof() 2004-12-22 17:09:55 +00:00
x86_64 * generic optimizer 2004-12-12 14:07:07 +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 * LOC_CREGISTER fix 2004-12-03 15:58:11 +00:00
cgbase.pas * fixed class field info alignment 2004-12-27 15:54:54 +00:00
cgobj.pas * patch from Peter to fix inlining of case statements 2004-11-30 18:13:39 +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 * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +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 * tparaitem removed, use tparavarsym instead 2004-11-15 23:35:30 +00:00
defcmp.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
defutil.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +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 * 8.3 fixes (short target name in paths) 2004-12-28 20:43:00 +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 * 8.3 fixes (short target name in paths) 2004-12-28 20:43:00 +00:00
globtype.pas * set flag if a procedure references a symbol in staticsymtable 2004-12-27 16:35:48 +00:00
htypechk.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +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 * maybequoted() added 2004-12-22 16:32:45 +00:00
make_old.cmd
Makefile * regenerated 2004-12-20 18:37:51 +00:00
Makefile.fpc * regenerated 2004-12-19 17:42:32 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * fix compile problem 2004-07-26 04:00:35 +00:00
msgidx.inc * don't allow class methods in interfaces 2004-12-26 20:12:23 +00:00
msgtxt.inc * don't allow class methods in interfaces 2004-12-26 20:12:23 +00:00
nadd.pas * fix methodpointer compare, compare only the proc field 2004-12-06 15:57:22 +00:00
nbas.pas * use tlocation for tempnodes 2004-12-03 16:04:47 +00:00
ncal.pas * fix crash with callnode.ppuload when symtableproc=nil 2004-12-27 16:36:10 +00:00
ncgadd.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +00:00
ncgbas.pas * compile fixes for x86_64 2004-12-12 12:56:18 +00:00
ncgcal.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
ncgcnv.pas * typecast float to non-float needs a move to memory 2004-12-26 20:09:35 +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 * fixed some alignment trouble 2004-12-18 15:48:06 +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 * fixed regvar problem due to emit_bit_test() changing a register that 2004-12-11 01:04:26 +00:00
ncgutil.pas * external is again allowed in implementation 2004-12-15 16:00:16 +00:00
ncnv.pas * also don't call procvar when converting to procvar 2004-12-27 16:54:29 +00:00
ncon.pas
nflw.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +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 * also compare procoptions and proctype when searching interface 2004-12-26 20:16:44 +00:00
node.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +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 * fix lineinfo for with blocks 2004-12-26 16:22:01 +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 * 8.3 fixes (short target name in paths) 2004-12-28 20:43:00 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas
parabase.pas * fixed varargs 2004-11-22 22:01:19 +00:00
paramgr.pas * changed funcret location back to tlocation 2004-11-21 17:17:03 +00:00
parser.pas * heap and heapsize removed 2004-10-25 15:38:41 +00:00
pass_1.pas
pass_2.pas
pbase.pas * finally is an "endtoken" as well 2004-08-08 12:06:38 +00:00
pdecl.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
pdecobj.pas * fix invalid typecast 2004-12-26 20:11:39 +00:00
pdecsub.pas * don't parse public,private,protected as procdirectives, leave 2004-12-27 17:32:06 +00:00
pdecvar.pas * external vars are not regable 2004-12-11 15:19:08 +00:00
pexports.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
pexpr.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +00:00
pinline.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
pmodules.pas implicit load of variants unit 2004-12-06 19:23:05 +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 implicit load of variants unit 2004-12-06 19:23:05 +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 * set flag if a procedure references a symbol in staticsymtable 2004-12-27 16:35:48 +00:00
psystem.pas * set vo_explicit_paraloc flag 2004-12-07 16:11:52 +00:00
ptconst.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
ptype.pas * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
raatt.pas * support sizeof() 2004-12-22 17:09:55 +00:00
rabase.pas
rasm.pas
rautils.pas * support sizeof() 2004-12-22 17:09:55 +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 * missing maybequoted() added for deletion of generated .s files during external assembly 2004-12-27 19:48:58 +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 * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
symdef.pas * fixed class field info alignment 2004-12-27 15:54:54 +00:00
symnot.pas
symsym.pas * set vo_explicit_paraloc flag 2004-12-07 16:11:52 +00:00
symtable.pas * set flag if a procedure references a symbol in staticsymtable 2004-12-27 16:35:48 +00:00
symtype.pas * 64bit typecast 2004-12-15 21:09:06 +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 * 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