fpc/compiler
2003-10-02 21:13:46 +00:00
..
alpha
arm * improved arm code generation 2003-09-11 11:54:59 +00:00
html
i386 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * smartlink fix for dlls from Pavel 2003-09-30 20:10:12 +00:00
utils * remake with new fpc param 2003-10-02 08:50:13 +00:00
vis * Code generator converted to new register notation 2003-02-19 22:00:14 +00:00
x86 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * generic constructor working for i386 2003-03-28 19:16:56 +00:00
aoptda.pas
aoptobj.pas
assemble.pas * better link on target support 2003-09-30 19:54:23 +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 * removed some notes/hints 2003-04-22 14:33:38 +00:00
checkmem.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
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 + emx target added 2003-03-23 23:11:17 +00:00
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 * basics for x86 register calling 2003-09-09 21:03:17 +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 + emx target added 2003-03-23 23:11:17 +00:00
globals.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
globtype.pas * default calling convention changed to stdcall 2003-09-28 13:39:58 +00:00
htypechk.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
impdef.pas
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 * makefile fixes from peter 2003-10-02 11:06:53 +00:00
Makefile.fpc * makefile fixes from peter 2003-10-02 11:06:53 +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 * protected visibility fixes 2003-10-02 21:13:46 +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 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ncgld.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nflw.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
ninl.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nld.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * removed some notes/hints 2003-04-22 14:33:38 +00:00
ogcoff.pas * fix range check error after previous commit 2003-04-23 11:37:15 +00:00
ogelf.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
oglx.pas
ogmap.pas * removed some notes/hints 2003-04-22 14:33:38 +00:00
options.pas + added command line option for language mode -M<x> 2003-09-17 21:37:07 +00:00
owar.pas
owbase.pas
paramgr.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * procvar directive parsing fixes 2003-10-02 21:13:09 +00:00
pdecobj.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
pdecsub.pas * procvar directive parsing fixes 2003-10-02 21:13:09 +00:00
pdecvar.pas * procvar directive parsing fixes 2003-10-02 21:13:09 +00:00
pexports.pas
pexpr.pas * protected visibility fixes 2003-10-02 21:13:46 +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 * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pstatmnt.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
psub.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +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 * procvar directive parsing fixes 2003-10-02 21:13: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 * protected visibility fixes 2003-10-02 21:13:46 +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 * protected visibility fixes 2003-10-02 21:13:46 +00:00
symtype.pas * give IE when st is not assigned in deref 2003-09-14 12:58:29 +00:00
symutil.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
systems.pas * merged Wiktor's Watcom patches in 1.1 2003-09-05 17:41:12 +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 * fixed a lot of PowerPC related stuff 2003-04-24 22:29:57 +00:00
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