fpc/compiler
Jonas Maebe d1bc93c67a * one more subsetreg fix
git-svn-id: trunk@4344 -
2006-08-04 08:37:21 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm - removed unnecessary array 2006-07-18 20:45:41 +00:00
html
i386 * fixed regInInstruction to detect register usages in Ch_ALL 2006-07-17 13:54:49 +00:00
ia64
m68k * changed result type of dwarf_reg from byte to shortint to avoid 2006-07-14 17:25:16 +00:00
mips Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
msg + -gt, -gtt, -gttt and -gtttt switches to trash local variables with 2006-07-20 22:54:23 +00:00
powerpc + first somewhat-valid AmigaOS/PowerPC support (no linking yet) 2006-08-02 18:47:25 +00:00
powerpc64 * one more subsetreg fix 2006-08-04 08:37:21 +00:00
ppcgen * allocate dedicated register for a_call_ref() to avoid problems with R0-usage on ppc64. 2006-05-06 21:30:04 +00:00
sparc * fixed internalerrors due to no (dummy) MM reg allocator 2006-08-03 15:37:26 +00:00
systems + first somewhat-valid AmigaOS/PowerPC support (no linking yet) 2006-08-02 18:47:25 +00:00
utils * Linux case now default for solaris, OS X 2006-07-07 15:02:15 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * changed result type of dwarf_reg from byte to shortint to avoid 2006-07-14 17:25:16 +00:00
x86_64 * fix comisd 2006-06-23 21:41:19 +00:00
aasmbase.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +00:00
aasmdata.pas * properly copy tasmlabels when generating altsymbols 2006-05-31 11:49:37 +00:00
aasmtai.pas * tai_symbol no longer derives from tailineinfo, so line number stabs come after 2006-05-25 20:24:07 +00:00
aggas.pas fixed generation of dwarf lineinfo in win32 2006-07-13 23:53:53 +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 * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
browcol.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
browlog.pas
bsdcompile
catch.pas
cclasses.pas * FCachedStr added to TFPHashObject for easier debugging 2006-06-28 20:26:42 +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 * another shuffle fix 2006-06-13 07:54:35 +00:00
cgobj.pas * removed things which shouldn't have been committed yet 2006-08-01 20:44:43 +00:00
cgutils.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
charset.pas
cmsgs.pas
comphook.pas * support printing the full source file path also when -vr is used 2006-07-13 18:12:40 +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 * Internal implementations of get_frame, get_caller_frame and get_caller_addr. 2006-05-14 08:39:19 +00:00
comprsrc.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas * correct fix for resourcestrings 2006-06-29 21:08:46 +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 * CompareStr, needed for Sort routines 2006-06-27 19:26:28 +00:00
dbgbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
dbgdwarf.pas * fixed crash in dwarf generation when generating info for empty default parameter sets 2006-07-10 18:14:52 +00:00
dbgstabs.pas * check if we've to write the basedef for enums when writing debug info 2006-07-08 18:47:06 +00:00
defcmp.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
defutil.pas + is_automatable 2006-05-01 19:55:25 +00:00
export.pas * change edatalabel to string references. The edatalabel is not available anymore after a unit is compiled 2006-06-22 06:02:58 +00:00
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 + -gt, -gtt, -gttt and -gtttt switches to trash local variables with 2006-07-20 22:54:23 +00:00
globtype.pas * Link ordering working FreeBSD implementation 2006-06-19 14:17:45 +00:00
htypechk.pas * fixed wrong "assigned but not used" note for class and interface 2006-07-14 17:06:31 +00:00
impdef.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
import.pas * remove obsolete generatesmartlib 2006-04-27 06:40:19 +00:00
link.pas + fixed scripts to have proper deletedir commands 2006-07-02 10:40:10 +00:00
make_old.cmd
Makefile * use echoredir for creating revision.inc 2006-07-31 12:49:26 +00:00
Makefile.fpc * use echoredir for creating revision.inc 2006-07-31 12:49:26 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc + -gt, -gtt, -gttt and -gtttt switches to trash local variables with 2006-07-20 22:54:23 +00:00
msgtxt.inc + -gt, -gtt, -gttt and -gtttt switches to trash local variables with 2006-07-20 22:54:23 +00:00
nadd.pas * avoid unnecessary sign extensions for integer comparisons 2006-07-01 16:05:57 +00:00
nbas.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncal.pas * removed "Note: Local variable "X" is assigned but never used" when the variable is passed to procedure/function as OUT parameter. 2006-07-19 18:19:41 +00:00
ncgadd.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas * disabled a_call_ref for non-x86 (generates better code for ppc, 2006-08-03 15:46:48 +00:00
ncgcnv.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
ncgcon.pas * widestrings aren't ref. counted anymore on windows 2006-05-09 20:54:26 +00:00
ncgflw.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncginl.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
ncgld.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncgmat.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgmem.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncgopt.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgset.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgutil.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncnv.pas * as operator isn't allowed for non com interfaces 2006-05-23 18:52:56 +00:00
ncon.pas * don't allow stringconst+integer 2006-03-27 07:22:02 +00:00
nflw.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
ninl.pas * fixed bug #7195: use regular type conversions for the results of 2006-07-24 07:55:32 +00:00
nld.pas * never remove regvar-ability of parameters passed by reference 2006-05-17 13:38:02 +00:00
nmat.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
nmem.pas * fix IE when subscripting records part of another record regvar 2006-05-21 16:04:14 +00:00
nobj.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
node.pas * fixed warning 2006-07-14 19:37:35 +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 issue #6977 (add regvars occupied by the invisible high parameter 2006-06-21 18:24:01 +00:00
ogbase.pas * Internal linker now creates .reloc section for DLLs. 2006-07-01 21:45:54 +00:00
ogcoff.pas * Internal linker now creates .reloc section for DLLs. 2006-07-01 21:45:54 +00:00
ogelf.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +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 * do default replacements for -o, fixes #7198 2006-07-30 07:37:40 +00:00
optunrol.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
owar.pas * support static library (.a) linking 2006-06-28 20:26:53 +00:00
owbase.pas * support static library (.a) linking 2006-06-28 20:26:53 +00:00
parabase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * fixed and released optimization to prevent some superfluous 2006-07-14 17:55:45 +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 + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
pbase.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +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 + first somewhat-valid AmigaOS/PowerPC support (no linking yet) 2006-08-02 18:47:25 +00:00
pdecvar.pas * fixed web bug #6923 (old 5100): count references to private fields 2006-07-14 15:34:02 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +00:00
pinline.pas
pmodules.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
pp.lpi * locally changed pp.lpi reverted 2006-06-16 20:32:16 +00:00
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fixed support for macpas & and | operators: they only work on booleans 2006-05-30 13:02:36 +00:00
procinfo.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pstatmnt.pas + variants can be used as case expression 2006-05-14 18:29:49 +00:00
psub.pas * fixed register allocation of gen_load_para_value() and backwards 2006-07-25 13:54:48 +00:00
psystem.pas + parsing of variant dispatching 2006-04-30 17:53:53 +00:00
ptconst.pas * widestrings aren't ref. counted anymore on windows 2006-05-09 20:54:26 +00:00
ptype.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +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 * fixed empty superregister set detection in constructor 2006-08-03 15:15:23 +00:00
scandir.pas * made dir_warn code more clear, no implementation yet 2006-07-14 21:45:21 +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 + fixed scripts to have proper deletedir commands 2006-07-02 10:40:10 +00:00
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 Added ppo_implements, odt_interfacecom_property, and odt_interfacecom_function to support _IMPLEMENTS 2006-07-10 23:42:05 +00:00
symdef.pas * experimental patch to fix #7187 2006-07-23 08:46:37 +00:00
symnot.pas
symsym.pas * declared tlabelsym.mangledname as override 2006-07-14 17:33:29 +00:00
symtable.pas - removed some local variables and associated code not used 2006-07-14 18:48:26 +00:00
symtype.pas * use shortint for alignments 2006-03-20 08:29:13 +00:00
symutil.pas
systems.pas + tf_winlikewidestring 2006-05-08 18:20:26 +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 + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
version.pas * Revert version change 2006-05-30 18:36:32 +00:00
widestr.pas * fixed crashes in asciichar2unicode() and ascii2unicode() in case 2006-07-06 14:24:22 +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