fpc/compiler
florian 609f35b34c * fixed missing offset assignment
git-svn-id: trunk@984 -
2005-08-30 08:59:23 +00:00
..
alpha * remove $Log 2005-06-07 09:47:55 +00:00
arm * fixed missing offset assignment 2005-08-30 08:59:23 +00:00
html
i386 + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
ia64 * log and id tags removed 2005-05-21 09:42:41 +00:00
m68k *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
mips *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
msg * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
powerpc * fixed compilation after fpc_resource changes 2005-08-29 13:03:58 +00:00
sparc * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
systems * support of apptype native for windows after a suggestion of Brian Bi 2005-08-29 19:03:12 +00:00
utils * reading of ppus with inlining info fixed 2005-08-28 20:21:22 +00:00
vis * log and id tags removed 2005-05-21 09:42:41 +00:00
x86 + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
x86_64 * updated to nasm 0.98.39 and insns.dat Rev. 1.46 2005-08-09 20:15:58 +00:00
aasmbase.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
aasmtai.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
aggas.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
aopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptcs.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptda.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
assemble.pas * fix overflow in the asmlist array 2005-08-18 05:28:16 +00:00
browcol.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
browlog.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
bsdcompile
catch.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cclasses.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
cg64f32.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cgbase.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
cgobj.pas * Remove ifdef 1_0 2005-07-23 08:37:26 +00:00
cgutils.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
charset.pas * fixed crash with empty codepage 2005-06-07 12:52:01 +00:00
cmsgs.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
comphook.pas * fixed compilation with -dUSE_SYSUTILS 2005-06-24 18:34:14 +00:00
compiler.pas * compiler part of first gba port 2005-08-24 18:47:08 +00:00
compinnr.inc * remove $Log 2005-06-07 09:47:55 +00:00
comprsrc.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
COPYING + Added license to this library 2004-11-29 19:16:43 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cresstr.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
cstreams.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cutils.pas * Remove ifdef 1_0 2005-07-23 08:37:26 +00:00
defcmp.pas * overload choosing for ansistring -> short/wide 2005-08-30 06:55:10 +00:00
defutil.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
dwarf.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
export.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
finput.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
fmodule.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
fpcdefs.inc + softfloat support for wince 2005-08-28 12:40:43 +00:00
fppu.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
gdb.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
gendef.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
globals.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
globtype.pas * support of apptype native for windows after a suggestion of Brian Bi 2005-08-29 19:03:12 +00:00
htypechk.pas * allow deref of loop variable 2005-08-30 05:51:39 +00:00
impdef.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
import.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
link.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
make_old.cmd
Makefile * Makefiles regenerated to propagate -Ur change of fpcmake 2005-08-10 21:55:57 +00:00
Makefile.fpc * create dirs before compiling msg2inc 2005-05-18 20:41:14 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake * Bugfix 2005-04-03 08:48:58 +00:00
msgidx.inc * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
msgtxt.inc + softfloat support for wince 2005-08-28 12:40:43 +00:00
nadd.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
nbas.pas * more informative printnode* output for temp-related nodes 2005-07-19 14:59:04 +00:00
ncal.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
ncgadd.pas + mmx support revived, fixes bug #4106 2005-07-02 11:53:51 +00:00
ncgbas.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
ncgcal.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
ncgcnv.pas *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
ncgcon.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
ncgflw.pas * fixed some small problems in loop unrolling 2005-06-19 21:00:27 +00:00
ncginl.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncgld.pas * Proof of concept: Support threadvars using segment registers. 2005-07-24 21:06:23 +00:00
ncgmat.pas *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
ncgmem.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
ncgopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgset.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgutil.pas * fixed tests/webtbs/uw3969 compilation with -Or for ppc (removed 2005-08-23 06:39:31 +00:00
ncnv.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
ncon.pas - removed "INT64FUNCRESOK" define (no longer defined and already fixed, 2005-08-21 17:08:16 +00:00
nflw.pas * tp procvar support for ifn,whilerepeatn 2005-07-20 06:49:14 +00:00
ninl.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
nld.pas * fixed creating shared libraries under Darwin/Mac OS X 2005-07-22 10:09:52 +00:00
nmat.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
nmem.pas * allow widechar for indexing arrays, fixes 4115 2005-06-25 21:06:53 +00:00
nobj.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
node.pas + mmx support revived, fixes bug #4106 2005-07-02 11:53:51 +00:00
nopt.pas * node optimizer branch merged 2005-06-19 17:42:10 +00:00
nset.pas * node optimizer branch merged 2005-06-19 17:42:10 +00:00
nstate.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nutils.pas * better error recovering 2005-06-25 09:08:19 +00:00
ogbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogcoff.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
ogelf.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
oglx.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogmap.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
optcse.pas * fixed some small problems in loop unrolling 2005-06-19 21:00:27 +00:00
options.pas * support of apptype native for windows after a suggestion of Brian Bi 2005-08-29 19:03:12 +00:00
optunrol.pas * fixed some small problems in loop unrolling 2005-06-19 21:00:27 +00:00
owar.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
owbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
parabase.pas * fix range error in paracompare 2005-06-30 07:34:17 +00:00
paramgr.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
parser.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
pass_1.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pass_2.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecl.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
pdecobj.pas * fixed support for anonymous class/object definitions in macpas mode 2005-07-26 10:11:39 +00:00
pdecsub.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
pdecvar.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
pexports.pas * from Yury Sidorov: 2005-07-09 09:31:57 +00:00
pexpr.pas * support for widestrings in tconstsym 2005-07-18 12:54:15 +00:00
pinline.pas + Mac Object Pascal support 2005-06-12 14:00:27 +00:00
pmodules.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
pp.lpi fixed compilation by lazarus 2005-07-03 21:09:07 +00:00
pp.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr * remove $Log 2005-06-07 09:47:55 +00:00
ppheap.pas + Removed all compatibility defines from compiler 2005-06-09 21:14:22 +00:00
ppu.pas + Implemented resources for ELF 2005-08-28 09:35:35 +00:00
procinfo.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pstatmnt.pas * exception parser checks now if the used id for the handler is really ON, fixes webbug 4256 2005-08-05 19:44:10 +00:00
psub.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
psystem.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
ptconst.pas * fix array of pchar after last revision 2005-08-22 21:37:59 +00:00
ptype.pas * Proof of concept: Support threadvars using segment registers. 2005-07-24 21:06:23 +00:00
raatt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rabase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rasm.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rautils.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
README
regvars.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rgbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
scandir.pas * support of apptype native for windows after a suggestion of Brian Bi 2005-08-29 19:03:12 +00:00
scanner.pas + compile time expression type checking 2005-08-22 19:09:41 +00:00
script.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
switches.pas + $A similiar to $align on/off added 2005-07-01 18:49:55 +00:00
symbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symconst.pas * inline and compilerproc are now procoptions instead of proccall types 2005-07-18 15:27:14 +00:00
symdef.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
symnot.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symsym.pas * put typedconsts in own asmlist to prevent mixing 2005-08-17 08:42:52 +00:00
symtable.pas + compile time variables can be given on the command line 2005-08-22 19:34:54 +00:00
symtype.pas * support sl_absolutetype in deref 2005-07-18 13:12:08 +00:00
symutil.pas * fix default parameter compare for widestring 2005-08-30 06:23:31 +00:00
systems.pas * support of apptype native for windows after a suggestion of Brian Bi 2005-08-29 19:03:12 +00:00
tgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
tokens.pas + strict protected and strict private support 2005-06-28 19:23:39 +00:00
verbose.pas * Remove ifdef 1_0 2005-07-23 08:37:26 +00:00
version.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
widestr.pas * some warning about uninitialized vars fixed by using out instead of var 2005-05-29 15:18:30 +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