fpc/compiler
peter 070b86a512 * order of named sections added
* fix debugstart and debugend labels

git-svn-id: trunk@5098 -
2006-10-30 22:34:22 +00:00
..
alpha * remove ttype 2006-10-29 22:19:39 +00:00
arm * settings refactored 2006-10-30 18:02:58 +00:00
html
i386 * settings refactored 2006-10-30 18:02:58 +00:00
ia64
m68k * settings refactored 2006-10-30 18:02:58 +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 * settings refactored 2006-10-30 18:02:58 +00:00
utils + store compiler switch changes in generic token streams 2006-10-30 19:54:17 +00:00
vis
x86 * settings refactored 2006-10-30 18:02:58 +00:00
x86_64 * settings refactored 2006-10-30 18:02:58 +00:00
aasmbase.pas * order of named sections added 2006-10-30 22:34:22 +00:00
aasmdata.pas
aasmtai.pas * order of named sections added 2006-10-30 22:34:22 +00:00
aggas.pas * order of named sections added 2006-10-30 22:34:22 +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 * order of named sections added 2006-10-30 22:34:22 +00:00
browcol.pas * settings refactored 2006-10-30 18:02:58 +00:00
browlog.pas * settings refactored 2006-10-30 18:02:58 +00:00
bsdcompile
catch.pas
cclasses.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cfidwarf.pas
cg64f32.pas
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
charset.pas
cmsgs.pas * remove ifdef fpc 2006-10-07 13:43:34 +00:00
comphook.pas * remove ifdef fpc 2006-10-07 13:43:34 +00:00
compiler.pas * remove ifdef fpc 2006-10-07 13:43:34 +00:00
compinnr.inc
comprsrc.pas * settings refactored 2006-10-30 18:02: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 + support for ".reference" and ".no_dead_strip" darwin assembler directivs 2006-09-12 12:07:32 +00:00
cstreams.pas
cutils.pas * call freemem without size 2006-10-18 21:22:28 +00:00
dbgbase.pas * remove ttype 2006-10-29 22:19:39 +00:00
dbgdwarf.pas * order of named sections added 2006-10-30 22:34:22 +00:00
dbgstabs.pas * order of named sections added 2006-10-30 22:34:22 +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
finput.pas
fmodule.pas * get proper moduleindex when loading a unit, fixes #4778 2006-10-30 21:01:51 +00:00
fpccrc.pas
fpcdefs.inc * remove ifdef fpc 2006-10-07 13:43:34 +00:00
fppu.pas * settings refactored 2006-10-30 18:02:58 +00:00
gendef.pas * settings refactored 2006-10-30 18:02:58 +00:00
globals.pas * get proper moduleindex when loading a unit, fixes #4778 2006-10-30 21:01:51 +00:00
globtype.pas + -Sx command line switch to turn on exception keywords in non-Delphi/ObjFPC 2006-10-20 12:54:47 +00:00
htypechk.pas * settings refactored 2006-10-30 18:02:58 +00:00
impdef.pas
import.pas
link.pas * settings refactored 2006-10-30 18:02:58 +00:00
make_old.cmd
Makefile
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
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 * settings refactored 2006-10-30 18:02:58 +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 * settings refactored 2006-10-30 18:02:58 +00:00
ncginl.pas * settings refactored 2006-10-30 18:02:58 +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 * settings refactored 2006-10-30 18:02:58 +00:00
ncgutil.pas * settings refactored 2006-10-30 18:02:58 +00:00
ncnv.pas * settings refactored 2006-10-30 18:02:58 +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 * settings refactored 2006-10-30 18:02:58 +00:00
nobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
node.pas * settings refactored 2006-10-30 18:02:58 +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 * order of named sections added 2006-10-30 22:34:22 +00:00
ogcoff.pas * order of named sections added 2006-10-30 22:34:22 +00:00
ogelf.pas * order of named sections added 2006-10-30 22:34:22 +00:00
oglx.pas * settings refactored 2006-10-30 18:02:58 +00:00
ogmap.pas
optcse.pas * remove ttype 2006-10-29 22:19:39 +00:00
options.pas * settings refactored 2006-10-30 18:02: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
owbase.pas
parabase.pas
paramgr.pas * remove ttype 2006-10-29 22:19:39 +00:00
parser.pas * settings refactored 2006-10-30 18:02:58 +00:00
pass_1.pas * settings refactored 2006-10-30 18:02:58 +00:00
pass_2.pas * settings refactored 2006-10-30 18:02:58 +00:00
pbase.pas * settings refactored 2006-10-30 18:02:58 +00:00
pdecl.pas * settings refactored 2006-10-30 18:02:58 +00:00
pdecobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
pdecsub.pas * settings refactored 2006-10-30 18:02:58 +00:00
pdecvar.pas * settings refactored 2006-10-30 18:02:58 +00:00
pexports.pas * implemented kylix like local directive, fixes #7242 2006-10-19 20:26:14 +00:00
pexpr.pas * settings refactored 2006-10-30 18:02:58 +00:00
pinline.pas * settings refactored 2006-10-30 18:02:58 +00:00
pmodules.pas * settings refactored 2006-10-30 18:02:58 +00:00
pp.lpi
pp.pas * remove ifdef fpc 2006-10-07 13:43:34 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
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 * settings refactored 2006-10-30 18:02:58 +00:00
psub.pas * settings refactored 2006-10-30 18:02:58 +00:00
psystem.pas * settings refactored 2006-10-30 18:02:58 +00:00
ptconst.pas * settings refactored 2006-10-30 18:02:58 +00:00
ptype.pas * settings refactored 2006-10-30 18:02:58 +00:00
raatt.pas * remove ttype 2006-10-29 22:19:39 +00:00
rabase.pas
rasm.pas
rautils.pas * settings refactored 2006-10-30 18:02:58 +00:00
README
regvars.pas * settings refactored 2006-10-30 18:02:58 +00:00
rgbase.pas
rgobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
scandir.pas * settings refactored 2006-10-30 18:02:58 +00:00
scanner.pas * get proper moduleindex when loading a unit, fixes #4778 2006-10-30 21:01:51 +00:00
script.pas * settings refactored 2006-10-30 18:02:58 +00:00
switches.pas * settings refactored 2006-10-30 18:02:58 +00:00
symbase.pas * use unique symid and defid per module 2006-10-29 13:00:22 +00:00
symconst.pas * use unique symid and defid per module 2006-10-29 13:00:22 +00:00
symdef.pas * settings refactored 2006-10-30 18:02:58 +00:00
symnot.pas
symsym.pas * settings refactored 2006-10-30 18:02:58 +00:00
symtable.pas * settings refactored 2006-10-30 18:02:58 +00:00
symtype.pas * get proper moduleindex when loading a unit, fixes #4778 2006-10-30 21:01:51 +00:00
symutil.pas
systems.pas * fixes compilation due to neli-ism 2006-10-05 16:50:49 +00:00
tgobj.pas * settings refactored 2006-10-30 18:02:58 +00:00
tokens.pas + store compiler switch changes in generic token streams 2006-10-30 19:54:17 +00:00
verbose.pas * get proper moduleindex when loading a unit, fixes #4778 2006-10-30 21:01:51 +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