fpc/compiler
2005-09-23 10:02:53 +00:00
..
alpha
arm * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
html
i386
ia64
m68k
mips
msg
powerpc * finally fix for fixing up conditional jumps that are too long 2005-09-23 10:02:53 +00:00
sparc
systems * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
utils * fixed fppkg for x86-64 2005-09-14 20:26:12 +00:00
vis
x86
x86_64
aasmbase.pas
aasmtai.pas
aggas.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
aopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
assemble.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
browcol.pas
browlog.pas
bsdcompile * Simple script which specifies the right params for a try out BSD build 2000-04-11 13:06:25 +00:00
catch.pas
cclasses.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
cg64f32.pas
cgbase.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
cgobj.pas
cgutils.pas
charset.pas
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc
comprsrc.pas + wince resource compiler support 2005-09-06 20:28:03 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas
cstreams.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cutils.pas
dbgbase.pas
dbgdwarf.pas
dbgstabs.pas
defcmp.pas
defutil.pas
dwarf.pas
export.pas
finput.pas
fmodule.pas
fpcdefs.inc + softfloat support for wince 2005-08-28 12:40:43 +00:00
fppu.pas
gdb.pas
gendef.pas
globals.pas
globtype.pas + fpcylix unit 2005-09-18 08:34:51 +00:00
htypechk.pas * allow deref of loop variable 2005-08-30 05:51:39 +00:00
impdef.pas
import.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
link.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
make_old.cmd
Makefile
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc
msgtxt.inc
nadd.pas
nbas.pas
ncal.pas
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas * fix wrong typecast for smallset 2005-09-20 13:51:17 +00:00
ncgflw.pas
ncginl.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgld.pas
ncgmat.pas
ncgmem.pas
ncgopt.pas
ncgset.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgutil.pas
ncnv.pas
ncon.pas - removed "INT64FUNCRESOK" define (no longer defined and already fixed, 2005-08-21 17:08:16 +00:00
nflw.pas
ninl.pas
nld.pas
nmat.pas
nmem.pas * allow widechar for indexing arrays, fixes 4115 2005-06-25 21:06:53 +00:00
nobj.pas
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas
ogbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
optcse.pas * fixed some small problems in loop unrolling 2005-06-19 21:00:27 +00:00
options.pas + fpcylix unit 2005-09-18 08:34:51 +00:00
optunrol.pas
owar.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
owbase.pas
parabase.pas
paramgr.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
parser.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
pdecobj.pas * fixed support for anonymous class/object definitions in macpas mode 2005-07-26 10:11:39 +00:00
pdecsub.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
pdecvar.pas * rename al_code to al_procedures, al_bss/al_data to al_globals 2005-09-15 06:51:12 +00:00
pexports.pas
pexpr.pas * support for widestrings in tconstsym 2005-07-18 12:54:15 +00:00
pinline.pas
pmodules.pas
pp.lpi
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
ppu.pas
procinfo.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
pstatmnt.pas
psub.pas
psystem.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
scandir.pas
scanner.pas + compile time expression type checking 2005-08-22 19:09:41 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas
symdef.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
symnot.pas
symsym.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
symtable.pas
symtype.pas
symutil.pas
systems.pas
tgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
tokens.pas
verbose.pas
version.pas
widestr.pas

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