fpc/compiler
Jonas Maebe 34b3a14ffc * fixed typo in opcode tables (hbrx -> lhbrx)
git-svn-id: trunk@7143 -
2007-04-20 15:14:40 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm * better insert of pc relative data 2007-03-24 18:35:53 +00:00
html
i386 * properly release open array value parameters on x86-64 or if they contain automated types, resolves #8664 2007-04-13 19:20:56 +00:00
ia64
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips
msg * "too much registers" -> "too many registers" 2007-03-28 13:17:38 +00:00
powerpc * fixed typo in opcode tables (hbrx -> lhbrx) 2007-04-20 15:14:40 +00:00
powerpc64 * fixed typo in opcode tables (hbrx -> lhbrx) 2007-04-20 15:14:40 +00:00
ppcgen * fixed loading spilled registers from offsets outside the smallint 2007-04-20 13:22:45 +00:00
sparc * simplified and fixed a_load_reg_reg() 2007-04-17 13:35:42 +00:00
systems * fix for tw3661 failure for linux 2007-04-17 14:25:06 +00:00
utils * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +00:00
vis
x86 * properly release open array value parameters on x86-64 or if they contain automated types, resolves #8664 2007-04-13 19:20:56 +00:00
x86_64 * fixed x86-64 compilation 2007-03-21 12:26:06 +00:00
aasmbase.pas * comment about sec_fpc extended to cover current meaning 2007-03-17 22:10:02 +00:00
aasmdata.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +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 * fix incorrect generation of huge static arrays on 64 bit systems; however, GAS only supports 2^31-1 sized ones 2007-02-08 22:11:27 +00:00
aggas.pas * OS/2 compilation fixes (not completely finished yet) 2007-03-20 00:49:20 +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 * support relative symbol calculation for uleb128/sleb128 2007-03-29 06:08:58 +00:00
browcol.pas * reinstate code dealing with browser switches 2007-01-23 05:53:30 +00:00
bsdcompile
catch.pas
cclasses.pas * explicitly use shortstring for TFPHashList 2007-02-02 18:58:29 +00:00
cfidwarf.pas
cfileutils.pas * fixed win32 and go32v2 compilation 2007-02-22 07:31:19 +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 * fixed register and operation sizes of a_load_ref_reg_unaligned() 2007-04-17 13:35:16 +00:00
cgutils.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
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 * set starttime earlier so time stamps don't get messed up 2007-01-27 13:45:49 +00:00
compinnr.inc
comprsrc.pas * forgotten commit 2007-02-19 19:42:22 +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 * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
cstreams.pas * TCFileStream.Seek should return the new position 2007-03-24 10:38:36 +00:00
cutils.pas * prefer a loadsize of 4 over 8 bytes for packed loads on 64 bit, 2007-03-06 15:51:41 +00:00
dbgbase.pas + added generation of debugging infos of parast and localst for methods 2007-03-30 21:34:55 +00:00
dbgdwarf.pas * don't create debugging entries for generic typesyms, since they 2007-03-13 14:51:47 +00:00
dbgstabs.pas * stabs info for this if in register 2007-04-17 23:09:51 +00:00
defcmp.pas * cleaned up set conversion 2007-02-25 16:29:39 +00:00
defutil.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +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 * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
gendef.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
globals.pas * fix range check error 2007-02-25 17:51:04 +00:00
globtype.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
htypechk.pas * call procvar only in arguments when the return type matches or there are 2007-03-08 07:53:36 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas
link.pas * -Xg generates a separate file with the debug info sections 2007-02-24 15:06:31 +00:00
make_old.cmd
Makefile * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +00:00
Makefile.fpc + eDSP instructions for arm 2007-02-11 15:10:27 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * fixed typos (MacOS -> Mac OS) 2007-03-19 13:45:16 +00:00
msgtxt.inc * "too much registers" -> "too many registers" 2007-03-28 13:17:38 +00:00
nadd.pas * fix r7009, check also if the other node is integer type 2007-03-30 06:51:23 +00:00
nbas.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
ncal.pas * Fix indentation. 2007-03-25 14:38:45 +00:00
ncgadd.pas * several packed array and varset related ies on sparc fixed 2007-03-17 09:16:48 +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 * tried to restore old set behaviour for big endian targets 2007-03-03 17:52:55 +00:00
ncgflw.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncginl.pas * compiler handled round/trunc for x86 2007-03-13 20:23:24 +00:00
ncgld.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * be more carefull with unaligned load optimization 2007-02-07 17:43:56 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgrtti.pas * handle rtti for sets with a size of 1 and 2 properly, resolves #8660 2007-04-17 20:34:58 +00:00
ncgset.pas * properly align case target labels 2007-02-10 18:42:25 +00:00
ncgutil.pas * properly release open array value parameters on x86-64 or if they contain automated types, resolves #8664 2007-04-13 19:20:56 +00:00
ncnv.pas * changed *string_to_*chararray helpers from functions into procedures 2007-03-18 12:20:01 +00:00
ncon.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
nflw.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
ninl.pas * don't warn about uninitialised open array out parameters when 2007-03-17 21:57:45 +00:00
nld.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +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 * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
node.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
nopt.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
nset.pas * slightly improved previous in checking patch 2007-03-16 22:31:51 +00:00
nstate.pas
nutils.pas * nothingn has a complexity of 0 2007-03-13 21:56:25 +00:00
ogbase.pas * Allow @ and ? characters in imported function name when AS is used. It fixes bug #8391. 2007-02-26 17:51:38 +00:00
ogcoff.pas * force empty .idata section at end of each dll to be in executable with oso_keep option 2007-04-17 23:09:09 +00:00
ogelf.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +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
optbase.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
optcse.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
options.pas * WinCE compilation fixed 2007-03-20 10:09:54 +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 * load object files always at once, speeds up Morfik project compilation by 15% 2007-03-24 10:39:55 +00:00
parabase.pas
paramgr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * Remove consoleio feature from gba & nds as well. 2007-02-17 16:42:04 +00:00
pass_1.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
pass_2.pas * fixed missing lineinfo after removing inlining_procedure (missed a "not" in 2007-01-30 15:30:47 +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 * properly inherit interface types, resolves #6690 2007-04-14 20:37:47 +00:00
pdecsub.pas * OS/2 compilation fixes (not completely finished yet) 2007-03-20 00:49:20 +00:00
pdecvar.pas * try to be more strict for _ID lists 2007-04-16 10:11:36 +00:00
pexports.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
pexpr.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
pinline.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
pmodules.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +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
ppcppc.lpi + powerpc lazarus project file 2007-03-03 14:53:15 +00:00
ppcsparc.lpi + sparc lazarus project file 2007-04-05 10:22:24 +00:00
ppheap.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * increased ppu version for setdef patch 2007-02-07 20:33:10 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * fixed val(s,int64) (it accepted values in the range 2007-03-12 22:22:43 +00:00
psub.pas * OS/2 compilation fixes (not completely finished yet) 2007-03-20 00:49:20 +00:00
psystem.pas * don't call afterconstruction/beforedestruction in case an exception 2007-01-26 17:38:53 +00:00
ptconst.pas * fixed rangecheck define typo 2007-03-13 14:49:03 +00:00
ptype.pas * forbid anonymous generic specializations 2007-02-24 10:06:53 +00:00
raatt.pas * merged some code which was ifdefed separately for POWERPC and POWERPC64 code but is equal 2007-02-08 22:52:11 +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 * savefpuexceptions directive renamed to safefpuexceptions 2007-03-28 18:05:40 +00:00
scanner.pas - Put gpc mode between ifdefs. The only thing it does it disable all 2007-02-16 23:13:28 +00:00
script.pas * more file handling from shortstring to tcmdstr 2007-02-21 21:54:54 +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 * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
symdef.pas * handle rtti for sets with a size of 1 and 2 properly, resolves #8660 2007-04-17 20:34:58 +00:00
symnot.pas
symsym.pas * fix incorrect generation of huge static arrays on 64 bit systems; however, GAS only supports 2^31-1 sized ones 2007-02-08 22:11:27 +00:00
symtable.pas * unified ies 2007-03-03 16:03:20 +00:00
symtype.pas * fixed debug info for pass-by-reference parameters in dwarf by 2007-02-18 22:49:47 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas * made arm-wince default target for arm cross compilers hosted on windows 2007-03-31 20:56:16 +00:00
tgobj.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas * align Comment behaviour with Msg2Comment 2007-03-25 00:21:12 +00:00
version.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +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