fpc/compiler
olle 22a93eb1e9 + support for quoting of paths in TSearchPathList.AddPath so that
compiler directives which take paths, will support quotes.
  * uppdated TranslateMacPath
2004-08-31 22:02:30 +00:00
..
alpha * logs truncated 2004-06-20 08:55:28 +00:00
arm * fixed float spilling to use sfm/lfm instead of stf/ldf 2004-07-04 15:22:34 +00:00
html
i386 * do not rename registers across conditional jumps 2004-08-17 16:34:58 +00:00
ia64 * logs truncated 2004-06-20 08:55:28 +00:00
m68k * logs truncated 2004-06-20 08:55:28 +00:00
msg * allow only 1 default property 2004-08-25 15:57:04 +00:00
new * logs truncated 2004-06-20 08:55:28 +00:00
powerpc * only specially handle 64bit operations on ordinals 2004-08-30 09:28:40 +00:00
sparc * fixed absolute on sparc 2004-08-25 20:40:04 +00:00
systems * added support for libc 2004-08-30 11:17:34 +00:00
utils browser disabled 2004-08-27 21:59:26 +00:00
vis * logs truncated 2004-06-20 08:55:28 +00:00
x86 * fixed i386 compilation 2004-08-24 21:23:11 +00:00
x86_64 * changed first_sse_imreg to first_mm_imreg 2004-07-09 23:30:13 +00:00
aasmbase.pas * fixed relabeling properly now :) 2004-07-22 10:09:10 +00:00
aasmtai.pas * fixed alignment of variant records 2004-08-15 13:30:18 +00:00
aggas.pas don't lowercase filenames in stabs 2004-08-27 20:53:52 +00:00
aopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptcs.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptda.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptobj.pas * logs truncated 2004-06-20 08:55:28 +00:00
assemble.pas don't lowercase filenames in stabs 2004-08-27 20:53:52 +00:00
browcol.pas * logs truncated 2004-06-20 08:55:28 +00:00
browlog.pas * logs truncated 2004-06-20 08:55:28 +00:00
bsdcompile
catch.pas * logs truncated 2004-06-20 08:55:28 +00:00
cclasses.pas * logs truncated 2004-06-20 08:55:28 +00:00
cg64f32.pas * logs truncated 2004-06-20 08:55:28 +00:00
cg64f64.pas * logs truncated 2004-06-20 08:55:28 +00:00
cgbase.pas * fixed longbool(<int64>) on sparc 2004-08-24 21:02:32 +00:00
cgobj.pas * support register parameters for inlined procedures + some inline 2004-07-09 23:41:04 +00:00
cgutils.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
charset.pas * logs truncated 2004-06-20 08:55:28 +00:00
cmsgs.pas * logs truncated 2004-06-20 08:55:28 +00:00
comphook.pas * logs truncated 2004-06-20 08:55:28 +00:00
compiler.pas * logs truncated 2004-06-20 08:55:28 +00:00
compinnr.inc + macpas style: exit, cycle, leave 2004-07-05 21:49:43 +00:00
comprsrc.pas * logs truncated 2004-06-20 08:55:28 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas * logs truncated 2004-06-20 08:55:28 +00:00
cresstr.pas * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
cstreams.pas * logs truncated 2004-06-20 08:55:28 +00:00
cutils.pas + added proc DePascalQuote 2004-08-31 21:44:18 +00:00
defcmp.pas * logs truncated 2004-06-20 08:55:28 +00:00
defutil.pas * fixed longbool(<int64>) on sparc 2004-08-24 21:02:32 +00:00
depend
dmisc.pas * logs truncated 2004-06-20 08:55:28 +00:00
dwarf.pas * logs truncated 2004-06-20 08:55:28 +00:00
export.pas * logs truncated 2004-06-20 08:55:28 +00:00
finput.pas + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives 2004-08-02 07:15:54 +00:00
fmodule.pas * use realmodulename in unit not used msg 2004-08-30 20:23:33 +00:00
fpcdefs.inc * fixed alignment of variant records 2004-08-15 13:30:18 +00:00
fppu.pas * print realmodulename in fatal errors 2004-08-28 20:01:09 +00:00
gdb.pas * logs truncated 2004-06-20 08:55:28 +00:00
gendef.pas * logs truncated 2004-06-20 08:55:28 +00:00
globals.pas + support for quoting of paths in TSearchPathList.AddPath so that 2004-08-31 22:02:30 +00:00
globtype.pas + added external facilities for macpas 2004-07-14 23:19:21 +00:00
htypechk.pas * fix error when passing constant to var parameter 2004-08-22 11:24:09 +00:00
impdef.pas * logs truncated 2004-06-20 08:55:28 +00:00
import.pas * logs truncated 2004-06-20 08:55:28 +00:00
link.pas * shell now returns an exitcode 2004-07-17 15:51:57 +00:00
make_old.cmd
Makefile * regened after ARM change. 2004-08-06 22:54:57 +00:00
Makefile.fpc * fpcfan copy paste error (ifdef x86_64 should be arm) 2004-08-06 22:37:49 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * fix compile problem 2004-07-26 04:00:35 +00:00
msgidx.inc * allow only 1 default property 2004-08-25 15:57:04 +00:00
msgtxt.inc * allow only 1 default property 2004-08-25 15:57:04 +00:00
nadd.pas * fixed "if @procvar_of_object <> nil" in Delphi/TP mode for for non-x86 2004-08-17 19:04:36 +00:00
nbas.pas + temps can now also hold fpu values in registers (take care with use, 2004-07-16 19:45:15 +00:00
ncal.pas * use objrealname in Message1 2004-08-28 20:00:50 +00:00
ncgadd.pas * logs truncated 2004-06-20 08:55:28 +00:00
ncgbas.pas + temps can now also hold fpu values in registers (take care with use, 2004-07-16 19:45:15 +00:00
ncgcal.pas + Fix for bug #3207 from Peter 2004-07-12 10:47:42 +00:00
ncgcnv.pas * logs truncated 2004-06-20 08:55:28 +00:00
ncgcon.pas * constant floating point assignments etc. are now overflow checked 2004-08-08 16:00:56 +00:00
ncgflw.pas * logs truncated 2004-06-20 08:55:28 +00:00
ncginl.pas * range checks fixed 2004-08-16 21:00:15 +00:00
ncgld.pas * fixed alignment of variant records 2004-08-15 13:30:18 +00:00
ncgmat.pas * logs truncated 2004-06-20 08:55:28 +00:00
ncgmem.pas + Fixed range check for non-constant indexes in strings 2004-08-02 09:15:03 +00:00
ncgopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
ncgset.pas * fixed rare case bug (see tests/test/tb0478.pp) 2004-08-25 11:51:31 +00:00
ncgutil.pas + Patch from Peter to fix debuginfo in constructor. 2004-08-23 11:00:06 +00:00
ncnv.pas * constant floating point assignments etc. are now overflow checked 2004-08-08 16:00:56 +00:00
ncon.pas * logs truncated 2004-06-20 08:55:28 +00:00
nflw.pas + Patch from peter to fix bug #3272 2004-08-30 12:09:45 +00:00
ninl.pas * fix sqr() and abs() constant range check errors 2004-08-25 15:56:35 +00:00
nld.pas * logs truncated 2004-06-20 08:55:28 +00:00
nmat.pas * logs truncated 2004-06-20 08:55:28 +00:00
nmem.pas * logs truncated 2004-06-20 08:55:28 +00:00
nobj.pas * revert has_localst patch 2004-07-09 22:17:31 +00:00
node.pas * logs truncated 2004-06-20 08:55:28 +00:00
nopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
nset.pas * logs truncated 2004-06-20 08:55:28 +00:00
nstate.pas * logs truncated 2004-06-20 08:55:28 +00:00
nutils.pas * fix possible wrong typecast 2004-08-25 15:54:46 +00:00
ogbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
ogcoff.pas don't use .rodata, it doesn't work yet 2004-08-27 20:55:08 +00:00
ogelf.pas * .rodata section support, disabled by default since it doesn't work 2004-08-25 15:55:10 +00:00
oglx.pas * logs truncated 2004-06-20 08:55:28 +00:00
ogmap.pas * logs truncated 2004-06-20 08:55:28 +00:00
options.pas browser disabled 2004-08-27 21:59:26 +00:00
owar.pas * logs truncated 2004-06-20 08:55:28 +00:00
owbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
paramgr.pas * support register parameters for inlined procedures + some inline 2004-07-09 23:41:04 +00:00
parser.pas * logs truncated 2004-06-20 08:55:28 +00:00
pass_1.pas * logs truncated 2004-06-20 08:55:28 +00:00
pass_2.pas * logs truncated 2004-06-20 08:55:28 +00:00
pbase.pas * finally is an "endtoken" as well 2004-08-08 12:06:38 +00:00
pdecl.pas * logs truncated 2004-06-20 08:55:28 +00:00
pdecobj.pas allow published for constructors 2004-08-29 11:28:10 +00:00
pdecsub.pas fixed crash with error in default value 2004-08-29 11:28:41 +00:00
pdecvar.pas + padalgingment field for recordsymtables (saved by recorddefs) 2004-08-17 16:29:21 +00:00
pexports.pas * logs truncated 2004-06-20 08:55:28 +00:00
pexpr.pas * fix crash with calling method pointer from class procedure 2004-08-25 15:58:36 +00:00
pinline.pas * logs truncated 2004-06-20 08:55:28 +00:00
pmodules.pas + Added automatic use of unit macpas under mode macpas 2004-08-16 22:52:35 +00:00
pp.lpi * fix compile problem 2004-07-26 04:00:35 +00:00
pp.pas * logs truncated 2004-06-20 08:55:28 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas * logs truncated 2004-06-20 08:55:28 +00:00
ppu.pas browser disabled 2004-08-27 21:59:26 +00:00
procinfo.pas * logs truncated 2004-06-20 08:55:28 +00:00
pstatmnt.pas * logs truncated 2004-06-20 08:55:28 +00:00
psub.pas * fixed several sparc alignment issues 2004-08-14 14:50:42 +00:00
psystem.pas + macpas style: exit, cycle, leave 2004-07-05 21:49:43 +00:00
ptconst.pas * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
ptype.pas * logs truncated 2004-06-20 08:55:28 +00:00
raatt.pas * logs truncated 2004-06-20 08:55:28 +00:00
rabase.pas * logs truncated 2004-06-20 08:55:28 +00:00
rasm.pas * logs truncated 2004-06-20 08:55:28 +00:00
rautils.pas * logs truncated 2004-06-20 08:55:28 +00:00
README
regvars.pas * logs truncated 2004-06-20 08:55:28 +00:00
rgbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
rgobj.pas * fixed longbool(<int64>) on sparc 2004-08-24 21:02:32 +00:00
scandir.pas * support $RESOURCE 2004-08-22 10:17:27 +00:00
scanner.pas + added flag to TMacro denoting mac style compiler variable 2004-08-22 23:16:06 +00:00
script.pas * minor fix for macos 2004-08-20 10:23:35 +00:00
switches.pas browser disabled 2004-08-27 21:59:26 +00:00
symbase.pas * revert has_localst patch 2004-07-09 22:17:31 +00:00
symconst.pas * allow only 1 default property 2004-08-25 15:57:04 +00:00
symdef.pas browser disabled 2004-08-27 21:59:26 +00:00
symnot.pas * logs truncated 2004-06-20 08:55:28 +00:00
symsym.pas * add cprefix to procedures which are autoamtically marked as external in 2004-08-15 12:06:03 +00:00
symtable.pas + padalgingment field for recordsymtables (saved by recorddefs) 2004-08-17 16:29:21 +00:00
symtype.pas * revert has_localst patch 2004-07-09 22:17:31 +00:00
symutil.pas * logs truncated 2004-06-20 08:55:28 +00:00
systems.pas * only enable dwarf for supported platforms 2004-06-29 21:00:08 +00:00
tgobj.pas * logs truncated 2004-06-20 08:55:28 +00:00
tokens.pas + adding operators "|" and "&" for macpas 2004-07-05 23:25:34 +00:00
tpexcept.pas * logs truncated 2004-06-20 08:55:28 +00:00
verbose.pas * logs truncated 2004-06-20 08:55:28 +00:00
version.pas * logs truncated 2004-06-20 08:55:28 +00:00
widestr.pas * logs truncated 2004-06-20 08:55:28 +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