fpc/compiler
Jonas Maebe a387be19a0 + a_call_ref for ppc32 and ppc64
git-svn-id: trunk@3392 -
2006-04-30 20:50:37 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm * cleanup and bug fixing of unaligned data handling code by Roozbeh GHolizadeh 2006-04-30 08:07:29 +00:00
html
i386 * pass shortstrings (and longstrings) by reference to C routines (this is 2006-04-27 13:02:36 +00:00
ia64
m68k * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
mips Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
msg + dispid parsing 2006-04-30 08:25:36 +00:00
powerpc + a_call_ref for ppc32 and ppc64 2006-04-30 20:50:37 +00:00
powerpc64 + a_call_ref for ppc32 and ppc64 2006-04-30 20:50:37 +00:00
ppcgen + a_call_ref for ppc32 and ppc64 2006-04-30 20:50:37 +00:00
sparc Merged revisions 3072-3073 via svnmerge from 2006-03-30 06:36:42 +00:00
systems * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
utils * use -P for cross compile 2006-04-23 18:53:29 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * fix typecast 2006-04-29 22:43:36 +00:00
x86_64 * pass records of all sizes by reference if they are const 2006-04-17 18:12:14 +00:00
aasmbase.pas * leb128 gets always a 64bit int 2006-03-27 13:42:06 +00:00
aasmdata.pas Merged revisions 3090-3113 via svnmerge from 2006-04-02 00:11:17 +00:00
aasmtai.pas * fixed pe flags x86_64 2006-04-01 20:09:13 +00:00
aggas.pas * initial gprof code for ppc64/linux 2006-04-18 10:21:58 +00:00
aopt.pas * fix findlohilabel 2006-04-20 13:59:14 +00:00
aoptbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptcs.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptda.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptobj.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
assemble.pas * don't write individual names of all assembler files when generating 2006-04-16 18:25:20 +00:00
browcol.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
browlog.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
bsdcompile
catch.pas
cclasses.pas * TFPHashList.Pack now also packs the items 2006-04-05 12:36:17 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cg64f32.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
cgbase.pas * return OS_NO from int_cgsize() for sizes which are not a power of 2 2006-04-06 22:09:25 +00:00
cgobj.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
cgutils.pas + support for unaligned function 2006-04-29 11:15:29 +00:00
charset.pas
cmsgs.pas
comphook.pas + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file 2006-04-09 11:54:09 +00:00
compiler.pas + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file 2006-04-09 11:54:09 +00:00
compinnr.inc + support for unaligned function 2006-04-29 11:15:29 +00:00
comprsrc.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas * don't put resstrs in multiple .o files. It is too dependent on the linker script 2006-03-31 19:44:33 +00:00
cstreams.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
cutils.pas Merged revisions 2791-2793,2798-2800,2806-2825,2829-2830,2833,2839,2898 via svnmerge from 2006-03-13 09:29:57 +00:00
dbgbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
dbgdwarf.pas * leb128 gets always a 64bit int 2006-03-27 13:42:06 +00:00
dbgstabs.pas * only write line number once 2006-04-19 13:31:17 +00:00
defcmp.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
defutil.pas + get_max_value in defutil 2006-03-28 11:49:16 +00:00
export.pas
finput.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
fmodule.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
fpccrc.pas
fpcdefs.inc * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
fppu.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
gendef.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
globals.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
globtype.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
htypechk.pas + support for unaligned as lvalue 2006-04-29 11:52:57 +00:00
impdef.pas
import.pas * remove obsolete generatesmartlib 2006-04-27 06:40:19 +00:00
link.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
make_old.cmd
Makefile * use -P for cross compile 2006-04-23 18:53:29 +00:00
Makefile.fpc Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc + dispid parsing 2006-04-30 08:25:36 +00:00
msgtxt.inc + dispid parsing 2006-04-30 08:25:36 +00:00
nadd.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
nbas.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncal.pas * support proc to procvar conversion for overloaded procdefs passed to parameters 2006-03-21 07:51:54 +00:00
ncgadd.pas * fixed coding style 2006-04-26 18:13:14 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas * optimized code generation for virtual method calls 2006-04-30 19:07:16 +00:00
ncgcnv.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
ncgcon.pas * fix alignment of tdoublearray by using a variant record 2006-03-29 06:40:47 +00:00
ncgflw.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
ncginl.pas + support for unaligned function 2006-04-29 11:15:29 +00:00
ncgld.pas * fixed copying of unaligned value parameters 2006-04-29 20:13:57 +00:00
ncgmat.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgmem.pas * access packed records with unaligned data accesses 2006-04-29 17:44:27 +00:00
ncgopt.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgset.pas * tcginnode now uses LOC_JUMP when it generates jumps, resulting in 2006-04-29 20:16:26 +00:00
ncgutil.pas * fixed copying of unaligned value parameters 2006-04-29 20:13:57 +00:00
ncnv.pas * patch from Jonas to pass interface result as parameter 2006-04-13 07:04:48 +00:00
ncon.pas * don't allow stringconst+integer 2006-03-27 07:22:02 +00:00
nflw.pas * rewrite of optimizer options 2006-03-13 09:05:50 +00:00
ninl.pas + support for unaligned function 2006-04-29 11:15:29 +00:00
nld.pas * don't allow stringconst+integer 2006-03-27 07:22:02 +00:00
nmat.pas * rewrite of optimizer options 2006-03-13 09:05:50 +00:00
nmem.pas * fixed web bug #4913 (don't allow indexing of strings/variants/pointers 2006-03-18 11:05:04 +00:00
nobj.pas Merged revisions 3090-3113 via svnmerge from 2006-04-02 00:11:17 +00:00
node.pas * moved type conversion of C varargs from tcallnode to 2006-03-17 22:26:48 +00:00
nopt.pas * rewrite of optimizer options 2006-03-13 09:05:50 +00:00
nset.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
nstate.pas
nutils.pas * fixed simplifying 2006-03-04 22:04:53 +00:00
ogbase.pas * align data, bss and text sections to 16 byte boundaries 2006-04-19 21:54:43 +00:00
ogcoff.pas * Fixed linking for arm-wince target. 2006-04-29 09:44:22 +00:00
ogelf.pas * fixed and simplified section handling now all sections are 2006-04-03 08:47:20 +00:00
oglx.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
ogmap.pas Merged revisions 2791-2793,2798-2800,2806-2825,2829-2830,2833,2839,2898 via svnmerge from 2006-03-13 09:29:57 +00:00
optcse.pas
options.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
optunrol.pas * aktcputype and aktoptimizecputype was missing in the previous optimization commits 2006-03-13 12:29:56 +00:00
owar.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
owbase.pas * enabled internal linker for winx64 2006-04-01 12:39:15 +00:00
parabase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * interfaces return values need to be passed in parameters 2006-04-12 10:26:10 +00:00
parser.pas Merged revisions 2827,2831,2837,2932-2980 via svnmerge from 2006-03-19 22:12:52 +00:00
pass_1.pas
pass_2.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pbase.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pdecl.pas * fixed several dispinterface parsing related stuff 2006-04-29 21:39:21 +00:00
pdecobj.pas + parsing of dispinterface properties 2006-04-30 14:29:16 +00:00
pdecsub.pas * fixed parameter order of self and result to be COM compatible 2006-04-30 20:00:45 +00:00
pdecvar.pas + parsing of dispinterface properties 2006-04-30 14:29:16 +00:00
pexports.pas
pexpr.pas + parsing of variant dispatching 2006-04-30 17:53:53 +00:00
pinline.pas * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
pmodules.pas * remove obsolete generatesmartlib 2006-04-27 06:40:19 +00:00
pp.lpi + added palmos support to makes files 2006-02-05 19:22:12 +00:00
pp.pas * compilation for arm target fixed 2006-02-02 17:26:18 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
procinfo.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pstatmnt.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
psub.pas * us cs_opt_stackframe 2006-04-23 20:53:45 +00:00
psystem.pas + parsing of variant dispatching 2006-04-30 17:53:53 +00:00
ptconst.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
ptype.pas * fixed several dispinterface parsing related stuff 2006-04-29 21:39:21 +00:00
raatt.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
rabase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rasm.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rautils.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
README
regvars.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rgbase.pas
rgobj.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
scandir.pas * give an error for {$calling } (i.e., when a procedure directive is 2006-04-12 07:58:25 +00:00
scanner.pas * support goto/label by default in tp/delphi/macpas modes (bug 4893) 2006-03-18 22:25:41 +00:00
script.pas
switches.pas * list supported optimization options in -i 2006-03-13 11:17:56 +00:00
symbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
symconst.pas * fixed parameter order of self and result to be COM compatible 2006-04-30 20:00:45 +00:00
symdef.pas + parsing of variant dispatching 2006-04-30 17:53:53 +00:00
symnot.pas
symsym.pas * fixed mm register parameters which were messed up by a previous commit 2006-04-02 19:15:38 +00:00
symtable.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
symtype.pas * use shortint for alignments 2006-03-20 08:29:13 +00:00
symutil.pas
systems.pas * default x86_64-win64 when compiled under windows 2006-04-23 19:06:03 +00:00
tgobj.pas * per-parameter alignment set in target specific paramanager now overrides default alignment of parameter locals 2006-04-18 14:32:42 +00:00
tokens.pas + parsing of dispinterface properties 2006-04-30 14:29:16 +00:00
verbose.pas + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file 2006-04-09 11:54:09 +00:00
version.pas
widestr.pas * donewidestring has var instead of out parameter 2006-02-12 15:02:46 +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