fpc/compiler
Jonas Maebe ee2a4bc8f2 * fixed range errors
git-svn-id: trunk@6185 -
2007-01-25 15:19:00 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
html
i386 * fixed range errors 2007-01-25 15:19:00 +00:00
ia64
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips
msg + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
powerpc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
powerpc64 + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
ppcgen * fixed gprof support for darwin/ppc32 (although the output from gprof 2007-01-19 21:43:12 +00:00
sparc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
systems * fixed gprof support for darwin/ppc32 (although the output from gprof 2007-01-19 21:43:12 +00:00
utils * symbian support from Felipe 2007-01-18 20:24:10 +00:00
vis
x86 * fixed uninitialised variable (mantis 8198, already tested by 2007-01-25 11:43:15 +00:00
x86_64 * cmpxchg8b doesn't have a size suffix 2007-01-24 15:15:04 +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 * increased AsmOutSize from 32kb to 128kb, makes external assembling a 2007-01-24 15:44:36 +00:00
browcol.pas * reinstate code dealing with browser switches 2007-01-23 05:53:30 +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 + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compiler.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compinnr.inc
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
crefs.pas + new unit to handle references 2007-01-23 05:40:26 +00:00
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 * problem with virtual methods and interfaces fixed, fixes #8158 2007-01-21 15:57:16 +00:00
dbgdwarf.pas * avoid level 2 comments 2007-01-17 05:40:35 +00:00
dbgstabs.pas * problem with virtual methods and interfaces fixed, fixes #8158 2007-01-21 15:57:16 +00:00
defcmp.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
defutil.pas * fixed include/exclude for big endian after r6172 2007-01-24 21:53:05 +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 shouldn't be enabled in the compiler currently 2007-01-24 20:31:30 +00:00
fppu.pas * also queue source file info for ppu reporting 2007-01-22 20:17:46 +00:00
gendef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
globals.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
globtype.pas + reinstate browser switches 2007-01-23 05:41:26 +00:00
htypechk.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +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 * proper fix for r6069. Double quotes should not be used in makefiles because on Windows make creates batch file for executing programs with double quotes in parameters. It leads to strange errors. 2007-01-21 15:14:18 +00:00
Makefile.fpc * proper fix for r6069. Double quotes should not be used in makefiles because on Windows make creates batch file for executing programs with double quotes in parameters. It leads to strange errors. 2007-01-21 15:14:18 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
msgtxt.inc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
nadd.pas * taddnode.first_addstring, avoid memory leak if 2006-12-07 13:03:51 +00:00
nbas.pas * avoid memory leak for copy of withnode in tempnodes 2007-01-19 05:12:08 +00:00
ncal.pas * fixed calling class methods via classrefdefs (mantis #8145) 2007-01-19 18:05:58 +00:00
ncgadd.pas * remove invalid aword typecast 2007-01-22 19:40:31 +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 * fixed include/exclude for big endian after r6172 2007-01-24 21:53:05 +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 + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
ncgset.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
ncgutil.pas * don't trash out parameters, because the caller may expect them to be 2007-01-25 15:11:23 +00:00
ncnv.pas + support for sets with size 1 and 2 2007-01-24 20:06:56 +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 * call the ansistring version of val for zero-based array-of-char 2007-01-19 18:22:03 +00:00
nld.pas * Use IncRefCountBy 2007-01-23 05:49:05 +00:00
nmat.pas * do not convert input of unaryminusnode to sint if the original is currency; fixes tfloattostr for 64 bit platforms which use int64 as currency type 2007-01-21 22:09:32 +00:00
nmem.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +00:00
nobj.pas * fixed overload checking of virtual and class methods (mantis #8140) 2007-01-19 17:20:36 +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 + use reinstated browser switches 2007-01-23 05:42:22 +00:00
opttail.pas * don't do tail recursion optimization on types requiring init/final code 2007-01-17 22:02:42 +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 * move broser information generation to a place where the infos are still valid 2007-01-23 05:52:42 +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 * fixed #8156 2007-01-21 16:15:19 +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 + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
pinline.pas * show name of procedure/function called with too few parameters 2006-12-01 20:15:57 +00:00
pmodules.pas * postpone some freeing if SymbolInfo is needed 2007-01-17 05:46:21 +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
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 * don't call blockwrite if there's nothing to write 2007-01-24 16:05:39 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * fixed with-support for classrefdefs (mantis 8150), with thanks to 2007-01-20 20:04:54 +00:00
psub.pas * cs_generate_stackframes (w+/-) should only apply to normal routines, 2007-01-24 10:08:17 +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 + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
rabase.pas
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +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 * minor fixes from mantis 8132 2007-01-20 21:06:54 +00:00
script.pas + implement pascal inline asm start/halt code for linux/i386 2006-11-02 16:58:41 +00:00
switches.pas * don't give a warning for {$u-} (means "Pentium-safe fdiv off", is only 2007-01-24 19:49:16 +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 + support for sets with size 1 and 2 2007-01-24 20:06:56 +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 * Use IncRefCount 2007-01-23 05:49:32 +00:00
symtype.pas + added code for reference list creation for tsym 2007-01-23 05:46:29 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas * symbian support from Felipe 2007-01-18 20:24:10 +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 + added -vs for time stamping 2007-01-24 20:32:06 +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