fpc/compiler
peter 60069ce3d2 * fix IE with -sr and EXTDEBUG
git-svn-id: trunk@5283 -
2006-11-07 22:43:34 +00:00
..
alpha * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
arm * some fpu emulation code from arm to generic code generator moved 2006-11-04 10:23:35 +00:00
html
i386 * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * some fpu emulation code from arm to generic code generator moved 2006-11-04 10:23:35 +00:00
mips Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
msg + ttertiarynode 2006-11-03 23:03:31 +00:00
powerpc * fixed r5214 2006-11-04 16:44:29 +00:00
powerpc64 * fixed r5214 2006-11-04 16:44:29 +00:00
ppcgen * moved some more common powerpc32/64 things to ppcgn 2006-11-03 12:30:17 +00:00
sparc * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
systems * add maybequoted for filenames 2006-11-05 13:27:29 +00:00
utils * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
x86_64 * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aasmbase.pas * AsmSymbolDict changed to FPHashObjectList 2006-11-01 00:22:13 +00:00
aasmdata.pas * show only totals for memdebug 2006-11-03 11:24:02 +00:00
aasmtai.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
aggas.pas * fixed invalid typecast 2006-11-02 23:11:25 +00:00
aopt.pas * settings refactored 2006-10-30 18:02:58 +00:00
aoptbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptcs.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptda.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptobj.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
assemble.pas * fixed building of smart linked units 2006-11-04 18:12:33 +00:00
browcol.pas * refactor procsym procdef list 2006-11-03 18:44:46 +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 * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cfileutils.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
cg64f32.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
cgbase.pas * refactor gen_alloc_symtable so it depends on varsym type and not 2006-11-05 21:53:40 +00:00
cgobj.pas * use aword(1) shl x, to prevent overflow with 1 shl 31 2006-11-07 18:14:25 +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 * show only totals for memdebug 2006-11-03 11:24:02 +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 tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
cstreams.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
cutils.pas * gettoken add support for " quotes 2006-11-05 13:27:12 +00:00
dbgbase.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
dbgdwarf.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
dbgstabs.pas * stab types was moved to interface part. 2006-11-05 17:06:48 +00:00
defcmp.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
defutil.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
fmodule.pas * show only totals for memdebug 2006-11-03 11:24:02 +00:00
fpccrc.pas
fpcdefs.inc * fix cross-compiling from i386/linux 2006-11-02 21:19:24 +00:00
fppu.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
gendef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
globals.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
globtype.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
htypechk.pas * first partially working implementation of variant com invoking 2006-11-05 15:34:15 +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 building of smart linked units 2006-11-04 18:12:33 +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 + ttertiarynode 2006-11-03 23:03:31 +00:00
msgtxt.inc + ttertiarynode 2006-11-03 23:03:31 +00:00
nadd.pas * fixed wince build. 2006-11-05 17:55:00 +00:00
nbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncal.pas * typo 2006-11-05 21:19:41 +00:00
ncgadd.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcal.pas * pushparavalue shouldn't care about emulation settings 2006-11-05 21:55:12 +00:00
ncgcnv.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcon.pas * fix x64 compile 2006-11-03 18:44:19 +00:00
ncgflw.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncginl.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
ncgld.pas * refactor loadnode for varsyms 2006-11-05 21:58:01 +00:00
ncgmat.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgmem.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgrtti.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
ncgset.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgutil.pas * refactor gen_alloc_symtable so it depends on varsym type and not 2006-11-05 21:53:40 +00:00
ncnv.pas * first partially working implementation of variant com invoking 2006-11-05 15:34:15 +00:00
ncon.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
nflw.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
ninl.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nld.pas * refactor gen_alloc_symtable so it depends on varsym type and not 2006-11-05 21:53:40 +00:00
nmat.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nmem.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nobj.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
node.pas + ttertiarynode 2006-11-03 23:03:31 +00:00
nopt.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nset.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
nstate.pas
nutils.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ogbase.pas * properly align common symbols. 2006-11-06 00:22:33 +00:00
ogcoff.pas * small fix for previous commit. 2006-11-05 19:47:24 +00:00
ogelf.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
oglx.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +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 * first partially working implementation of variant com invoking 2006-11-05 15:34:15 +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 Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
pass_1.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
pass_2.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
pbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
pdecl.pas * don't try to generate rtti if the type has an error 2006-11-07 08:52:53 +00:00
pdecobj.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
pdecsub.pas * fix hiding of symbols 2006-11-07 08:53:15 +00:00
pdecvar.pas * fixed adding of .dll extension 2006-11-05 13:05:21 +00:00
pexports.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
pexpr.pas * first partially working implementation of variant com invoking 2006-11-05 15:34:15 +00:00
pinline.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
pmodules.pas * Internal linker sorts only .idata section and removes stabs of unused functions. It seems all debug info problems with internal linker are solved now. 2006-11-05 17:13:31 +00:00
pp.lpi * windowism removed 2006-11-04 17:59:06 +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 * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
psub.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
psystem.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
ptconst.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
ptype.pas * move rtti and vmt table generation into write_persistent_type_info 2006-11-05 12:40:13 +00:00
raatt.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
rabase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
README
regvars.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
rgbase.pas
rgobj.pas * fix IE with -sr and EXTDEBUG 2006-11-07 22:43:34 +00:00
scandir.pas * only add resext if no extension was specified 2006-11-03 08:51:23 +00:00
scanner.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
script.pas + implement pascal inline asm start/halt code for linux/i386 2006-11-02 16:58:41 +00:00
switches.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
symbase.pas * fix hiding of symbols 2006-11-07 08:53:15 +00:00
symconst.pas * move rtti and vmt table generation into write_persistent_type_info 2006-11-05 12:40:13 +00:00
symdef.pas * copy savesize for procvardefs as well 2006-11-07 22:00:33 +00:00
symnot.pas
symsym.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
symtable.pas * fix hiding of symbols 2006-11-07 08:53:15 +00:00
symtype.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas + windows uses now sysinit units as well 2006-11-02 23:20:35 +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