fpc/compiler
giulio 14d4f02fa0 * fixed fpc_zipinstall for go32v2 and the like
* makefiles regenerated

git-svn-id: trunk@11180 -
2008-06-03 14:01:09 +00:00
..
alpha
arm * test for previous commit 2008-05-23 16:16:34 +00:00
avr * fixed fpu type setting for avr 2008-03-08 17:09:40 +00:00
html
i386 * reverted r11039, it's no good 2008-05-23 07:55:16 +00:00
ia64
m68k * I hope it's proper fix for r10688. 2008-04-18 10:51:56 +00:00
mips
msg + warn if someone still uses ppc386.cfg 2008-05-18 07:57:54 +00:00
powerpc * cleaned up r10705 for ppc, improved comments 2008-04-19 19:54:09 +00:00
powerpc64 * cleaned up r10705 for ppc, improved comments 2008-04-19 19:54:09 +00:00
ppcgen * removed code for splitting a 64 bit store into 32 bit ones on 64 bit ppc. For more information see comments of r9721 2008-05-22 16:20:32 +00:00
sparc * fix interface wrappers on sparc 2008-05-18 11:11:30 +00:00
systems Updated go32v2 linker script: 2008-06-02 07:29:14 +00:00
utils * fixed fpc_zipinstall for go32v2 and the like 2008-06-03 14:01:09 +00:00
vis
x86 + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +00:00
x86_64 * fixed a_param_ref for source sizes < 8 bytes 2008-03-18 20:10:22 +00:00
aasmbase.pas
aasmdata.pas * Labels that are defined or referenced in a different lexical level 2008-01-19 13:50:58 +00:00
aasmsym.pas
aasmtai.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
aggas.pas * allocate .bss entries manual so we can take care of alignment 2008-03-24 11:55:03 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * set elf flags for soft float on arm 2008-03-25 16:15:15 +00:00
browcol.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
bsdcompile
catch.pas + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +00:00
cclasses.pas
cfidwarf.pas
cfileutl.pas * re-applied r7485, which got lost in r7639 because an old 2008-03-14 20:37:44 +00:00
cg64f32.pas
cgbase.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
cgobj.pas * Properly fill treference.alignment when variable is loaded by tcgloadnode. It allows code generator to insert unaligned handling if needed. 2008-04-16 23:01:20 +00:00
cgutils.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
charset.pas
cmsgs.pas * optimize fixpath, findfile to not require temp ansistrings 2007-11-19 22:24:52 +00:00
comphook.pas * optimize fixpath, findfile to not require temp ansistrings 2007-11-19 22:24:52 +00:00
compiler.pas + introduced default_settings record to enable compiler unit users to turn off default switches 2008-05-18 09:39:17 +00:00
compinnr.inc + inline abs(<longint>) on x86 2007-11-25 18:54:40 +00:00
comprsrc.pas * Improved finding of resource compiler during cross-compilation. 2008-04-21 11:13:13 +00:00
constexp.pas * fixed constant evaluation check for negvalue+posvalue (mantis #11216) 2008-04-26 21:22:08 +00:00
COPYING
cp437.pas
cp850.pas
cp866.pas
cp1251.pas
cp8859_1.pas
cp8859_5.pas
crefs.pas
cresstr.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
cstreams.pas
cutils.pas * fixed cutils local copy of swapendian 2008-05-10 10:45:25 +00:00
dbgbase.pas * fixed stabs debug info for webtbs/tw9766 again 2008-04-05 12:29:07 +00:00
dbgdwarf.pas * use global label to refer enum subrange type for setdefs 2008-04-09 08:03:55 +00:00
dbgstabs.pas * fixed typo in r10602 causing the names of all record structures of 2008-04-13 09:36:31 +00:00
defcmp.pas * make stringconstn => open array of char a l1 conversion as it was earlier, resolves #10727 2008-05-17 18:18:51 +00:00
defutil.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
export.pas * factored unix exports handling from t_bsd and t_linux into expunix unit 2008-03-24 16:55:05 +00:00
expunix.pp * factored unix exports handling from t_bsd and t_linux into expunix unit 2008-03-24 16:55:05 +00:00
finput.pas * support -Xg under linux 2008-01-20 12:12:15 +00:00
fmodule.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
fpccrc.pas * Add -Xg to help pages 2008-01-17 01:20:37 +00:00
fpcdefs.inc + define cpunodefaultint 2008-03-01 20:31:56 +00:00
fppu.pas + support for setting the name of "main" (-XM command line parameter) in 2008-03-01 13:05:01 +00:00
gendef.pas
globals.pas * fix building on all platforms after r10995 2008-05-18 12:41:00 +00:00
globtype.pas + support of -Mxxx or $modeswitch to enable single mode specific features 2008-05-10 22:04:53 +00:00
htypechk.pas * compare constant sets correctly while choosing an overloaded procedure, resolves #11288 2008-05-12 12:45:55 +00:00
impdef.pas
import.pas
link.pas * support -Xg under linux 2008-01-20 12:12:15 +00:00
Makefile * fixed fpc_zipinstall for go32v2 and the like 2008-06-03 14:01:09 +00:00
Makefile.fpc * add armeb target to compiler/Makefiles 2008-03-24 17:48:11 +00:00
MPWMake
msgidx.inc + warn if someone still uses ppc386.cfg 2008-05-18 07:57:54 +00:00
msgtxt.inc + warn if someone still uses ppc386.cfg 2008-05-18 07:57:54 +00:00
nadd.pas * range check error checking for floats refactored 2008-05-11 09:09:21 +00:00
nbas.pas
ncal.pas * also process tcallnode.funcretnode in nutils.foreachnode*(),needed 2008-05-12 20:50:43 +00:00
ncgadd.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
ncgbas.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgcal.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgcnv.pas * Fixed tw11027. 2008-04-16 08:34:30 +00:00
ncgcon.pas * range check error checking for floats refactored 2008-05-11 09:09:21 +00:00
ncgflw.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncginl.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgld.pas * cleaned up overleft of 10710 2008-04-19 11:38:54 +00:00
ncgmat.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ncgmem.pas * fix tw8191 for all architectures: skip code generation for range checking also when the range checking has to be done dynamically for pointers accessed as arrays which were typecasted from an array 2008-05-22 12:52:26 +00:00
ncgopt.pas
ncgrtti.pas * Do not align TTypeInfo.Name field in enumdef_rtti since TTypeInfo record is defined with {$PACKRECORDS 1}. It fixes tw8660 for ARM. 2008-04-23 12:07:20 +00:00
ncgset.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
ncgutil.pas * make stringconstn => open array of char a l1 conversion as it was earlier, resolves #10727 2008-05-17 18:18:51 +00:00
ncnv.pas * I hope it's proper fix for r10688. 2008-04-18 10:51:56 +00:00
ncon.pas * the result of not(dword(ordconst)) has to be dword as well for Delphi 2008-03-06 21:36:32 +00:00
nflw.pas * transform tryfinally nodes with an empty try parts into the finally block 2008-05-22 11:30:46 +00:00
ninl.pas * range check error checking for floats refactored 2008-05-11 09:09:21 +00:00
nld.pas * reverted 9727 and made a better fix for it 2008-01-13 13:23:19 +00:00
nmat.pas * make result of not(constant) (with constant type <= sinttype) 2008-03-07 16:33:15 +00:00
nmem.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
nobj.pas * patch by Sergei Gorelkin to improve class creation speed and make objpas.inc more readable 2008-05-22 11:49:40 +00:00
node.pas * optimize away unnecessary implicit upcasts to int64 for subtractions 2008-01-06 23:30:19 +00:00
nopt.pas
nset.pas + convert case <boolean> of into if statement, resolves #10517 2008-05-03 10:27:55 +00:00
nstate.pas
nutils.pas * transform tryfinally nodes with an empty try parts into the finally block 2008-05-22 11:30:46 +00:00
ogbase.pas * Fixed removing stabs for unused functions. It fixes debugging problems. 2008-05-13 13:12:07 +00:00
ogcoff.pas + internal linker takes care of setpeflags 2008-03-17 21:06:35 +00:00
ogelf.pas * set elf flags for soft float on arm 2008-03-25 16:15:15 +00:00
oglx.pas
ogmap.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
optbase.pas
optcse.pas
optdfa.pas
options.pas * fixed spelling 2008-06-02 09:12:59 +00:00
opttail.pas
optunrol.pas
optutils.pas
owar.pas
owbase.pas
parabase.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
paramgr.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
parser.pas * Handling of -Sf parameter fixed 2008-05-10 17:00:04 +00:00
pass_1.pas
pass_2.pas * first try to fix #10863 (don't do SSL in case left is already handled in an assignment node) 2008-04-19 09:23:45 +00:00
pbase.pas + experimental directive, resolves #10833 2008-02-15 19:29:34 +00:00
pdecl.pas
pdecobj.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
pdecsub.pas * don't generate a hidden parameter for static class methods, resolves #10998 2008-05-04 07:43:24 +00:00
pdecvar.pas * workaround for default property constant value limitations 2008-03-28 10:15:33 +00:00
pexports.pas * export names aren't mangled under OS/2 either (follow-up 2008-04-29 19:08:02 +00:00
pexpr.pas * enable parsing of default properties when used with objects, resolves #10795 2008-05-18 13:27:59 +00:00
pinline.pas
pmodules.pas * fixed execution of finalization section of smart linked shared 2008-03-24 22:19:21 +00:00
pp.lpi
pp.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * changed ppureal from extended into bestreal -> units cross-compiled 2008-05-24 12:11:06 +00:00
ppx86_64.lpi + x86_64 units for lazarus 2007-11-24 09:21:25 +00:00
procinfo.pas
pstatmnt.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
psub.pas * fixed "array of const" check in r10473 (+ fixed indentation) 2008-03-12 10:48:19 +00:00
psystem.pas + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone) 2008-03-02 12:59:02 +00:00
ptconst.pas + handle also widestring constants in constant string expressions 2008-05-10 08:58:35 +00:00
ptype.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
raatt.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
rabase.pas
rasm.pas
rautils.pas * split cpu64bit compiler define into 2008-02-13 20:44:00 +00:00
README + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +00:00
regvars.pas
rescmn.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
rgbase.pas
rgobj.pas * remove goto, that prevents optimizations 2008-01-28 18:13:32 +00:00
scandir.pas + support of -Mxxx or $modeswitch to enable single mode specific features 2008-05-10 22:04:53 +00:00
scanner.pas + support of -Mxxx or $modeswitch to enable single mode specific features 2008-05-10 22:04:53 +00:00
script.pas * fixed handling of directories with spaces for LdSupportsNoResponseFile- 2007-11-24 18:06:01 +00:00
switches.pas
symbase.pas
symconst.pas * cleanup and simplify the set type handling 2008-03-02 17:48:27 +00:00
symdef.pas * patch by Sergei Gorelkin to improve class creation speed and make objpas.inc more readable 2008-05-22 11:49:40 +00:00
symnot.pas
symsym.pas * Labels that are defined or referenced in a different lexical level 2008-01-19 13:50:58 +00:00
symtable.pas * reset aktobjectdef before compilation, resolves #10971 2008-05-03 14:36:47 +00:00
symtype.pas
symutil.pas
systems.pas + Haiku support by Olivier Coursière based on old BeOS support 2008-05-19 17:33:35 +00:00
tgobj.pas * Properly fill treference.alignment when variable is loaded by tcgloadnode. It allows code generator to insert unaligned handling if needed. 2008-04-16 23:01:20 +00:00
tokens.pas + experimental directive, resolves #10833 2008-02-15 19:29:34 +00:00
verbose.pas * patch by Sergej Gorelkin to improve speed of UpdateStatus on large projects 2008-06-01 10:37:16 +00:00
version.pas
widestr.pas

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 haiku
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
  cpu64bitaddr        The targets use a 64-bit address space (pointers and
                       the default integer type are 64 bit)
  cpu64bitalu         The target cpu has 64-bit registers available (unless
                       cpu64bitaddr is also defined, pointers and default
                       integer type remain 32 bit, but the cpu can perform
                       64 bit calculations directly without needing helpers)
  -----------------------------------------------------------------

  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