fpc/compiler
olle ff2c436b78 + mode mac: added UNDEFINED construct
+ mode mac: added support for include $I
  * renamed one of the readpreproc to preproc_substitutedtoken to avoid confusement
2004-02-23 23:38:25 +00:00
..
alpha
arm * small compilation fix 2004-02-12 13:24:44 +00:00
html
i386 * x86_64 uses generic concatcopy_valueopenarray for now 2004-02-22 16:48:09 +00:00
ia64
m68k * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
msg * message about illegal type conversion reports now the types 2004-02-21 16:03:10 +00:00
new
powerpc * fixed arg. area calculation 2004-02-19 17:07:42 +00:00
sparc * taicpu.is_same_reg_move() now gets a regtype parameter so it only 2004-02-08 23:10:21 +00:00
systems * tf_need_symbol_size added 2004-02-22 16:51:50 +00:00
utils Makefiles regenerated 2004-02-22 15:37:41 +00:00
vis
x86 * fixed exception reason size for 64 bit systems 2004-02-22 18:27:21 +00:00
x86_64 * fixed exception reason size for 64 bit systems 2004-02-22 18:27:21 +00:00
aasmbase.pas
aasmtai.pas * taicpu.is_same_reg_move() now gets a regtype parameter so it only 2004-02-08 23:10:21 +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 * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +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 * more x86_64 parameter fixes 2004-02-09 22:14:17 +00:00
cgobj.pas * handling of float parameters passed in mm registers fixed 2004-02-20 22:16:34 +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 * fixed error message, if a resource file can't be written 2003-12-29 19:31:20 +00:00
cstreams.pas
cutils.pas * Escape newlines in constant string stabs 2004-02-22 22:13:27 +00:00
defcmp.pas * allow real_2_real conversion for realconstn, fixes 2971 2004-02-15 12:18:22 +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 * widestring conversions added to allowed operator check 2004-02-20 21:55:19 +00:00
impdef.pas * compilation fixes + *w tools renamed to * 2004-02-22 14:52:59 +00:00
import.pas
link.pas + Support for Link on target especially for MacOS 2004-02-19 20:40:15 +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 * message about illegal type conversion reports now the types 2004-02-21 16:03:10 +00:00
msgtxt.inc * message about illegal type conversion reports now the types 2004-02-21 16:03:10 +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 * procvar cleanup 2004-02-20 21:55:59 +00:00
ncgadd.pas *** empty log message *** 2004-02-04 19:22:27 +00:00
ncgbas.pas + some more usage of register temps 2004-02-04 18:45:29 +00:00
ncgcal.pas * Fixed memory leak 2004-02-22 13:01:15 +00:00
ncgcnv.pas * several fixes to compile x86-64 system 2004-02-05 01:24:08 +00:00
ncgcon.pas * fixed several arm floating point issues 2004-01-24 18:12:40 +00:00
ncgflw.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
ncginl.pas * fixed (hopefully) the ansistring length bug 2004-02-05 16:58:43 +00:00
ncgld.pas * x86_64 uses generic concatcopy_valueopenarray for now 2004-02-22 16:48:09 +00:00
ncgmat.pas * fixed generic shl/shr operations 2004-01-23 15:12:49 +00:00
ncgmem.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
ncgopt.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgset.pas * fixed for regvars + simplification 2004-02-08 14:51:04 +00:00
ncgutil.pas * fixed exception reason size for 64 bit systems 2004-02-22 18:27:21 +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 * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
nmem.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
nobj.pas * fixed arg. area calculation 2004-02-19 17:07:42 +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 * global property support for fpc modes 2003-12-10 16:37:01 +00:00
pdecsub.pas * use sp_internal flag to silence unused internal variable 2004-02-20 21:54:47 +00:00
pdecvar.pas * procvar cleanup 2004-02-20 21:55:59 +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 * Removed not very usefull nextglobal & previousglobal fields from 2004-02-06 22:37:00 +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 * fixed more alignment issues 2004-01-30 13:42:03 +00:00
procinfo.pas * fixed arg. area calculation 2004-02-19 17:07:42 +00:00
pstatmnt.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
psub.pas * fixed arg. area calculation 2004-02-19 17:07:42 +00:00
psystem.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
ptconst.pas * Take advantage of our new with statement optimization 2004-02-07 23:28:34 +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 * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
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 + mode mac: added UNDEFINED construct 2004-02-23 23:38:25 +00:00
script.pas + Support for Link on target especially for MacOS 2004-02-19 20:40:15 +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 * use sp_internal flag to silence unused internal variable 2004-02-20 21:54:47 +00:00
symdef.pas * Revert my latest change 2004-02-22 19:55:25 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symsym.pas * Escape newlines in constant string stabs 2004-02-22 22:13:27 +00:00
symtable.pas * procvar cleanup 2004-02-20 21:55:59 +00:00
symtype.pas * fix compilation without GDB 2004-02-11 19:59:06 +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