fpc/compiler
2003-10-26 14:11:35 +00:00
..
alpha
arm * fixed some MMX<->SSE 2003-10-11 16:06:42 +00:00
html
i386 * fixed web bug #2128 2003-10-26 13:37:22 +00:00
ia64
m68k * fixed regvars so they work with newra (at least for ppc) 2003-08-17 16:59:20 +00:00
msg * fixed unit info messsage 2003-10-22 20:54:06 +00:00
new
powerpc * fixed compilation of ppc compiler 2003-10-25 10:37:26 +00:00
sparc * added more register functions 2003-10-24 15:20:37 +00:00
systems * -Xd 2003-10-11 19:32:04 +00:00
utils * write derefdata in a separate ppu entry 2003-10-22 20:39:59 +00:00
vis
x86 * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +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 * asmnode.get_position now inserts a marker 2003-10-24 17:39:41 +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 * taicpu_abstract.oper[] changed to pointers 2003-10-21 15:15:35 +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 * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
cg64f32.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
cg64f64.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
cgbase.pas * renamed R_SUBF64 to R_SUBFD 2003-10-24 15:21:31 +00:00
cgobj.pas * some ppc stuff fixed 2003-10-19 01:34:30 +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 * fixed resource compiler search if no utilty directory was given 2003-10-08 17:54:23 +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 * fixed web bug #2129: explicit float casts in Delphi mode must be handled by the default code 2003-10-26 14:11:35 +00:00
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 * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +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 * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
gdb.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
gendef.pas
globals.pas * delphi mode uses packenum 1 2003-10-23 17:18:56 +00:00
globtype.pas * default calling convention changed to stdcall 2003-09-28 13:39:58 +00:00
htypechk.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +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 * new locations for cross-compiler binaries 2003-10-17 14:10:53 +00:00
Makefile.fpc * new locations for cross-compiler binaries 2003-10-17 14:10:53 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * test now based on fpc/tests/test 2003-10-08 14:12:17 +00:00
msgidx.inc * constant expr expected 2003-10-07 17:52:50 +00:00
msgtxt.inc * fixed unit info messsage 2003-10-22 20:54:06 +00:00
nadd.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +00:00
nbas.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
ncal.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
ncgadd.pas * compilation of the powerpc compiler fixed 2003-10-17 01:22:08 +00:00
ncgbas.pas * asmnode.get_position now inserts a marker 2003-10-24 17:39:41 +00:00
ncgcal.pas * fixed inlining float parameters for i386 2003-10-20 19:28:17 +00:00
ncgcnv.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgcon.pas * fixed web bug #2128 2003-10-26 13:37:22 +00:00
ncgflw.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
ncginl.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgld.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
ncgmat.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgmem.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgopt.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgset.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
ncgutil.pas * fixed compilation of ppc system unit 2003-10-25 11:34:02 +00:00
ncnv.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
ncon.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
nflw.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
ninl.pas * taicpu_abstract.oper[] changed to pointers 2003-10-21 15:15:35 +00:00
nld.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
nmat.pas * set_varstate cleanup 2003-10-08 19:19:45 +00:00
nmem.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
nobj.pas * removed is_visible_for_proc 2003-10-13 14:05:12 +00:00
node.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
nopt.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nset.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +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 * -Xc -Xr support 2003-10-22 15:40:44 +00:00
owar.pas
owbase.pas
paramgr.pas * 64k registers supported 2003-10-17 14:38:32 +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 * some ppc stuff fixed 2003-10-19 01:34:30 +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 * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
pdecsub.pas * compare_paras() has a parameter to ignore hidden parameters 2003-10-07 21:14:32 +00:00
pdecvar.pas * allow absolute with value for win32,wdos 2003-10-05 12:55:37 +00:00
pexports.pas
pexpr.pas * self is not a token anymore. It is handled special when found 2003-10-09 15:20:56 +00:00
pinline.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
pmodules.pas * cleanup of the entry and exit code insertion 2003-10-24 17:40:23 +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 * write derefdata in a separate ppu entry 2003-10-22 20:39:59 +00:00
procinfo.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
pstatmnt.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
psub.pas * cleanup of the entry and exit code insertion 2003-10-24 17:40:23 +00:00
psystem.pas + added basic olevariant support 2003-10-06 22:23:41 +00:00
ptconst.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +00:00
ptype.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +00:00
rautils.pas * more intel parser updates 2003-10-24 17:39:03 +00:00
README * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
regvars.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
rgobj.pas * taicpu_abstract.oper[] changed to pointers 2003-10-21 15:15:35 +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 * set_varstate cleanup 2003-10-08 19:19:45 +00:00
symdef.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symppu.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
symsym.pas * write derefdata in a separate ppu entry 2003-10-22 20:39:59 +00:00
symtable.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
symtype.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
symutil.pas * removed funcretn,funcretsym, function result is now in varsym 2003-04-25 20:59:33 +00:00
systems.pas * Watcom target name didn't fit in name field length 2003-10-18 09:04:11 +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 * -P to -ap 2003-10-08 19:17:43 +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