fpc/compiler
2004-02-27 19:55:23 +00:00
..
alpha
arm * small compilation fix 2004-02-12 13:24:44 +00:00
html
i386 * fixed optimizer for new treference fields 2004-02-27 19:55:23 +00:00
ia64
m68k * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
msg * fixed previous commit's problem with msg2inc 2004-02-24 17:12:48 +00:00
new
powerpc + added Tai_symbol_end 2004-02-27 13:42:52 +00:00
sparc * symaddr ==> refaddr to follow the rest of compiler changes 2004-02-27 15:15:33 +00:00
systems * top_symbol killed 2004-02-27 10:21:04 +00:00
utils Makefiles regenerated 2004-02-22 15:37:41 +00:00
vis
x86 * top_symbol killed 2004-02-27 10:21:04 +00:00
x86_64 * fixed exception reason size for 64 bit systems 2004-02-22 18:27:21 +00:00
aasmbase.pas
aasmtai.pas - Removed troublesome writeln statement 2004-02-27 12:13:15 +00:00
aggas.pas * tf_need_symbol_size added 2004-02-22 16:51:50 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
aoptobj.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
assemble.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
browcol.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
browlog.pas * fixed compile with -CR 2004-02-11 22:00:10 +00:00
bsdcompile
catch.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
cclasses.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
cg64f32.pas * op_const_reg_reg with OP_SAR fixed 2004-01-22 02:22:47 +00:00
cg64f64.pas * x86-64 compilation fixed 2004-01-13 18:08:58 +00:00
cgbase.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
cgobj.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
cgutils.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
charset.pas
checkmem.pas
cmsgs.pas * Message system uses open arrays internally 2004-02-20 19:49:21 +00:00
comphook.pas
compiler.pas * another bunch of x86-64 fixes mainly calling convention and 2004-01-14 23:39:05 +00:00
compinnr.inc + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
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 * tai_const.create_ptr added 2004-02-26 16:16:38 +00:00
cstreams.pas
cutils.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
defcmp.pas * operator overload chooses rewrite 2004-02-24 16:12:39 +00:00
defutil.pas * first try to get cpupara working for x86_64 2004-02-04 22:01:13 +00:00
depend
dmisc.pas
export.pas
finput.pas * check with fileexists() before opening a file 2003-12-27 22:27:24 +00:00
fmodule.pas * don't allow duplicate uses 2003-12-08 22:33:43 +00:00
fpcdefs.inc - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
fppu.pas * fix remembering path of main source file 2004-02-03 16:14:13 +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 + Support for Link on target especially for MacOS 2004-02-19 20:40:15 +00:00
globtype.pas * pthread on -CURRENT related fixes. 2004-02-15 16:34:18 +00:00
htypechk.pas * return cnothingn and give error when the operator is not overloaded 2004-02-26 16:11:09 +00:00
impdef.pas * compilation fixes + *w tools renamed to * 2004-02-22 14:52:59 +00:00
import.pas
link.pas * increased maxsize of link.res file name 2004-02-24 00:53:48 +00:00
make_old.cmd
Makefile * makefile for arm fixed 2004-02-23 23:18:44 +00:00
Makefile.fpc * makefile for arm fixed 2004-02-23 23:18:44 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc + add more dirs in include path 2003-11-07 09:12:23 +00:00
msgidx.inc + morphos target added 2004-02-24 17:16:39 +00:00
msgtxt.inc + morphos target added 2004-02-24 17:16:39 +00:00
nadd.pas * Avoid memory allocation and string copying 2004-02-21 22:08:46 +00:00
nbas.pas * don't put types that need init/fini in register temps 2004-02-06 20:22:58 +00:00
ncal.pas * fix procvars with default paras 2004-02-26 16:09:49 +00:00
ncgadd.pas * use op_ordinal for dynarr compares 2004-02-26 16:11:29 +00:00
ncgbas.pas * fixed relsymbol copy/paste bug 2004-02-27 19:30:23 +00:00
ncgcal.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgcnv.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgcon.pas * tai_const.create_ptr added 2004-02-26 16:16:38 +00:00
ncgflw.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncginl.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgld.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgmat.pas * fixed generic shl/shr operations 2004-01-23 15:12:49 +00:00
ncgmem.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgopt.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgset.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncgutil.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
ncnv.pas * message about illegal type conversion reports now the types 2004-02-21 16:03:10 +00:00
ncon.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nflw.pas * several fixes to compile x86-64 system 2004-02-05 01:24:08 +00:00
ninl.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
nld.pas * fixed compiler err 2004-02-20 22:15:26 +00:00
nmat.pas * operator overload chooses rewrite 2004-02-24 16:12:39 +00:00
nmem.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
nobj.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
node.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nopt.pas + inlined procedures inherit procinfo flags 2003-12-16 21:29:24 +00:00
nset.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nstate.pas
nutils.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
options.pas + nx86set added 2004-02-22 12:04:04 +00:00
owar.pas
owbase.pas
paramgr.pas * temp. fix for lochigh para 2004-02-17 19:14:09 +00:00
parser.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
pass_1.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pass_2.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pbase.pas - Comment out unused tokenstring function 2004-02-21 20:10:27 +00:00
pdecl.pas * Message system uses open arrays internally 2004-02-20 19:49:21 +00:00
pdecobj.pas * fix crash when method is not declared in object declaration 2004-02-26 16:13:25 +00:00
pdecsub.pas * fix crash when method is not declared in object declaration 2004-02-26 16:13:25 +00:00
pdecvar.pas * another procvar directive fix, this time for initialized vars 2004-02-26 16:10:23 +00:00
pexports.pas
pexpr.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
pinline.pas + some more usage of register temps 2004-02-04 18:45:29 +00:00
pmodules.pas * tai_const.create_ptr added 2004-02-26 16:16:38 +00:00
pp.pas * when compiled with -dnocatch, known rtes aren't translated anymore 2004-01-26 17:39:12 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
procinfo.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
pstatmnt.pas * withsymtables need to have the original tobject owner instead of 2004-02-26 16:14:48 +00:00
psub.pas * fixed arg. area calculation 2004-02-19 17:07:42 +00:00
psystem.pas * tai_const.create_ptr added 2004-02-26 16:16:38 +00:00
ptconst.pas * support @@procvar in typed consts 2004-02-26 16:15:23 +00:00
ptype.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
raatt.pas * Take advantage of our new with statement optimization 2004-02-07 23:28:34 +00:00
rabase.pas * fixed more alignment issues 2004-01-30 13:42:03 +00:00
rasm.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
rautils.pas * Micro-optimizations 2004-02-21 21:04:09 +00:00
README
regvars.pas - removed taicpu.is_reg_move because it's not used anymore 2004-02-08 20:15:42 +00:00
rgbase.pas * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
rgobj.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
scandir.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
scanner.pas + Patch from peter to fix webtb[fs]/tw2853*.pp 2004-02-27 11:50:13 +00:00
script.pas * increased maxsize of link.res file name 2004-02-24 00:53:48 +00:00
switches.pas * don't turn off debuginfo when line info is requested 2003-12-03 17:45:36 +00:00
symbase.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
symconst.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
symdef.pas * tai_const.create_ptr added 2004-02-26 16:16:38 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symsym.pas * operator overload chooses rewrite 2004-02-24 16:12:39 +00:00
symtable.pas * check if withsymtable.defowner is in the current unit 2004-02-26 16:16:19 +00:00
symtype.pas * Removed unused concatstabto 2004-02-27 13:04:22 +00:00
symutil.pas * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
systems.pas * tf_need_symbol_size added 2004-02-22 16:51:50 +00:00
tgobj.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
tokens.pas * Enable threadvars for all modes 2004-02-17 17:38:11 +00:00
tpexcept.pas * don't use the local longjmp for 1.9.x 2004-02-12 16:00:39 +00:00
verbose.pas * fix crashes with 1.0.x 2004-02-23 15:59:46 +00:00
version.pas * version changed to 1.9.3 2004-01-11 20:59:41 +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