fpc/compiler
2006-09-03 22:30:37 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm * stack page initialization disabled, not necessary according to Yury Sidorov 2006-09-02 20:43:59 +00:00
html
i386 * 64bit support for shrd 2006-09-03 08:56:10 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
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 * updates from Karl-Michael Schindler 2006-08-31 15:04:39 +00:00
powerpc + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
powerpc64 * support for subsets which are not a multiple of 8 bits 2006-08-19 11:11:37 +00:00
ppcgen * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
sparc * fixed internalerrors due to no (dummy) MM reg allocator 2006-08-03 15:37:26 +00:00
systems * refactor import library generation 2006-09-03 19:22:31 +00:00
utils macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * 64bit support for shrd 2006-09-03 08:56:10 +00:00
x86_64 * 64bit support for shrd 2006-09-03 08:56:10 +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 * symtablestack cleanup and rewrite 2006-02-05 22:24:18 +00:00
bsdcompile
catch.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cclasses.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cg64f32.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
cgbase.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
cgobj.pas * fixed a missed "(1 shl 32) - 1 = 0" problem for x86 2006-08-23 17:56:16 +00:00
cgutils.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
charset.pas
cmsgs.pas
comphook.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
compiler.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
compinnr.inc + support for bitpacked arrays: 2006-08-19 12:54:12 +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 + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
dbgbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
dbgdwarf.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
dbgstabs.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
defcmp.pas * allow implicit conversions from/to packed char arrays under the 2006-08-20 15:14:07 +00:00
defutil.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +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 * refactor import library generation 2006-09-03 19:22:31 +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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
fppu.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
gendef.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
globals.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
globtype.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
htypechk.pas * don't allow taking the address of packed record fields 2006-08-27 11:08:39 +00:00
impdef.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
import.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
link.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
make_old.cmd
Makefile + regenerated makefiles to support powerpc-amiga target 2006-08-06 12:28:28 +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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
msgidx.inc + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
msgtxt.inc + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
nadd.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +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 compilation on 64 bit CPUs 2006-08-20 09:25:37 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +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 + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ncgmat.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgmem.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +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 * correct handling of result register allocation of exception helpers 2006-08-31 14:53:20 +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 + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
nld.pas Changed implicit type conversion helper for interface assignments. This is needed for _IMPLEMENTS. Will be optimized to be more optimal for non-implements interfaces 2006-08-06 01:11:32 +00:00
nmat.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
nmem.pas * also use LOC_CSUBSETREF 2006-08-20 19:28:10 +00:00
nobj.pas * pass contextobjdef for visibility of methods. There are different 2006-08-07 21:12:38 +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 * refactor import library generation 2006-09-03 19:22:31 +00:00
ogcoff.pas * make rvasize the same as datasize 2006-09-03 20:41:02 +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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
pass_1.pas * fixed compilerwidestring concatenation 2005-12-04 18:29:07 +00:00
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 * fixed object constructor handling for 64 bit CPUs 2006-08-20 09:37:24 +00:00
pdecsub.pas * fixed object constructor handling for 64 bit CPUs 2006-08-20 09:37:24 +00:00
pdecvar.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
pinline.pas * pass context class to searchsym_in_class to fix the visibility 2006-08-07 19:10:11 +00:00
pmodules.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
pp.lpi * locally changed pp.lpi reverted 2006-06-16 20:32:16 +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 * refactor import library generation 2006-09-03 19:22:31 +00:00
procinfo.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pstatmnt.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
psub.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
psystem.pas * fixed object constructor handling for 64 bit CPUs 2006-08-20 09:37:24 +00:00
ptconst.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ptype.pas * no support yet for packed records which need to be initialized 2006-08-24 10:02:19 +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 + support for bitpacked arrays: 2006-08-19 12:54:12 +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 * remove extdebug register unused warning, it is obsolete with the ssa for registers 2006-09-03 08:30:05 +00:00
scandir.pas * use constant called C_alignment instead of -1 to denote C-style 2006-08-20 16:37:10 +00:00
scanner.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
script.pas - removed {$ifdef havelinuxrtl10} code 2006-08-04 12:29:34 +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 + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symdef.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symnot.pas
symsym.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symtable.pas - removed wrong databitsize assignment (which had no effect) 2006-08-27 11:30:27 +00:00
symtype.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
symutil.pas * fix default parameter compare for widestring 2005-08-30 06:23:31 +00:00
systems.pas * used gar instead of ar on solaris 2006-08-08 17:11:46 +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 + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
verbose.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +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