fpc/compiler
2005-02-13 18:55:19 +00:00
..
alpha * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
arm + overflow checking for the arm 2005-02-13 18:55:19 +00:00
html
i386 + overflow checking for the arm 2005-02-13 18:55:19 +00:00
ia64 * logs truncated 2004-06-20 08:55:28 +00:00
m68k * remove copy_value_on_stack and a_param_copy_ref 2005-01-20 17:47:01 +00:00
msg * -Fa option added, it'll load the units before the uses 2005-02-06 21:33:28 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc + overflow checking for the arm 2005-02-13 18:55:19 +00:00
sparc + overflow checking for the arm 2005-02-13 18:55:19 +00:00
systems * cleanups, finalized vlink support 2005-02-11 07:23:22 +00:00
utils * move tools to compiler/utils/ 2005-02-05 10:25:30 +00:00
vis * load jmp_buf_size from system unit 2005-01-20 16:38:45 +00:00
x86 + x86_64 pic draft 2005-02-06 00:05:56 +00:00
x86_64 * arrays are always passed by addr 2005-02-06 18:59:15 +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 + x86_64 pic draft 2005-02-06 00:05:56 +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 * 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 + Added fake Exception classes, only for MACOS. 2005-01-31 21:30:56 +00:00
cclasses.pas * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +00:00
cg64f32.pas + overflow checking for the arm 2005-02-13 18:55:19 +00:00
cgbase.pas * fixed class field info alignment 2004-12-27 15:54:54 +00:00
cgobj.pas + overflow checking for the arm 2005-02-13 18:55:19 +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 * In MPW, whole path to source file is now displayed in messages. 2005-01-24 18:12:17 +00:00
compiler.pas + overflow checking for the arm 2005-02-13 18:55:19 +00:00
compinnr.inc * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
comprsrc.pas + Mac style resource files can now be included in MacOS 2005-01-24 18:10:20 +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 * use val() for decoding integers 2005-01-20 17:05:53 +00:00
defcmp.pas + support for another explicit ugly delphi type cast added 2005-02-03 19:24:33 +00:00
defutil.pas * fix win32 small array parameters 2005-02-03 17:10:21 +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 * unit mapping rewrite 2005-01-19 22:19:41 +00:00
fpcdefs.inc * fixed compilation on MacOS 2005-02-08 22:33:51 +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 * logs truncated 2004-06-20 08:55:28 +00:00
globals.pas * fixed compilation on MacOS 2005-02-08 22:33:51 +00:00
globtype.pas * removed $threading 2005-02-06 11:15:31 +00:00
htypechk.pas * delphi assumes dyn. array access make expressions l-values because it's internally a pointer 2005-02-02 22:16:39 +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-02-03 20:33:26 +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 * fix compile problem 2004-07-26 04:00:35 +00:00
MPWMake + msg2inc now executed, utils is compiled 2005-01-24 18:18:46 +00:00
msgidx.inc * -Fa option added, it'll load the units before the uses 2005-02-06 21:33:28 +00:00
msgtxt.inc * -Fa option added, it'll load the units before the uses 2005-02-06 21:33:28 +00:00
nadd.pas + Added fake Exception classes, only for MACOS. 2005-01-31 21:30:56 +00:00
nbas.pas * fix laststatement() 2005-01-31 16:15:17 +00:00
ncal.pas * inherited; works now in delphi mode for private methods; looks like a delphi bug 2005-02-01 22:50:50 +00:00
ncgadd.pas + overflow checking for the arm 2005-02-13 18:55:19 +00:00
ncgbas.pas * fix [regpara] in intel assembler 2005-01-31 17:07:50 +00:00
ncgcal.pas * fixed darwin cycle 2005-01-30 21:51:57 +00:00
ncgcnv.pas * fix interface vtbl optimization 2005-01-09 15:05:29 +00:00
ncgcon.pas * another guid range check error 2005-01-31 19:41:01 +00:00
ncgflw.pas * for-node cleanup, checking for uninitialzed from and to values 2005-01-31 16:16:21 +00:00
ncginl.pas + overflow checking for the arm 2005-02-13 18:55:19 +00:00
ncgld.pas * data with inittables need to have a memory location assigned 2005-02-10 21:54:36 +00:00
ncgmat.pas + overflow checking for the arm 2005-02-13 18:55:19 +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 * fixed darwin cycle 2005-01-30 21:51:57 +00:00
ncnv.pas * in delphi mode const sets from enumerations with values > 255 are allowed if these elements aren't used 2005-02-03 18:43:59 +00:00
ncon.pas * logs truncated 2004-06-20 08:55:28 +00:00
nflw.pas * set varstate before parsing the instruction block in for statements 2005-01-31 20:23:53 +00:00
ninl.pas * low(var) var must be valid 2005-02-04 16:30:56 +00:00
nld.pas * fix IE with array of const in array of conts 2005-02-11 16:25:26 +00:00
nmat.pas * logs truncated 2004-06-20 08:55:28 +00:00
nmem.pas * fix lineinfo for with blocks 2004-12-26 16:22:01 +00:00
nobj.pas * remove obsolete code 2005-02-10 22:08:03 +00:00
node.pas * set nf_is_self node flag when self is loaded 2005-01-04 16:39:46 +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 * 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 * logs truncated 2004-06-20 08:55:28 +00:00
options.pas * -Fa option added, it'll load the units before the uses 2005-02-06 21:33:28 +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 darwin cycle 2005-01-30 21:51:57 +00:00
paramgr.pas * dyn. arrays are returned in registers 2005-02-08 16:40:16 +00:00
parser.pas * fixed call to build sourcefiles needed for ide 2005-02-10 20:06:34 +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 * unit mapping rewrite 2005-01-19 22:19:41 +00:00
pdecl.pas * interface wrapper generation moved to cgobj 2005-01-24 22:08:32 +00:00
pdecobj.pas * Patch from peter: fix macpas anonymous function procvar 2005-02-01 08:46:13 +00:00
pdecsub.pas * more procvar directive fixes 2005-02-03 17:11:40 +00:00
pdecvar.pas * more procvar directive fixes 2005-02-03 17:11:40 +00:00
pexports.pas * tvarsym splitted 2004-11-08 22:09:58 +00:00
pexpr.pas * fixed precedence of is-operator 2005-02-06 20:29:12 +00:00
pinline.pas * procvar handling for tp procvar mode fixed 2004-12-05 12:28:10 +00:00
pmodules.pas * -Fa option added, it'll load the units before the uses 2005-02-06 21:33:28 +00:00
pp.lpi - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pp.pas + overflow checking for the arm 2005-02-13 18:55:19 +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 + ppu files now has FPas as creator code on MacOS 2005-01-24 17:46:18 +00:00
procinfo.pas * generic tlocation 2004-10-31 21:45:02 +00:00
pstatmnt.pas * don't set varstate to vs_used for record in with at start yet 2005-02-11 16:24:59 +00:00
psub.pas * fix aftercosntruction calls, vmt=1 is used to indicate that 2005-01-04 16:36:31 +00:00
psystem.pas * disable longstring 2005-02-04 16:30:40 +00:00
ptconst.pas + allow to take the address of a resourcestring in typed constants 2005-02-02 19:42:19 +00:00
ptype.pas * Patch from peter: fix macpas anonymous function procvar 2005-02-01 08:46:13 +00:00
raatt.pas * use val() for decoding integers 2005-01-20 17:05:53 +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 * fix [regpara] in intel assembler 2005-01-31 17:07:50 +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 * removed $threading 2005-02-06 11:15:31 +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 * add info that a procedure is local in error messages 2005-01-30 11:26:40 +00:00
symdef.pas + overflow checking for the arm 2005-02-13 18:55:19 +00:00
symnot.pas * logs truncated 2004-06-20 08:55:28 +00:00
symsym.pas * fix range check error when compiled with 1.9.6 2005-02-03 21:43:25 +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 + x86_64 pic draft 2005-02-06 00:05:56 +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
verbose.pas -vz for output to stderr 2005-02-07 17:25:28 +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