fpc/compiler
pierre 71c5820780 * trying to resurrect Browser
git-svn-id: trunk@6016 -
2007-01-17 05:43:22 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm * Fixed Internal error 2003042401 in tw7379 for ARM CPU. 2007-01-14 01:15:22 +00:00
html
i386 * correct assembling of test rm8,reg8 2007-01-14 18:08:37 +00:00
ia64
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips
msg * forbid to take the address of a label defined outside of the current procedure 2007-01-14 19:21:37 +00:00
powerpc * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
powerpc64 * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ppcgen * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
sparc * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
systems * fixed duplicate alias check 2007-01-16 18:31:27 +00:00
utils * fixed bashisms 2007-01-15 21:56:25 +00:00
vis
x86 * correct assembling of test rm8,reg8 2007-01-14 18:08:37 +00:00
x86_64 * correct assembling of test rm8,reg8 2007-01-14 18:08:37 +00:00
aasmbase.pas * .init section support 2007-01-07 10:03:52 +00:00
aasmdata.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
aasmsym.pas * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
aasmtai.pas * dummy assignment to tai_cpu_abstract.Pass1 result to avoid warning 2007-01-02 18:33:57 +00:00
aggas.pas * .init section support 2007-01-07 10:03:52 +00:00
aopt.pas * arm cond. instruction support 2006-11-14 22:37:22 +00:00
aoptbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptcs.pas
aoptda.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptobj.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
assemble.pas * don't generate RVA reloc in stabs if there is no symbol 2007-01-15 16:46:50 +00:00
browcol.pas * trying to resurrect Browser 2007-01-17 05:43:22 +00:00
bsdcompile
catch.pas
cclasses.pas * add TFPHashList.FindIndexOf 2007-01-11 21:52:32 +00:00
cfidwarf.pas
cfileutils.pas + removed workaround (dircache disable) for morphos (and amiga) 2007-01-15 23:46:11 +00:00
cg64f32.pas * cleanup deleting of defs 2007-01-11 20:46:57 +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 * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
cgutils.pas
charset.pas
cmsgs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
comphook.pas + needsymbolinfo boolean var added 2007-01-17 05:41:52 +00:00
compiler.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
compinnr.inc
comprsrc.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
cstreams.pas
cutils.pas * get rid of unitialized warnings 2007-01-17 05:38:42 +00:00
dbgbase.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
dbgdwarf.pas * avoid level 2 comments 2007-01-17 05:40:35 +00:00
dbgstabs.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
defcmp.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
defutil.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * fixed -o for sharedlibrary 2007-01-15 17:21:38 +00:00
fmodule.pas * ignore program module when resolving unit names during ppu load 2006-12-30 17:18:28 +00:00
fpccrc.pas
fpcdefs.inc * varsets disabled completely for now 2006-11-14 21:43:29 +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 redundant initalization of LinkTypeSetExplicitly 2007-01-13 12:28:14 +00:00
globtype.pas + start of embedded rtl 2006-12-17 18:40:36 +00:00
htypechk.pas * fixed webtbf/tw3631 2007-01-16 21:15:21 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas
link.pas * support linker options (-k) which are > 255 chars combined 2007-01-12 17:12:29 +00:00
make_old.cmd
Makefile * Makefiles regenerated 2007-01-06 21:08:19 +00:00
Makefile.fpc
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * forbid to take the address of a label defined outside of the current procedure 2007-01-14 19:21:37 +00:00
msgtxt.inc * forbid to take the address of a label defined outside of the current procedure 2007-01-14 19:21:37 +00:00
nadd.pas * taddnode.first_addstring, avoid memory leak if 2006-12-07 13:03:51 +00:00
nbas.pas * varset support fixed 2006-11-08 22:48:44 +00:00
ncal.pas * fixed webtbf/tw3631 2007-01-16 21:15:21 +00:00
ncgadd.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcal.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgcnv.pas * fixed x86 vector mmloads and use scalar loads in ncgcnv 2007-01-14 13:36:26 +00:00
ncgcon.pas * fixed writing of double constants on WinCE 2006-11-17 22:17:54 +00:00
ncgflw.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncginl.pas * activated internal get_frame for ARM. 2007-01-13 15:23:51 +00:00
ncgld.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * copy unique return value to address register on m68k 2006-12-07 20:10:00 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgrtti.pas * refactor tclassheader in tvmtbuilder and tvmtwriter 2006-11-13 22:03:17 +00:00
ncgset.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
ncgutil.pas * fixed duplicate alias check 2007-01-16 18:31:27 +00:00
ncnv.pas * ttypeconvnode.simplify, avoid a memory leak 2006-12-07 13:06:31 +00:00
ncon.pas * added support for very big/small currency constants for non x86 CPUs. 2007-01-13 12:12:20 +00:00
nflw.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
ninl.pas * Use fpc_Write_Text_Currency and fpc_Read_Text_Currency for currency. 2007-01-10 22:13:01 +00:00
nld.pas * fix intf assignment 2007-01-16 22:42:21 +00:00
nmat.pas * warn when doing not(uninitialised_variable) 2007-01-16 16:34:44 +00:00
nmem.pas * fixed webtbf/tw3631 2007-01-16 21:15:21 +00:00
nobj.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
node.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
nopt.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nset.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nstate.pas
nutils.pas * niln has a compelxity of 0 (so the inlining code doesn't try to take 2006-12-29 01:11:41 +00:00
ogbase.pas * fix IE after duplicate asm symbol 2007-01-15 17:45:01 +00:00
ogcoff.pas * .init section support 2007-01-07 10:03:52 +00:00
ogelf.pas * .init section support 2007-01-07 10:03:52 +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 * activated internal get_frame for ARM. 2007-01-13 15:23:51 +00:00
opttail.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +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 tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +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 * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecl.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecobj.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
pdecsub.pas * correct debug info for parentfp hidden parameter, 2007-01-15 05:13:53 +00:00
pdecvar.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
pexports.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
pexpr.pas * forbid to take the address of a label defined outside of the current procedure 2007-01-14 19:21:37 +00:00
pinline.pas * show name of procedure/function called with too few parameters 2006-12-01 20:15:57 +00:00
pmodules.pas Fixed lineinfo compilation with -gl 2006-12-26 19:27:45 +00:00
pp.lpi * more improvements 2006-11-12 22:32:26 +00:00
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
ppc68k.lpi * small m68k-linux fixes 2006-11-19 21:51:20 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppcarm.lpi * initial copy from i386 2006-11-15 20:33:43 +00:00
ppheap.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * added support for very big/small currency constants for non x86 CPUs. 2007-01-13 12:12:20 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
psub.pas * fixed mantis #6152 (allow overloads to be defined before all 2007-01-15 21:59:43 +00:00
psystem.pas * activated internal get_frame for ARM. 2007-01-13 15:23:51 +00:00
ptconst.pas * added support for very big/small currency constants for non x86 CPUs. 2007-01-13 12:12:20 +00:00
ptype.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
raatt.pas * .init section support 2007-01-07 10:03:52 +00:00
rabase.pas
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas + added several warnings about use of references 2006-12-29 09:37:15 +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 * compiler part of first Nintendo DS port 2006-12-14 17:32:16 +00:00
scanner.pas * ignoredirectives changed to tfphashlist 2007-01-11 21:52:53 +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 * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symconst.pas * fixed webtbf/tw3631 2007-01-16 21:15:21 +00:00
symdef.pas * avoid level 2 comments 2007-01-17 05:37:15 +00:00
symnot.pas
symsym.pas * don't override varregable for tabstractvarsyms loaded from a ppu when 2006-12-04 14:16:43 +00:00
symtable.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symtype.pas * fixed bug where derefs with an index 65535 were not read correctly 2006-12-14 20:21:05 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas + start of embedded rtl 2006-12-17 18:40:36 +00:00
tgobj.pas * changed ref parameter of gettemp/gettemptyped from var to out to fix 2007-01-12 10:29:14 +00:00
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas * don't open error file twice but close it first if necessary 2006-11-12 16:00:01 +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