fpc/compiler
peter 9b00c7832e * support > 32bit accesses for x86_64
* rewrote array size checking to support 64bit
2004-11-01 23:30:11 +00:00
..
alpha * generic tlocation 2004-10-31 21:45:02 +00:00
arm * fixed arm compilation with cgutils 2004-11-01 17:41:28 +00:00
html
i386 * shortstr compare with empty string fixed 2004-11-01 12:43:28 +00:00
ia64
m68k * generic tlocation 2004-10-31 21:45:02 +00:00
msg * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +00:00
new * generic tlocation 2004-10-31 21:45:02 +00:00
powerpc * generic tlocation 2004-10-31 21:45:02 +00:00
sparc * generic tlocation 2004-10-31 21:45:02 +00:00
systems * heap and heapsize removed 2004-10-25 15:38:41 +00:00
utils * new unit dir 2004-10-31 18:40:51 +00:00
vis * generic tlocation 2004-10-31 21:45:02 +00:00
x86 * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +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 * generic tlocation 2004-10-31 21:45:02 +00:00
aoptcs.pas
aoptda.pas * fixed generic optimizer 2004-10-30 15:21:37 +00:00
aoptobj.pas * generic tlocation 2004-10-31 21:45:02 +00:00
assemble.pas * generic tlocation 2004-10-31 21:45:02 +00:00
browcol.pas * use SysUtils unit instead of Dos Unit 2004-10-14 16:53:26 +00:00
browlog.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
bsdcompile
catch.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cclasses.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cg64f32.pas * generic tlocation 2004-10-31 21:45:02 +00:00
cgbase.pas * generic tlocation 2004-10-31 21:45:02 +00:00
cgobj.pas * generic tlocation 2004-10-31 21:45:02 +00:00
cgutils.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +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 - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
defcmp.pas * procvar arguments need to be at least equal 2004-11-01 10:31:48 +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_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
fpcdefs.inc * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +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 * generic tlocation 2004-10-31 21:45:02 +00:00
globtype.pas * generic tlocation 2004-10-31 21:45:02 +00:00
htypechk.pas * give IE instead of crash when no procsym is passed for calln 2004-11-01 16:58:57 +00:00
impdef.pas * use SysUtils unit instead of Dos Unit 2004-10-14 17:26:04 +00:00
import.pas
link.pas * Merge is complete for this file, cycles ! 2004-10-14 16:25:39 +00:00
make_old.cmd
Makefile * units are now created in separate directory units/cpu-os/ 2004-10-30 12:36:43 +00:00
Makefile.fpc * units are now created in separate directory units/cpu-os/ 2004-10-30 12:36:43 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * fix compile problem 2004-07-26 04:00:35 +00:00
msgidx.inc * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +00:00
msgtxt.inc * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +00:00
nadd.pas * shortstr compare with empty string fixed 2004-11-01 12:43:28 +00:00
nbas.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncal.pas * removed wrong check for symtableprocentry 2004-11-01 18:16:48 +00:00
ncgadd.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +00:00
ncgbas.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgcal.pas * fixed arm compilation with cgutils 2004-11-01 17:41:28 +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 * small regvar fixes 2004-10-24 11:44:28 +00:00
ncginl.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgld.pas * support @labelsym 2004-11-01 15:32:12 +00:00
ncgmat.pas * generic tlocation 2004-10-31 21:45:02 +00:00
ncgmem.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +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 * generic tlocation 2004-10-31 21:45:02 +00:00
ncnv.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
ncon.pas
nflw.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ninl.pas - removed unnecessary printnode 2004-11-01 18:26:52 +00:00
nld.pas * support @labelsym 2004-11-01 15:32:12 +00:00
nmat.pas
nmem.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
nobj.pas * fixed writing of methodtable 2004-10-24 13:35:39 +00:00
node.pas * no checkpointer code for dynarr to openarr 2004-11-01 17:15:47 +00:00
nopt.pas
nset.pas
nstate.pas
nutils.pas * fix possible wrong typecast 2004-08-25 15:54: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 - 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 * shortstr compare with empty string fixed 2004-11-01 12:43:28 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas
parabase.pas * generic tlocation 2004-10-31 21:45:02 +00:00
paramgr.pas * generic tlocation 2004-10-31 21:45:02 +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 - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pdecobj.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pdecsub.pas * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +00:00
pdecvar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pexports.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pexpr.pas * support @labelsym 2004-11-01 15:32:12 +00:00
pinline.pas * temp for dynarray copy needs to be typed 2004-11-01 10:32:27 +00:00
pmodules.pas + All sections get names in macos 2004-10-31 15:29:39 +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 * paraloc branch merged 2004-09-21 17:25:12 +00:00
procinfo.pas * generic tlocation 2004-10-31 21:45:02 +00:00
pstatmnt.pas * remove non needed parathesys as in 1.140 2004-10-15 10:35:23 +00:00
psub.pas * $fpctarget expands to <cpu>-<os> 2004-10-31 18:54:24 +00:00
psystem.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ptconst.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
ptype.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas * generic tlocation 2004-10-31 21:45:02 +00:00
README
regvars.pas * uppdated in accordance to varregable for OLDREGVARS 2004-10-16 13:08:49 +00:00
rgbase.pas
rgobj.pas * regalloc bind to instructions need to get real ait_instruction 2004-11-01 10:34:08 +00:00
scandir.pas * -Ch for heapsize added again 2004-10-26 15:11:01 +00:00
scanner.pas * generic tlocation 2004-10-31 21:45:02 +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 * symlist typeconv for absolute fixed 2004-11-01 10:33:01 +00:00
symdef.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
symnot.pas
symsym.pas * generic tlocation 2004-10-31 21:45:02 +00:00
symtable.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
symtype.pas * support > 32bit accesses for x86_64 2004-11-01 23:30:11 +00:00
symutil.pas * generic tlocation 2004-10-31 21:45:02 +00:00
systems.pas * default target for x86_64 is linux 2004-11-01 15:42:00 +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 - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +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