fpc/compiler
florian be2b715d3c + parsing of disp variant invokes
git-svn-id: trunk@5162 -
2006-11-01 21:23:04 +00:00
..
alpha * remove ttype 2006-10-29 22:19:39 +00:00
arm * fix non-x86 for iasmop 2006-11-01 16:23:43 +00:00
html
i386 * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * fix non-x86 for iasmop 2006-11-01 16:23:43 +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 * fixes after 5148 changes for ppc platform 2006-11-01 16:09:38 +00:00
powerpc64 * fixes after 5148 changes for ppc platform 2006-11-01 16:09:38 +00:00
ppcgen * settings refactored 2006-10-30 18:02:58 +00:00
sparc * fix non-x86 for iasmop 2006-11-01 16:23:43 +00:00
systems * More fixes for wince exceptions. Debugging also work with internal linker now for wince. 2006-10-31 16:06:44 +00:00
utils * fixed for non-i386 2006-10-31 10:14:10 +00:00
vis
x86 * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
x86_64 * settings refactored 2006-10-30 18:02:58 +00:00
aasmbase.pas * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
aasmdata.pas * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
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 * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
cfidwarf.pas
cfileutils.pas * 64bit compile fix 2006-10-31 12:15:03 +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 * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +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 * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
dbgstabs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
defcmp.pas - removed automatic int-string, string-int and int-array conversion for 2006-11-01 16:34:37 +00:00
defutil.pas + parsing of disp variant invokes 2006-11-01 21:23:04 +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 * fixed linux compile 2006-10-31 11:35:54 +00:00
globtype.pas * activated internal get_frame for x86 2006-11-01 12:48:53 +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 * fixed linker exit code detection in case of useshell 2006-11-01 00:19:20 +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 + parsing of disp variant invokes 2006-11-01 21:23:04 +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 * refactor implemented interfaces 2006-10-31 22:38:49 +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 * activated internal get_frame for x86 2006-11-01 12:48:53 +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 * fixed incompatibility between -gt and openstring (and faked open strings 2006-11-01 01:03:10 +00:00
ncnv.pas - removed automatic int-string, string-int and int-array conversion for 2006-11-01 16:34:37 +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 * activated internal get_frame for x86 2006-11-01 12:48:53 +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 * refactor implemented interfaces 2006-10-31 22:38:49 +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 * activated internal get_frame for x86 2006-11-01 12:48:53 +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 + parsing of disp variant invokes 2006-11-01 21:23:04 +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 + parsing of disp variant invokes 2006-11-01 21:23:04 +00:00
pdecl.pas * give correct error locations for errors when specializing templates 2006-10-30 23:28:06 +00:00
pdecobj.pas * refactor implemented interfaces 2006-10-31 22:38:49 +00:00
pdecsub.pas * refactor implemented interfaces 2006-10-31 22:38:49 +00:00
pdecvar.pas * refactor implemented interfaces 2006-10-31 22:38:49 +00:00
pexports.pas * implemented kylix like local directive, fixes #7242 2006-10-19 20:26:14 +00:00
pexpr.pas + parsing of disp variant invokes 2006-11-01 21:23:04 +00:00
pinline.pas + parsing of disp variant invokes 2006-11-01 21:23:04 +00:00
pmodules.pas * More fixes for wince exceptions. Debugging also work with internal linker now for wince. 2006-10-31 16:06:44 +00:00
pp.lpi * fixed broken project 2006-11-01 17:39:53 +00:00
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 * activated internal get_frame for x86 2006-11-01 12:48:53 +00:00
psystem.pas * activated internal get_frame for x86 2006-11-01 12:48:53 +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 * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rabase.pas
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +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 * fix * support for resources 2006-11-01 15:53:13 +00:00
scanner.pas * scannerdirectives to TFPHashObjectList 2006-11-01 16:32:13 +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 * refactor implemented interfaces 2006-10-31 22:38:49 +00:00
symnot.pas
symsym.pas * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +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 * Revert version change 2006-05-30 18:36:32 +00:00
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