fpc/compiler
Jonas Maebe 48e98d2a17 * fixed compilation of macpas interface-only units
git-svn-id: trunk@2130 -
2006-01-02 20:55:10 +00:00
..
alpha * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
arm * fixed handling of doubles in softemu mode if they are split between register and memory 2005-12-24 17:43:57 +00:00
html
i386 * first implementation of pic for i386 2006-01-01 20:14:48 +00:00
ia64
m68k * remove svn:executable from *.pp and *.pas 2005-12-20 08:11:59 +00:00
mips *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
msg * commited -> committed (fix for web bug #4642, by Vincent Snijders) 2005-12-31 17:30:22 +00:00
powerpc + support for bo/bi notation for branches in the assembler reader 2006-01-01 13:34:04 +00:00
powerpc64 * ppc64/linux specific compiler patches to improve C parameter passing compatibility 2005-12-18 22:08:13 +00:00
sparc * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
systems * generate pic'ed external jmps on 386 as well if necessary 2005-12-31 13:51:57 +00:00
utils * basic support for generic classes 2005-12-21 10:11:15 +00:00
vis
x86 * more @GOT parsing 2006-01-02 18:30:18 +00:00
x86_64 * fixed interface wrappers in pic 2005-11-13 14:53:04 +00:00
aasmbase.pas * new assembler symbol type AT_LABEL needed for PowerPc64 target 2005-10-03 22:13:45 +00:00
aasmtai.pas * move stabs generation to a single procedure call from pmodules 2005-10-12 10:35:46 +00:00
aggas.pas * fixed writing of symbol sizes 2006-01-02 18:29:18 +00:00
aopt.pas + enabled postpeepholeopts phase 2005-10-12 19:47:21 +00:00
aoptbase.pas * cpu-specific overrides of optimizer methods now get called 2005-10-07 21:44:00 +00:00
aoptcs.pas
aoptda.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
aoptobj.pas + enabled postpeepholeopts phase 2005-10-12 19:47:21 +00:00
assemble.pas * move stabs generation to a single procedure call from pmodules 2005-10-12 10:35:46 +00:00
browcol.pas
browlog.pas
bsdcompile
catch.pas
cclasses.pas
cg64f32.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
cgbase.pas * keep upper bound of loops in a register instead of in memory 2006-01-01 17:02:34 +00:00
cgobj.pas * first implementation of pic for i386 2006-01-01 20:14:48 +00:00
cgutils.pas
charset.pas
cmsgs.pas
comphook.pas + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
compiler.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
compinnr.inc + slice implemented 2005-10-15 16:48:27 +00:00
comprsrc.pas + wince resource compiler support 2005-09-06 20:28:03 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas * fixed rtl package building 2005-11-15 22:39:32 +00:00
cstreams.pas
cutils.pas * move all stabs ($ifdef gdb) code to dbgstabs 2005-10-02 11:17:05 +00:00
dbgbase.pas * move stabs generation to a single procedure call from pmodules 2005-10-12 10:35:46 +00:00
dbgdwarf.pas * basic framework for debuginfo class added 2005-09-15 08:34:51 +00:00
dbgstabs.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
defcmp.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
defutil.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
dwarf.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
export.pas
finput.pas + Fixed -o option 2005-11-05 23:26:23 +00:00
fmodule.pas * first implementation of pic for i386 2006-01-01 20:14:48 +00:00
fpccrc.pas * Rename unit crc to fpccrc to avoid name conflict in packages 2005-12-01 16:45:44 +00:00
fpcdefs.inc - more PowerPC64 fixes; "Hello World" style programs can be compiled and run 2005-09-27 18:16:49 +00:00
fppu.pas * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
gendef.pas
globals.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
globtype.pas * fix parsing of typecasts in type declarations 2005-12-22 12:21:06 +00:00
htypechk.pas * also honour vsf_use_hints for uninitialised warnings for the 2005-12-26 14:44:03 +00:00
impdef.pas
import.pas
link.pas
make_old.cmd
Makefile * updated makefiles for ppc64/linux to allow successful snapshot building on that platform 2005-12-16 20:37:08 +00:00
Makefile.fpc * makefile adaption to be able to cycle compiler and RTL on PowerPC64 target 2005-10-08 15:48:39 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc * commited -> committed (fix for web bug #4642, by Vincent Snijders) 2005-12-31 17:30:22 +00:00
msgtxt.inc * commited -> committed (fix for web bug #4642, by Vincent Snijders) 2005-12-31 17:30:22 +00:00
nadd.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
nbas.pas * more informative printnode* output for temp-related nodes 2005-07-19 14:59:04 +00:00
ncal.pas * fixed web bug #4651 + test 2006-01-01 20:19:38 +00:00
ncgadd.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgbas.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgcal.pas * ppc64/linux: enhanced varargs support (passes tprintf test now) 2005-11-17 21:35:01 +00:00
ncgcnv.pas * string constants are now array of char until 2005-10-02 11:08:58 +00:00
ncgcon.pas * compiler discerns between +0.0 and -0.0 2005-12-10 20:37:17 +00:00
ncgflw.pas - removed code commented out in previous commit 2006-01-01 17:42:58 +00:00
ncginl.pas * OP_DIV shouldn't be used directly, not all cpu CGs support it 2005-10-19 14:31:59 +00:00
ncgld.pas * always generate code which can be used to build dynamically loadable 2005-12-20 19:58:27 +00:00
ncgmat.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgmem.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
ncgopt.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgset.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgutil.pas * first implementation of pic for i386 2006-01-01 20:14:48 +00:00
ncnv.pas * fixed ie when "converting" double to double and single to single on softemu 2005-12-22 22:24:02 +00:00
ncon.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
nflw.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
ninl.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
nld.pas * fixed web bug #4647 (untyped elements in array constructors) + test 2006-01-01 20:43:28 +00:00
nmat.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
nmem.pas * fixed tw4554: 2005-12-23 21:08:48 +00:00
nobj.pas * also allow overloading of function results with related interfaces 2006-01-02 18:58:41 +00:00
node.pas + mmx support revived, fixes bug #4106 2005-07-02 11:53:51 +00:00
nopt.pas
nset.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
nstate.pas
nutils.pas * fixed resetting of ansistrings 2005-12-20 21:22:06 +00:00
ogbase.pas
ogcoff.pas * fix stabs writing for win32 2005-10-19 13:05:20 +00:00
ogelf.pas * writesymbol for relocations in stabs 2005-10-12 05:57:30 +00:00
oglx.pas
ogmap.pas
optcse.pas
options.pas + -o now sets output path only if a path is explicitly specified 2005-11-08 20:25:04 +00:00
optunrol.pas
owar.pas
owbase.pas
parabase.pas * base compiler patches to improve C parameter passing compatibility on powerpc64/linux 2005-12-18 22:07:24 +00:00
paramgr.pas + 1st attempt to have explicit funcretloc for Amiga/m68k 2005-12-18 03:58:27 +00:00
parser.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
pass_1.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
pass_2.pas * remove check for expectloc<>location.loc, it doesn't work anymore for 2005-10-20 06:51:40 +00:00
pbase.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
pdecl.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
pdecobj.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
pdecsub.pas * don't report name differences after implicit renames 2005-12-21 11:04:42 +00:00
pdecvar.pas * fixed web bugs 4574 and 4575 2006-01-02 17:54:39 +00:00
pexports.pas * exports info handling refactored, -E will be passed to ld if necessary 2005-12-10 22:00:33 +00:00
pexpr.pas + support for "return x" as equivalent for "exit(x)" in macpas mode 2005-12-23 22:49:15 +00:00
pinline.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
pmodules.pas * generate _GLOBAL_OFFSET_TABLE_ variable on i386 if necessary 2006-01-02 18:29:43 +00:00
pp.lpi fixed compilation by lazarus 2005-07-03 21:09:07 +00:00
pp.pas * move all stabs ($ifdef gdb) code to dbgstabs 2005-10-02 11:17:05 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
procinfo.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
pstatmnt.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
psub.pas * fixed access to already freed memory location 2006-01-02 17:11:55 +00:00
psystem.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
ptconst.pas * make widestrings compatible with COM BSTR, the length is now the number 2005-10-18 09:45:13 +00:00
ptype.pas * fix parsing of typecasts in type declarations 2005-12-22 12:21:06 +00:00
raatt.pas * new assembler symbol type AT_LABEL needed for PowerPc64 target 2005-10-03 22:13:45 +00:00
rabase.pas * basic framework for integrated arm assembler 2005-09-07 21:34:25 +00:00
rasm.pas
rautils.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas
scandir.pas Various m68k fixes/additions: 2005-12-13 20:42:15 +00:00
scanner.pas * basic support for generic classes 2005-12-21 10:11:15 +00:00
script.pas Fixed Unix2Amiga path conversions for external asm script 2005-11-24 11:41:59 +00:00
switches.pas * $W switch sets the localswitch cs_generate_stackframes that can be 2005-10-19 05:50:26 +00:00
symbase.pas * move all stabs ($ifdef gdb) code to dbgstabs 2005-10-02 11:17:05 +00:00
symconst.pas * don't report name differences after implicit renames 2005-12-21 11:04:42 +00:00
symdef.pas * fixed compilation of macpas interface-only units 2006-01-02 20:55:10 +00:00
symnot.pas
symsym.pas * new categories for vs_*: vs_declared, vs_initialised, vs_read, 2005-12-10 16:51:26 +00:00
symtable.pas * don't report name differences after implicit renames 2005-12-21 11:04:42 +00:00
symtype.pas * fix enum support in vecn in symlists 2005-12-23 14:11:29 +00:00
symutil.pas * fix default parameter compare for widestring 2005-08-30 06:23:31 +00:00
systems.pas * cleaning up sets for exports behaviour 2005-10-19 19:06:45 +00:00
tgobj.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
tokens.pas + support for "return x" as equivalent for "exit(x)" in macpas mode 2005-12-23 22:49:15 +00:00
verbose.pas + -vb: writes compiler messages with full path instead of the file name only 2005-09-18 18:09:19 +00:00
version.pas * powerpc64 port from Thomas Schatzl 2005-09-25 17:19:44 +00:00
widestr.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +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