fpc/compiler
peter ec4d287fd8 * aktoutputformat removed, add new paraXX vars for target
assembler and debuginfo and use these vars to override
    the defaults for the target after the parameters are read
  * remove not-maintained and tested gdb code

git-svn-id: trunk@1201 -
2005-09-25 21:17:37 +00:00
..
alpha
arm * fixed result registers for reals when using softfloat mode 2005-09-25 17:44:24 +00:00
html
i386 * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
ia64
m68k * make m68k compile 2005-09-19 11:46:23 +00:00
mips *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
msg + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
powerpc * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
powerpc64 * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
sparc * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
systems * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
utils * fixed fppkg for x86-64 2005-09-14 20:26:12 +00:00
vis
x86 * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
x86_64 * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
aasmbase.pas * add FSectsIndex that stores the sections in order, the old FSects is renamed to FSectsDict 2005-09-23 13:22:25 +00:00
aasmtai.pas * remove wrong check for empty section name. An empty section name is 2005-09-20 06:33:14 +00:00
aggas.pas * don't strip aname for resources 2005-09-25 21:03:55 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
aoptobj.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
assemble.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
browcol.pas
browlog.pas
bsdcompile
catch.pas
cclasses.pas
cg64f32.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
cgbase.pas - Powerpc compiler cycles again; during adding PowerPC64 code, the trefaddr enumeration for PPC was mixed up 2005-09-25 19:16:57 +00:00
cgobj.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
cgutils.pas
charset.pas
cmsgs.pas
comphook.pas + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
compiler.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
compinnr.inc
comprsrc.pas + wince resource compiler support 2005-09-06 20:28:03 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
cstreams.pas
cutils.pas * Remove ifdef 1_0 2005-07-23 08:37:26 +00:00
dbgbase.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
dbgdwarf.pas * basic framework for debuginfo class added 2005-09-15 08:34:51 +00:00
dbgstabs.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
defcmp.pas * overload choosing for ansistring -> short/wide 2005-08-30 06:55:10 +00:00
defutil.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
dwarf.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
export.pas
finput.pas
fmodule.pas
fpcdefs.inc * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
fppu.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
gdb.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
gendef.pas
globals.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
globtype.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
htypechk.pas * allow deref of loop variable 2005-08-30 05:51:39 +00:00
impdef.pas
import.pas
link.pas
make_old.cmd
Makefile * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
Makefile.fpc * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
msgtxt.inc + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
nadd.pas * there is no muls, muld must be generated 2005-09-24 14:58:28 +00:00
nbas.pas * more informative printnode* output for temp-related nodes 2005-07-19 14:59:04 +00:00
ncal.pas * remove obsolete pass2inline code 2005-09-25 20:02:17 +00:00
ncgadd.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgbas.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgcal.pas * remove obsolete pass2inline code 2005-09-25 20:02:17 +00:00
ncgcnv.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgcon.pas * fix wrong typecast for smallset 2005-09-20 13:51:17 +00:00
ncgflw.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncginl.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgld.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgmat.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgmem.pas * cleaner fix for tb0496 (r1185) 2005-09-25 19:23:37 +00:00
ncgopt.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgset.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgutil.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
ncnv.pas * cleaner fix for tb0496 (r1185) 2005-09-25 19:23:37 +00:00
ncon.pas - removed "INT64FUNCRESOK" define (no longer defined and already fixed, 2005-08-21 17:08:16 +00:00
nflw.pas * tp procvar support for ifn,whilerepeatn 2005-07-20 06:49:14 +00:00
ninl.pas + length(<variant>); 2005-09-22 08:51:23 +00:00
nld.pas * fixed creating shared libraries under Darwin/Mac OS X 2005-07-22 10:09:52 +00:00
nmat.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
nmem.pas
nobj.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas * remove obsolete pass2inline code 2005-09-25 20:02:17 +00:00
ogbase.pas
ogcoff.pas * lineinfo fixed for binary writer 2005-09-19 11:47:30 +00:00
ogelf.pas * binary writer must take care of resource sections as well 2005-09-25 21:16:09 +00:00
oglx.pas
ogmap.pas
optcse.pas
options.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
optunrol.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
pass_1.pas
pass_2.pas
pbase.pas
pdecl.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
pdecobj.pas * fixed support for anonymous class/object definitions in macpas mode 2005-07-26 10:11:39 +00:00
pdecsub.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
pdecvar.pas * rename al_code to al_procedures, al_bss/al_data to al_globals 2005-09-15 06:51:12 +00:00
pexports.pas * from Yury Sidorov: 2005-07-09 09:31:57 +00:00
pexpr.pas * support for widestrings in tconstsym 2005-07-18 12:54:15 +00:00
pinline.pas
pmodules.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
pp.lpi
pp.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
procinfo.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
pstatmnt.pas * exception parser checks now if the used id for the handler is really ON, fixes webbug 4256 2005-08-05 19:44:10 +00:00
psub.pas * finally fix for fixing up conditional jumps that are too long 2005-09-23 10:02:53 +00:00
psystem.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
ptconst.pas * rename al_code to al_procedures, al_bss/al_data to al_globals 2005-09-15 06:51:12 +00:00
ptype.pas * Proof of concept: Support threadvars using segment registers. 2005-07-24 21:06:23 +00:00
raatt.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
rabase.pas * basic framework for integrated arm assembler 2005-09-07 21:34:25 +00:00
rasm.pas
rautils.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas
scandir.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
scanner.pas + compile time expression type checking 2005-08-22 19:09:41 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
symdef.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
symnot.pas
symsym.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
symtable.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
symtype.pas * support sl_absolutetype in deref 2005-07-18 13:12:08 +00:00
symutil.pas * fix default parameter compare for widestring 2005-08-30 06:23:31 +00:00
systems.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
tgobj.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
tokens.pas
verbose.pas + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
version.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +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