fpc/compiler
2004-12-18 15:48:06 +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 * the optimization fstp f;fld f to fst f disabled; leads to rounding problems 2004-12-18 15:21:56 +00:00
ia64 * logs truncated 2004-06-20 08:55:28 +00:00
m68k * some m68k stuff updated 2004-11-27 16:16:02 +00:00
msg * external is again allowed in implementation 2004-12-15 16:00:16 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc * syscall with sysv abi for morphos 2004-12-15 19:30:32 +00:00
sparc * fixed some alignment trouble 2004-12-18 15:48:06 +00:00
systems * made some target short names look more nicer 2004-12-11 14:39:03 +00:00
utils * Makefiles regenerated 2004-12-05 16:54:46 +00:00
vis * generic tlocation 2004-10-31 21:45:02 +00:00
x86 * fixed operand size calculation for sse operands 2004-12-12 10:50:34 +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 * logs truncated 2004-06-20 08:55:28 +00:00
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 * 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 operand size calculation for sse operands 2004-12-12 10:50:34 +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 * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +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 * logs truncated 2004-06-20 08:55:28 +00:00
cresstr.pas * resource ansistrings now use aint for len and ref. count as well 2004-11-01 20:22:04 +00:00
cstreams.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 * logs truncated 2004-06-20 08:55:28 +00:00
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 * logs truncated 2004-06-20 08:55:28 +00:00
globals.pas * introduction "cleanpath" (=fexpand), fixfilename(paramstr(0)) + search $PREFIX/etc/fpc.cfg 2004-12-15 16:06:47 +00:00
globtype.pas * disable inlining across units when the inline procedure references 2004-12-15 21:08:15 +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 First check outputunitdir/outputexedir for .o file 2004-11-03 22:22:51 +00:00
make_old.cmd
Makefile * small optimization with options passed to cycle 2004-12-12 12:33:25 +00:00
Makefile.fpc * small optimization with options passed to cycle 2004-12-12 12:33:25 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * fix compile problem 2004-07-26 04:00:35 +00:00
msgidx.inc * external is again allowed in implementation 2004-12-15 16:00:16 +00:00
msgtxt.inc * external is again allowed in implementation 2004-12-15 16:00:16 +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 * disable inlining across units when the inline procedure references 2004-12-15 21:08:15 +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 - removed superfluous location_force_reg() in second_nothing 2004-12-11 15:25:40 +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 * set vo_explicit_paraloc flag 2004-12-07 16:11:52 +00:00
ncon.pas * logs truncated 2004-06-20 08:55:28 +00:00
nflw.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
ninl.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
nld.pas * Convert array of widechar to pwidechar instead of pchar 2004-12-07 13:52:54 +00:00
nmat.pas * logs truncated 2004-06-20 08:55:28 +00:00
nmem.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +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 * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
nopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
nset.pas * patch from Peter to fix inlining of case statements 2004-11-30 18:13:39 +00:00
nstate.pas * logs truncated 2004-06-20 08:55:28 +00:00
nutils.pas * external is again allowed in implementation 2004-12-15 16:00:16 +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 * logs truncated 2004-06-20 08:55:28 +00:00
options.pas * slash typo 2004-12-16 08:06:42 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 * logs truncated 2004-06-20 08:55:28 +00:00
pass_2.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
pdecsub.pas * syscall with sysv abi for morphos 2004-12-15 19:30:32 +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 implicit load of variants unit 2004-12-06 19:23:05 +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 * logs truncated 2004-06-20 08:55:28 +00:00
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 * set vo_explicit_paraloc flag 2004-12-07 16:11:52 +00:00
psub.pas * disable inlining across units when the inline procedure references 2004-12-15 21:08:15 +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 * os2 fixes for import 2004-11-29 18:50:15 +00:00
rabase.pas * logs truncated 2004-06-20 08:55:28 +00:00
rasm.pas * logs truncated 2004-06-20 08:55:28 +00:00
rautils.pas * fixed operand size calculation for sse operands 2004-12-12 10:50:34 +00:00
README
regvars.pas * uppdated in accordance to varregable for OLDREGVARS 2004-10-16 13:08:49 +00:00
rgbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
symdef.pas * modified algorithm for shortening manglednames to fix compilation 2004-12-07 15:41:11 +00:00
symnot.pas * logs truncated 2004-06-20 08:55:28 +00:00
symsym.pas * set vo_explicit_paraloc flag 2004-12-07 16:11:52 +00:00
symtable.pas * fix visibility of protected/private 2004-12-15 15:59:54 +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 * check if the selected assembler supports current target improved 2004-12-12 00:35:19 +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 * logs truncated 2004-06-20 08:55:28 +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