fpc/compiler
2006-10-04 18:15:49 +00:00
..
alpha Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
arm * several arm fixes 2006-09-27 21:05:05 +00:00
html
i386 * more mmx/sse register spilling fixes: 2006-09-12 11:07:45 +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 * movzx reference size fallback to byte for delphi mode 2006-10-02 17:33:52 +00:00
powerpc * sqr also uses single precision ops for single precision calculations 2006-10-04 15:56:22 +00:00
powerpc64 * use generic second_addboolean for short circuit and/or (since that code 2006-09-10 15:14:03 +00:00
ppcgen * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
sparc * used "gas" instead of "as" for Solaris (both sparc and x86) 2006-09-19 13:38:44 +00:00
systems * splitup dwarf2/dwarf3 2006-09-30 15:21:17 +00:00
utils Test 2006-10-03 16:35:41 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * handle . in a reference like + 2006-10-02 17:39:22 +00:00
x86_64 * fixed passing of structs on x86_64-linux 2006-09-23 09:05:21 +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 + support for ".reference" and ".no_dead_strip" darwin assembler directivs 2006-09-12 12:07:32 +00:00
aggas.pas * splitup dwarf2/dwarf3 2006-09-30 15:21:17 +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 * stabs don't write offset in n_value for non-local symbols that use 2006-10-01 12:25:45 +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 * several arm fixes 2006-09-27 21:05:05 +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 bitsizeof() function 2006-09-09 18:57:49 +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 + support for ".reference" and ".no_dead_strip" darwin assembler directivs 2006-09-12 12:07:32 +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 * adds additional "quote" checks to maybequoted function for various chars in names 2006-10-04 18:15:49 +00:00
dbgbase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
dbgdwarf.pas * dwarf fixes 2006-10-04 10:18:14 +00:00
dbgstabs.pas * prevent the DEBUGINFOTABLE from being dead stripped under darwin 2006-09-12 12:08:27 +00:00
defcmp.pas * openarray to openarray should still be equal for parameters 2006-09-30 10:21:18 +00:00
defutil.pas + first batch of varset support, as long as packset isn't changed, it doesn't change anything 2006-09-24 14:40:11 +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 * fixed wrong elsif 2006-09-17 11:38:31 +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 + first batch of varset support, as long as packset isn't changed, it doesn't change anything 2006-09-24 14:40:11 +00:00
globtype.pas * don't generate fwait by default anymore 2006-09-26 19:22:45 +00:00
htypechk.pas * with EXTDEBUG show non-hidden parameters 2006-09-26 20:06:35 +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 * movzx reference size fallback to byte for delphi mode 2006-10-02 17:33:52 +00:00
msgtxt.inc * movzx reference size fallback to byte for delphi mode 2006-10-02 17:33:52 +00:00
nadd.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
nbas.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
ncal.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
ncgadd.pas * also perform "SSA" for certain loads (currently derefn, righthand side of 2006-09-10 16:21:50 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas * several arm fixes 2006-09-27 21:05:05 +00:00
ncgcnv.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
ncgcon.pas * fixed merging of identical ansi/widestrings 2006-09-04 13:08:20 +00:00
ncgflw.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncginl.pas * also perform "SSA" for certain loads (currently derefn, righthand side of 2006-09-10 16:21:50 +00:00
ncgld.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
ncgmat.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
ncgmem.pas * only potentially change size of vecn results in case of packed arrays 2006-09-22 09:24:42 +00:00
ncgopt.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
ncgset.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgutil.pas * several arm fixes 2006-09-27 21:05:05 +00:00
ncnv.pas * process tasnode.call in foreach(static) (fixes tw7391 with regvars on ppc) 2006-10-04 12:00:09 +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 * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
nmat.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
nmem.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
nobj.pas * pass contextobjdef for visibility of methods. There are different 2006-08-07 21:12:38 +00:00
node.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
nopt.pas * string concat changed from function to procedure to 2006-10-02 20:00:06 +00:00
nset.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
nstate.pas
nutils.pas * process tasnode.call in foreach(static) (fixes tw7391 with regvars on ppc) 2006-10-04 12:00:09 +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 * string concat changed from function to procedure to 2006-10-02 20:00:06 +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 * storing stack passed parameters temp. helps all CPUs 2006-09-16 09:28:47 +00:00
parser.pas + first batch of varset support, as long as packset isn't changed, it doesn't change anything 2006-09-24 14:40:11 +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 * only compare non-hidden parameters when searching for an implementation. The location 2006-09-27 20:53:24 +00:00
pdecvar.pas * support indexed stored methods 2006-09-27 18:32:18 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas + support for bitsizeof() function 2006-09-09 18:57:49 +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 * require at least 2.0.2 2006-10-04 15:54:00 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fixed writing "packed" status of bitpacked records to ppu files. 2006-09-21 20:39:36 +00:00
procinfo.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
pstatmnt.pas * temp results of calls in "with" statements can be in regs 2006-09-19 09:23:57 +00:00
psub.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
psystem.pas * Real is now defined in the system unit being an unique type, fixes #7425 2006-09-17 08:58:20 +00:00
ptconst.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ptype.pas * fixed writing "packed" status of bitpacked records to ppu files. 2006-09-21 20:39:36 +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 * One more line to revert 2006-09-24 17:02:42 +00:00
scandir.pas * don't generate fwait by default anymore 2006-09-26 19:22:45 +00:00
scanner.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +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 * dwarf fixes 2006-10-04 10:18:14 +00:00
symdef.pas * mark hidden parameters with < > when printing parameter lists, only used 2006-09-26 19:47:43 +00:00
symnot.pas
symsym.pas * support indexed stored methods 2006-09-27 18:32:18 +00:00
symtable.pas * fixed writing "packed" status of bitpacked records to ppu files. 2006-09-21 20:39:36 +00:00
symtype.pas * dwarf fixes 2006-10-04 10:18:14 +00:00
symutil.pas
systems.pas * splitup dwarf2/dwarf3 2006-09-30 15:21:17 +00:00
tgobj.pas * more efficient temp allocation, in particular in case many small temps 2006-09-17 20:49:48 +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