fpc/compiler
florian d9d6ca15e1 * misplaced messages fixed
git-svn-id: trunk@4737 -
2006-09-27 11:59:46 +00:00
..
alpha
arm * stack page initialization disabled, not necessary according to Yury Sidorov 2006-09-02 20:43:59 +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
msg * misplaced messages fixed 2006-09-27 11:59:46 +00:00
powerpc * use generic second_addboolean for short circuit and/or (since that code 2006-09-10 15:14:03 +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 * used "gas" instead of "as" for Solaris (both sparc and x86) 2006-09-19 13:38:44 +00:00
utils * dump usefieldalignment for recorddefs 2006-09-24 18:49:12 +00:00
vis
x86 * don't generate fwait by default anymore 2006-09-26 19:22:45 +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 * fix NOP opcode 2006-09-26 18:27:18 +00:00
aopt.pas * fix findlohilabel 2006-04-20 13:59:14 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
browcol.pas
browlog.pas
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
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 * removed some unused and assigned-but-not-used variables 2006-09-24 17:48:52 +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
cutils.pas * more efficient temp allocation, in particular in case many small temps 2006-09-17 20:49:48 +00:00
dbgbase.pas
dbgdwarf.pas + Added dwarf .debug_line info 2006-09-10 17:59:18 +00:00
dbgstabs.pas * prevent the DEBUGINFOTABLE from being dead stripped under darwin 2006-09-12 12:08:27 +00:00
defcmp.pas * allow implicit conversions from/to packed char arrays under the 2006-08-20 15:14:07 +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
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 + 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
msgtxt.inc + 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
nadd.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
nbas.pas
ncal.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +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 * also perform "SSA" for certain loads (currently derefn, righthand side of 2006-09-10 16:21:50 +00:00
ncgcnv.pas
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 * also perform "SSA" for certain loads (currently derefn, righthand side of 2006-09-10 16:21:50 +00:00
ncgmat.pas
ncgmem.pas * only potentially change size of vecn results in case of packed arrays 2006-09-22 09:24:42 +00:00
ncgopt.pas
ncgset.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgutil.pas * keep track of a sym's initial location to use during the generation 2006-09-11 18:55:40 +00:00
ncnv.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
ncon.pas
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 * fix type determining of array of integer constructors 2006-09-26 20:11:15 +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 * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
nopt.pas
nset.pas
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
ogmap.pas
optcse.pas
options.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +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
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
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 * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +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 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
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
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
rabase.pas
rasm.pas
rautils.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
README
regvars.pas
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
symbase.pas
symconst.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +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 * keep track of a sym's initial location to use during the generation 2006-09-11 18:55:40 +00:00
symtable.pas * fixed writing "packed" status of bitpacked records to ppu files. 2006-09-21 20:39:36 +00:00
symtype.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
symutil.pas
systems.pas * used "gas" instead of "as" for Solaris (both sparc and x86) 2006-09-19 13:38:44 +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