fpc/compiler
2003-10-05 21:21:52 +00:00
..
alpha
arm * improved arm code generation 2003-09-11 11:54:59 +00:00
html
i386 * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
ia64
m68k * fixed regvars so they work with newra (at least for ppc) 2003-08-17 16:59:20 +00:00
msg * invalid register message 2003-09-28 13:38:11 +00:00
new
powerpc * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
sparc * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
systems * removed paraalign 2003-10-03 22:09:49 +00:00
utils * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
vis
x86 * parameter alignment fixes 2003-10-03 22:00:33 +00:00
x86_64 * more x86-64 fixes 2003-09-25 13:13:32 +00:00
aasmbase.pas * remove some unit dependencies 2003-05-23 14:27:35 +00:00
aasmtai.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
aggas.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * -XP<prefix> support 2003-10-03 14:16:48 +00:00
browcol.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
browlog.pas
bsdcompile
catch.pas * fix for snapshot building. 2003-09-18 08:50:48 +00:00
cclasses.pas * insertbefore added 2003-09-29 20:52:50 +00:00
cg64f32.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
cg64f64.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
cgbase.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
cgobj.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
charset.pas
checkmem.pas
cmsgs.pas * vmtpointer_offset must be adjusted in after_pass1 as well 2003-05-10 23:57:23 +00:00
comphook.pas * print lineinfo for internalerror 2003-04-26 19:32:31 +00:00
compiler.pas * merged Wiktor's Watcom patches in 1.1 2003-09-05 17:41:12 +00:00
compinnr.inc
comprsrc.pas
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas
cstreams.pas
cutils.pas * NEWRA branch merged 2003-09-03 15:55:00 +00:00
defcmp.pas * when comparing hidden parameters both must be hidden 2003-10-05 13:05:05 +00:00
defines.inc
defutil.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
depend
dmisc.pas
export.pas
finput.pas * sharedlib is placed in exe outputdir 2003-04-28 16:18:16 +00:00
fmodule.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
fpcdefs.inc + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
fppu.pas * merged Wiktor's Watcom patches in 1.1 2003-09-05 17:41:12 +00:00
gdb.pas
gendef.pas
globals.pas * parameter alignment fixes 2003-10-03 22:00:33 +00:00
globtype.pas * default calling convention changed to stdcall 2003-09-28 13:39:58 +00:00
htypechk.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
impdef.pas * -XP<prefix> support 2003-10-03 14:16:48 +00:00
import.pas * aktprocdef renamed to current_procdef 2003-04-27 11:21:32 +00:00
link.pas * don't check exepath when linking on target 2003-09-14 21:33:11 +00:00
make_old.cmd
Makefile * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
Makefile.fpc * CROSSCOMPILING stage 2 2003-10-03 21:40:35 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc + added support of NewRA in compilation of ppcsparc 2003-08-11 13:21:01 +00:00
msgidx.inc * invalid register message 2003-09-28 13:38:11 +00:00
msgtxt.inc * invalid register message 2003-09-28 13:38:11 +00:00
nadd.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nbas.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncal.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
ncgadd.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgbas.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgcal.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
ncgcnv.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgcon.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgflw.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncginl.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
ncgld.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
ncgmat.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgmem.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgopt.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgset.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgutil.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncnv.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncon.pas * niln is also a constnode 2003-10-02 21:18:44 +00:00
nflw.pas * writing of loop nodes fixed 2003-10-05 11:53:57 +00:00
ninl.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nld.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
nmat.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nmem.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nobj.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
node.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nopt.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nset.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nstate.pas
nutils.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
options.pas * -XP<prefix> support 2003-10-03 14:16:48 +00:00
owar.pas
owbase.pas
paramgr.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
parser.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pass_1.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pass_2.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pbase.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pdecl.pas * more proc directive for procvar fixes 2003-10-03 14:45:09 +00:00
pdecobj.pas * support nil as default value 2003-10-02 21:15:12 +00:00
pdecsub.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
pdecvar.pas * allow absolute with value for win32,wdos 2003-10-05 12:55:37 +00:00
pexports.pas
pexpr.pas * fix assigned(property) 2003-10-05 12:56:04 +00:00
pinline.pas * protected visibility fixes 2003-10-02 21:13:46 +00:00
pmodules.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pp.pas + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
procinfo.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
pstatmnt.pas * delphi mode uses register calling by default for assembler 2003-10-02 21:15:59 +00:00
psub.pas * more proc directive for procvar fixes 2003-10-03 14:45:09 +00:00
psystem.pas * parent framepointer changed to hidden parameter 2003-09-28 17:55:03 +00:00
ptconst.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ptype.pas * more proc directive for procvar fixes 2003-10-03 14:45:09 +00:00
rautils.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
README * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
regvars.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
rgobj.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
scandir.pas + support for a different set of compiler directives under $MODE MAC 2003-09-17 22:30:19 +00:00
scanner.pas + support for a different set of compiler directives under $MODE MAC 2003-09-17 22:30:19 +00:00
script.pas * better link on target support 2003-09-30 19:54:23 +00:00
switches.pas
symbase.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
symconst.pas * parent framepointer changed to hidden parameter 2003-09-28 17:55:03 +00:00
symdef.pas * c style array of const generates callparanodes 2003-10-05 21:21:52 +00:00
symnot.pas
symppu.pas * re-resolving added instead of reloading from ppu 2003-06-07 20:26:32 +00:00
symsym.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
symtable.pas * don't report unused hidden parameters 2003-10-03 14:43:29 +00:00
symtype.pas * give IE when st is not assigned in deref 2003-09-14 12:58:29 +00:00
symutil.pas
systems.pas * parameter alignment fixes 2003-10-03 22:00:33 +00:00
tgobj.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
tokens.pas * preparations for different default calling conventions 2003-09-07 22:09:34 +00:00
tpexcept.pas
verbose.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
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