fpc/compiler
2005-12-06 19:39:59 +00:00
..
alpha
arm
html
i386 * fixed crash when an optimized sequence extends till the start of an 2005-12-02 11:09:13 +00:00
ia64
m68k * fixed m68k compilation while sitting bored in the train 2005-11-25 23:08:46 +00:00
mips
msg * apptype causes only a note on system not supporting apptype 2005-11-26 21:54:15 +00:00
powerpc
powerpc64
sparc
systems * cross-darwin support 2005-11-20 22:13:23 +00:00
utils * makefile updates after last changes for successful build on ppc64/linux 2005-12-04 13:07:37 +00:00
vis
x86 * fixed m68k compilation while sitting bored in the train 2005-11-25 23:08:46 +00:00
x86_64
aasmbase.pas
aasmtai.pas
aggas.pas
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas
browcol.pas
browlog.pas
bsdcompile
catch.pas
cclasses.pas
cg64f32.pas
cgbase.pas
cgobj.pas
cgutils.pas
charset.pas
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc
comprsrc.pas
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas
cstreams.pas
cutils.pas
dbgbase.pas
dbgdwarf.pas
dbgstabs.pas
defcmp.pas
defutil.pas
dwarf.pas
export.pas
finput.pas
fmodule.pas
fpccrc.pas * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas
globtype.pas
htypechk.pas
impdef.pas
import.pas
link.pas
make_old.cmd
Makefile * makefile updates after last changes for successful build on ppc64/linux 2005-12-04 13:07:37 +00:00
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * apptype causes only a note on system not supporting apptype 2005-11-26 21:54:15 +00:00
msgtxt.inc * apptype causes only a note on system not supporting apptype 2005-11-26 21:54:15 +00:00
nadd.pas
nbas.pas
ncal.pas
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncginl.pas
ncgld.pas
ncgmat.pas
ncgmem.pas
ncgopt.pas
ncgset.pas
ncgutil.pas
ncnv.pas
ncon.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
nflw.pas
ninl.pas * allow pred/succ on non continous enumerations in delphi mode 2005-12-04 18:35:19 +00:00
nld.pas
nmat.pas
nmem.pas
nobj.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
optcse.pas
options.pas
optunrol.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas
pass_1.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
pass_2.pas
pbase.pas
pdecl.pas
pdecobj.pas
pdecsub.pas * also make "out" shortstring parameters openstrings if required 2005-12-06 19:39:59 +00:00
pdecvar.pas * fixed issue with static fields 2005-11-22 22:08:11 +00:00
pexports.pas
pexpr.pas + support exit(); 2005-11-22 21:27:56 +00:00
pinline.pas
pmodules.pas
pp.lpi
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
procinfo.pas
pstatmnt.pas
psub.pas
psystem.pas
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas
README
regvars.pas
rgbase.pas
rgobj.pas
scandir.pas * apptype causes only a note on system not supporting apptype 2005-11-26 21:54:15 +00:00
scanner.pas * resolve postponed local switch changes before switching mode 2005-12-04 19:36:57 +00:00
script.pas Fixed Unix2Amiga path conversions for external asm script 2005-11-24 11:41:59 +00:00
switches.pas
symbase.pas
symconst.pas
symdef.pas * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
symnot.pas
symsym.pas
symtable.pas
symtype.pas
symutil.pas
systems.pas
tgobj.pas
tokens.pas
verbose.pas
version.pas
widestr.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +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