fpc/compiler
tom_at_work 93bb997d8f * ppc64/linux: enhanced varargs support (passes tprintf test now)
* ppc64/linux: some small tweak for small memory locations copy code

git-svn-id: trunk@1778 -
2005-11-17 21:35:01 +00:00
..
alpha * remove $Log 2005-06-07 09:47:55 +00:00
arm * ldf*/stf* can handle only offsets with max. +/- 1020, so generate never a pc relative symbol 2005-11-04 23:56:06 +00:00
html
i386 + check validity of -Oa parameter 2005-10-22 15:09:39 +00:00
ia64 * log and id tags removed 2005-05-21 09:42:41 +00:00
m68k * make m68k compile 2005-09-19 11:46:23 +00:00
mips *c <int64>:=-<longint> fixed (bug 4253) 2005-08-05 19:00:30 +00:00
msg * fix of buggy output for -? with path containing underscore 2005-11-16 19:00:21 +00:00
powerpc * removed "+0" offset generation in assembler writer 2005-11-10 15:11:06 +00:00
powerpc64 * ppc64/linux: enhanced varargs support (passes tprintf test now) 2005-11-17 21:35:01 +00:00
sparc * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
systems * fixed stupid typo in x86_64 pic code generation 2005-11-13 17:00:34 +00:00
utils * fixed rtl package building 2005-11-15 22:39:32 +00:00
vis * log and id tags removed 2005-05-21 09:42:41 +00:00
x86 * fixed rtl package building 2005-11-15 22:39:32 +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 * new assembler symbol type AT_LABEL needed for PowerPc64 target 2005-10-03 22:13:45 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * 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 * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
cgbase.pas - Powerpc compiler cycles again; during adding PowerPC64 code, the trefaddr enumeration for PPC was mixed up 2005-09-25 19:16:57 +00:00
cgobj.pas + implementation of lazy binding for linux 2005-11-14 22:28:12 +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 + -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
crc.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cresstr.pas * fixed rtl package building 2005-11-15 22:39:32 +00:00
cstreams.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * fixed writing of old style tp-objects 2005-10-31 12:27:23 +00:00
defcmp.pas * fix overload choosing if both normal proc and proc of object are available 2005-10-19 07:56:08 +00:00
defutil.pas + softfloat support for wince 2005-08-28 12:40:43 +00:00
dwarf.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
export.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
finput.pas + Fixed -o option 2005-11-05 23:26:23 +00:00
fmodule.pas * log and id tags removed 2005-05-21 09:42:41 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
globals.pas * setting the compile mode should set the preprocessor symbol directly 2005-10-18 06:57:39 +00:00
globtype.pas * $W switch sets the localswitch cs_generate_stackframes that can be 2005-10-19 05:50:26 +00:00
htypechk.pas * fix overload choosing if both normal proc and proc of object are available 2005-10-19 07:56:08 +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 * fpcmake.ini update which fixes glibc search path problems on PowerPC64 2005-10-20 16:56:40 +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 * Bugfix 2005-04-03 08:48:58 +00:00
msgidx.inc * regenerated msg include files 2005-11-04 21:35:39 +00:00
msgtxt.inc * regenerated msg include files 2005-11-04 21:35:39 +00:00
nadd.pas * check for allowed floatdef operations 2005-10-18 05:45:50 +00:00
nbas.pas * more informative printnode* output for temp-related nodes 2005-07-19 14:59:04 +00:00
ncal.pas * fix infinite loop in createinlineparas 2005-10-18 05:51:13 +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 * make widestrings compatible with COM BSTR, the length is now the number 2005-10-18 09:45:13 +00:00
ncgflw.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +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 * fixed code generation for calling threadvar relocation function 2005-10-26 19:42:12 +00:00
ncgmat.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +00:00
ncgmem.pas * move all stabs ($ifdef gdb) code to dbgstabs 2005-10-02 11:17:05 +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 + check vmt when loading one, fixes tw2318b 2005-11-05 16:29:13 +00:00
ncnv.pas * rtti parameter for dyn. array to variant conversion fixed 2005-10-23 19:41:16 +00:00
ncon.pas * string constants are now array of char until 2005-10-02 11:08:58 +00:00
nflw.pas * tp procvar support for ifn,whilerepeatn 2005-07-20 06:49:14 +00:00
ninl.pas * prevent warning for val with second parameter not being a longint 2005-10-18 08:26:29 +00:00
nld.pas * procedures containing nested procedures accessing their data can't be inlined, fixes ie in tcalfun8.pp 2005-10-03 20:25:28 +00:00
nmat.pas * fixed stupid copy/paste which turned softfloat always off 2005-08-28 21:08:23 +00:00
nmem.pas * implicitly convert constant string to stringdef if it is indexed 2005-10-18 10:52:43 +00:00
nobj.pas * fixed interface name mapping 2005-10-17 16:02:44 +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 * no range check for delphi mode with in operator 2005-10-11 06:46:56 +00:00
nstate.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nutils.pas * allow also procvar calls with a postfix operation after a calln 2005-10-18 12:32:09 +00:00
ogbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
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 * 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 + -o now sets output path only if a path is explicitly specified 2005-11-08 20:25:04 +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 * reset some variables which could be in an illegal state after an error, this is mainly important for the ide 2005-11-12 11:14:50 +00:00
pass_1.pas * log and id tags removed 2005-05-21 09:42:41 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecl.pas * move all stabs ($ifdef gdb) code to dbgstabs 2005-10-02 11:17:05 +00:00
pdecobj.pas + basic dispinterface parsing stuff 2005-10-17 20:28:50 +00:00
pdecsub.pas * store hidden symbols correctly in ppu 2005-11-15 08:35:01 +00:00
pdecvar.pas * fix range check error 2005-10-17 08:03:08 +00:00
pexports.pas * from Yury Sidorov: 2005-07-09 09:31:57 +00:00
pexpr.pas * generate implicit 0+<x> for +<x> expressions 2005-10-21 07:46:14 +00:00
pinline.pas + Mac Object Pascal support 2005-06-12 14:00:27 +00:00
pmodules.pas * stack related things (sizes, calculations, etc.) are now 64 bit on 64 bit platforms 2005-11-10 17:06:25 +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 * 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 * aktoutputformat removed, add new paraXX vars for target 2005-09-25 21:17:37 +00:00
procinfo.pas * support multiple asmlabel types, renamed getlabel to 2005-09-18 21:16:10 +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 * when creating pic code, every procedure must be declared being global 2005-11-13 18:08:49 +00:00
psystem.pas + slice implemented 2005-10-15 16:48:27 +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 boolean range parsing false..true 2005-11-08 09:11:39 +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 * log and id tags removed 2005-05-21 09:42:41 +00:00
rautils.pas * more flexibel support for typecasting to different sizes 2005-10-20 11:13:49 +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 + $PIC module switch directive 2005-11-13 21:21:15 +00:00
scanner.pas * setting the compile mode should set the preprocessor symbol directly 2005-10-18 06:57:39 +00:00
script.pas * log and id tags removed 2005-05-21 09:42:41 +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 + proper init rtti for proc. vars 2005-10-18 20:05:56 +00:00
symdef.pas bugfix, inherited reset was not called 2005-11-12 00:37:45 +00:00
symnot.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symsym.pas * fix overload choosing if both normal proc and proc of object are available 2005-10-19 07:56:08 +00:00
symtable.pas * store hidden symbols correctly in ppu 2005-11-15 08:35:01 +00:00
symtype.pas * move stab number reset to dbgstabs 2005-10-17 15:02:15 +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 + strict protected and strict private support 2005-06-28 19:23:39 +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 * 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