fpc/compiler
peter 7a2e0da7bd * extra parameter for file searching functions
that indicate if the cache shall be used or not
  * fixed compile of non-x86 targets

git-svn-id: trunk@5115 -
2006-10-31 10:56:58 +00:00
..
alpha * remove ttype 2006-10-29 22:19:39 +00:00
arm * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
html
i386 * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
mips
msg + -Sx command line switch to turn on exception keywords in non-Delphi/ObjFPC 2006-10-20 12:54:47 +00:00
powerpc * settings refactored 2006-10-30 18:02:58 +00:00
powerpc64 * settings refactored 2006-10-30 18:02:58 +00:00
ppcgen * settings refactored 2006-10-30 18:02:58 +00:00
sparc * settings refactored 2006-10-30 18:02:58 +00:00
systems * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
utils * fixed for non-i386 2006-10-31 10:14:10 +00:00
vis
x86 * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
x86_64 * settings refactored 2006-10-30 18:02:58 +00:00
aasmbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
aasmdata.pas
aasmtai.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
aggas.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
aopt.pas * settings refactored 2006-10-30 18:02:58 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
assemble.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
browcol.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
browlog.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
bsdcompile
catch.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cclasses.pas * remove tdirectorycache that is now in cfileutils 2006-10-31 09:07:01 +00:00
cfidwarf.pas
cfileutils.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
cg64f32.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
cgbase.pas + experimental -Sv option to support vector arithmetics 2006-10-07 21:39:48 +00:00
cgobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
cgutils.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
charset.pas
cmsgs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
comphook.pas * use fileage for retrieving file timestamps 2006-10-31 09:07:23 +00:00
compiler.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
compinnr.inc + support for bitsizeof() function 2006-09-09 18:57:49 +00:00
comprsrc.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
COPYING
cp437.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp850.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp8859_1.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cresstr.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
cstreams.pas
cutils.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
dbgbase.pas * remove ttype 2006-10-29 22:19:39 +00:00
dbgdwarf.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
dbgstabs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
defcmp.pas * settings refactored 2006-10-30 18:02:58 +00:00
defutil.pas * settings refactored 2006-10-30 18:02:58 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
fmodule.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
fpccrc.pas
fpcdefs.inc * remove ifdef fpc 2006-10-07 13:43:34 +00:00
fppu.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
gendef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
globals.pas * dos compile fixes 2006-10-31 09:08:32 +00:00
globtype.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
htypechk.pas * settings refactored 2006-10-30 18:02:58 +00:00
impdef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
import.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
link.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
make_old.cmd
Makefile + regenerated makefiles to support powerpc-amiga target 2006-08-06 12:28:28 +00:00
Makefile.fpc * use echoredir for creating revision.inc 2006-07-31 12:49:26 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
msgidx.inc + -Sx command line switch to turn on exception keywords in non-Delphi/ObjFPC 2006-10-20 12:54:47 +00:00
msgtxt.inc + -Sx command line switch to turn on exception keywords in non-Delphi/ObjFPC 2006-10-20 12:54:47 +00:00
nadd.pas * settings refactored 2006-10-30 18:02:58 +00:00
nbas.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncal.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ncgadd.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgbas.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgcal.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgcnv.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgcon.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgflw.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ncginl.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ncgld.pas * support LOC_CONSTANT for loading self pointer 2006-10-30 08:58:09 +00:00
ncgmat.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgmem.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgset.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ncgutil.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ncnv.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
ncon.pas * remove ttype 2006-10-29 22:19:39 +00:00
nflw.pas * settings refactored 2006-10-30 18:02:58 +00:00
ninl.pas * settings refactored 2006-10-30 18:02:58 +00:00
nld.pas * settings refactored 2006-10-30 18:02:58 +00:00
nmat.pas * settings refactored 2006-10-30 18:02:58 +00:00
nmem.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
nobj.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
node.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
nopt.pas * settings refactored 2006-10-30 18:02:58 +00:00
nset.pas * settings refactored 2006-10-30 18:02:58 +00:00
nstate.pas
nutils.pas * settings refactored 2006-10-30 18:02:58 +00:00
ogbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
ogcoff.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
ogelf.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
oglx.pas * settings refactored 2006-10-30 18:02:58 +00:00
ogmap.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
optcse.pas * remove ttype 2006-10-29 22:19:39 +00:00
options.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
opttail.pas * remove ttype 2006-10-29 22:19:39 +00:00
optunrol.pas * settings refactored 2006-10-30 18:02:58 +00:00
owar.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
owbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
parabase.pas
paramgr.pas * remove ttype 2006-10-29 22:19:39 +00:00
parser.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
pass_1.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
pass_2.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
pbase.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
pdecl.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
pdecobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
pdecsub.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
pdecvar.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
pexports.pas * implemented kylix like local directive, fixes #7242 2006-10-19 20:26:14 +00:00
pexpr.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
pinline.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
pmodules.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
pp.lpi
pp.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * use unique symid and defid per module 2006-10-29 13:00:22 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
psub.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
psystem.pas * settings refactored 2006-10-30 18:02:58 +00:00
ptconst.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
ptype.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
raatt.pas * remove ttype 2006-10-29 22:19:39 +00:00
rabase.pas
rasm.pas
rautils.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
README
regvars.pas * settings refactored 2006-10-30 18:02:58 +00:00
rgbase.pas
rgobj.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
scandir.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
scanner.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
script.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
switches.pas * settings refactored 2006-10-30 18:02:58 +00:00
symbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
symconst.pas * use unique symid and defid per module 2006-10-29 13:00:22 +00:00
symdef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
symnot.pas
symsym.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
symtable.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
symtype.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
symutil.pas
systems.pas * fixes compilation due to neli-ism 2006-10-05 16:50:49 +00:00
tgobj.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
tokens.pas + store compiler switch changes in generic token streams 2006-10-30 19:54:17 +00:00
verbose.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
version.pas
widestr.pas * settings refactored 2006-10-30 18:02:58 +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