fpc/compiler
2003-09-25 21:29:23 +00:00
..
alpha * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg 2002-11-17 18:26:15 +00:00
arm * improved arm code generation 2003-09-11 11:54:59 +00:00
html
i386 * parameter fixes 2003-09-25 21:28:00 +00:00
ia64 * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg 2002-11-17 18:26:15 +00:00
m68k * fixed regvars so they work with newra (at least for ppc) 2003-08-17 16:59:20 +00:00
msg + added command line option for language mode -M<x> 2003-09-17 21:38:54 +00:00
new
powerpc + implemented volatile register queries 2003-09-14 21:56:41 +00:00
sparc * remove ppc code 2003-09-14 21:36:01 +00:00
systems * recordminalign for sparc 0 2003-09-23 17:58:38 +00:00
utils * x86_64 support; turn on by passing x86_64 2003-09-24 17:11:33 +00:00
vis * Code generator converted to new register notation 2003-02-19 22:00:14 +00:00
x86 * remove sp_fixup 2003-09-25 21:29:23 +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 * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
aggas.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +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 * pass proccalloption to ret_in_xxx and push_xxx functions 2002-11-18 17:31:54 +00:00
assemble.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
browcol.pas * (Peter) patch to fix snapshot 2003-09-24 13:02:10 +00:00
browlog.pas
bsdcompile
catch.pas * fix for snapshot building. 2003-09-18 08:50:48 +00:00
cclasses.pas * (Peter) patch to fix snapshot 2003-09-24 13:02:10 +00:00
cg64f32.pas * NEWRA branch merged 2003-09-03 15:55:00 +00:00
cg64f64.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
cgbase.pas * remove allocate_intterupt_parameter, allocation is platform 2003-09-25 21:25:13 +00:00
cginfo.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
cgobj.pas * remove obsolete tparalocation.sp_fixup 2003-09-25 21:26:24 +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 * Swap(QWord) constant support 2002-11-18 18:33:51 +00:00
comprsrc.pas + emx target added 2003-03-23 23:11:17 +00:00
cp437.pas - remove compilation warnings 2002-12-07 14:02:18 +00:00
cp850.pas - remove compilation warnings 2002-12-07 14:02:18 +00:00
cp8859_1.pas - remove compilation warnings 2002-12-07 14:02:18 +00:00
crc.pas
cresstr.pas + resource string tables are now aligned 2002-11-09 15:39:03 +00:00
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 * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
depend
dmisc.pas * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +00:00
export.pas
finput.pas * sharedlib is placed in exe outputdir 2003-04-28 16:18:16 +00:00
fmodule.pas * reload also caller module when it is already compiled 2003-08-23 22:31:42 +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 * memory optimization (3-4%) : cleanup of tai fields, 2002-11-17 16:31:55 +00:00
gendef.pas + emx target added 2003-03-23 23:11:17 +00:00
globals.pas + processor type intialization for x86-64 added 2003-09-24 17:13:22 +00:00
globtype.pas * preparations for different default calling conventions 2003-09-07 22:09:34 +00:00
htypechk.pas * don't check size for open array in valid_for_assign 2003-08-23 18:52:18 +00:00
impdef.pas * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +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 * now for all platforms 2003-09-16 07:07:29 +00:00
Makefile.fpc * Removed m68k from fullcycle 2003-09-15 16:30:41 +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 + added command line option for language mode -M<x> 2003-09-17 21:38:54 +00:00
msgtxt.inc + added command line option for language mode -M<x> 2003-09-17 21:38:54 +00:00
nadd.pas + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
nbas.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ncal.pas * parameter fixes 2003-09-25 21:28:00 +00:00
ncgadd.pas * fixed release_reg_left_right for fpu registers 2003-09-14 21:57:08 +00:00
ncgbas.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ncgcal.pas * parameter fixes 2003-09-25 21:28:00 +00:00
ncgcnv.pas * methodpointer fixes 2003-08-26 12:43:02 +00:00
ncgcon.pas + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
ncgflw.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ncginl.pas * Patch from Peter for paraloc 2003-09-10 08:31:47 +00:00
ncgld.pas * rearranged threadvar code so the result register is the same 2003-09-25 21:27:31 +00:00
ncgmat.pas * Patch from Peter for paraloc 2003-09-10 08:31:47 +00:00
ncgmem.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ncgopt.pas * preparations for different default calling conventions 2003-09-07 22:09:34 +00:00
ncgset.pas * NEWRA branch merged 2003-09-03 15:55:00 +00:00
ncgutil.pas * parameter fixes 2003-09-25 21:28:00 +00:00
ncnv.pas * fix different expectloc 2003-09-25 14:57:51 +00:00
ncon.pas + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
nflw.pas * Fixed register allocator. *Lots* of fixes. 2003-07-06 15:31:20 +00:00
ninl.pas * don't call firstpass in resulttypepass 2003-09-23 21:10:11 +00:00
nld.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
nmat.pas * preparations for different default calling conventions 2003-09-07 22:09:34 +00:00
nmem.pas * fixed web bug #2669 2003-09-06 22:27:08 +00:00
nobj.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
node.pas * fixed web bug #2669 2003-09-06 22:27:08 +00:00
nopt.pas * disable string node optimizations for the moment 2003-05-26 21:15:18 +00:00
nset.pas * NEWRA branch merged 2003-09-03 15:55:00 +00:00
nstate.pas
nutils.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +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 * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
parser.pas * fixed arm concatcopy 2003-09-03 11:18:36 +00:00
pass_1.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pass_2.pas * NEWRA branch merged 2003-09-03 15:55:00 +00:00
pbase.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pdecl.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pdecobj.pas * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
pdecsub.pas * don't include vo_has_local_copy for open array/array of const 2003-09-25 21:24:09 +00:00
pdecvar.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pexports.pas * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +00:00
pexpr.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pinline.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pmodules.pas * add missing release of main_proc 2003-09-23 18:03:08 +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 + Delphi 6 configuration file 2002-10-05 12:50:47 +00:00
ppc.conf
ppc.dof * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +00:00
ppc.dpr * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +00:00
ppheap.pas * fix compilation failure 2002-11-19 12:08:24 +00:00
ppu.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pstatmnt.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
psub.pas * remove allocate_intterupt_parameter, allocation is platform 2003-09-25 21:25:13 +00:00
psystem.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ptconst.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
ptype.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
rautils.pas * fix check for unreachable locals 2003-09-25 14:57:36 +00:00
README * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
regvars.pas * more x86-64 fixes 2003-09-25 13:13:32 +00:00
rgobj.pas * fix filepositions 2003-09-25 16:19:32 +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 * Had a useless dependancy on unit unix in 1_1 mode 2003-09-16 13:42:39 +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 * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
symdef.pas * connect parasym to paraitem 2003-09-23 21:03:35 +00:00
symnot.pas + Notification implementation complete 2002-12-31 09:55:58 +00:00
symppu.pas * re-resolving added instead of reloading from ppu 2003-06-07 20:26:32 +00:00
symsym.pas * has_local_copy gdb fix 2003-09-25 21:25:37 +00:00
symtable.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +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 * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
tokens.pas * preparations for different default calling conventions 2003-09-07 22:09:34 +00:00
tpexcept.pas
verbose.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
version.pas * fixed a lot of PowerPC related stuff 2003-04-24 22:29:57 +00:00
widestr.pas * fixes for Delphi 6 compilation 2002-10-05 12:43:23 +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